[bug #54603] Error in `avrdude': corrupted size vs. prev_size

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[bug #54603] Error in `avrdude': corrupted size vs. prev_size

Joerg Wunsch-6
URL:
  <http://savannah.nongnu.org/bugs/?54603>

                 Summary: Error in `avrdude': corrupted size vs. prev_size
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Fri 31 Aug 2018 12:33:21 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Max
        Originator Email: [hidden email]
             Open/Closed: Open
                 Release: 6.3
         Discussion Lock: Any
     Programmer hardware: USBasp
             Device type: t10

    _______________________________________________________

Details:


After programming from Pi3 via USBasp to an ATTiny10 with avrdude6.3, this
error occurs:

*** Error in `avrdude': corrupted size vs. prev_size: 0x00dbc688 ***
Aborted

Tried the avrdude package from Pi, and also make/compile/install the
avrdude6.3 latest sources. Same issue.


Full details:


pi@raspberrypi:~ $ cat /proc/meminfo|grep Mem
MemTotal:         766744 kB
MemFree:          670376 kB
MemAvailable:     677816 kB
pi@raspberrypi:~ $ tail /boot/config.txt -n1
gpu_mem=256
pi@raspberrypi:~ $ sudo avrdude -p t10 -c usbasp -v -v -v -v -F

avrdude: Version 6.3, compiled on Aug 31 2018 at 11:58:40
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/usr/local/etc/avrdude.conf"
         User configuration file is "/root/.avrduderc"
         User configuration file does not exist or is not a regular file,
skipping

         Using Port                    : usb
         Using Programmer              : usbasp
avrdude: usbasp_open("usb")
avrdude: seen device from vendor ->www.fischl.de<-
avrdude: seen product ->USBasp<-
         AVR Part                      : ATtiny10
         Chip Erase delay              : 0 us
         PAGEL                         : P00
         BS2                           : P00
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 0
         StabDelay                     : 0
         CmdexeDelay                   : 0
         SyncLoops                     : 0
         ByteDelay                     : 0
         PollIndex                     : 0
         PollValue                     : 0x00
         Memory Detail                 :

                                  Block Poll               Page              
       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           signature      0     0     0    0 no          3   16      0     0  
  0 0x00 0x00
                                  Block Poll               Page              
       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           fuse           0     0     4    0 no          1   16      0     0  
  0 0x00 0x00
                                  Block Poll               Page              
       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           calibration    0     0     0    0 no          1   16      0     0  
  0 0x00 0x00
                                  Block Poll               Page              
       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           lockbits       0     0     0    0 no          1   16      0     0  
  0 0x00 0x00
                                  Block Poll               Page              
       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW
MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ -----
----- ---------
           flash          0     0   128    0 no       1024   16      0     0  
  0 0x00 0x00

         Programmer Type : usbasp
         Description     : USBasp, http://www.fischl.de/usbasp/

avrdude: usbasp_initialize()
avrdude: usbasp_transmit("USBASP_FUNC_GETCAPABILITIES", 0x00, 0x00, 0x00,
0x00)
         <= [01] [00] [00] [00]
avrdude: usbasp_transmit("USBASP_FUNC_TPI_CONNECT", 0x01, 0x00, 0x00, 0x00)
avrdude: usbasp_tpi_program_enable()
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWWRITE", 0xc2, 0x00, 0x00, 0x00)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWWRITE", 0x06, 0x00, 0x00, 0x00)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWWRITE", 0xe0, 0x00, 0x00, 0x00)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWWRITE", 0xff, 0x00, 0x00, 0x00)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWWRITE", 0x88, 0x00, 0x00, 0x00)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWWRITE", 0xd8, 0x00, 0x00, 0x00)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWWRITE", 0xcd, 0x00, 0x00, 0x00)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWWRITE", 0x45, 0x00, 0x00, 0x00)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWWRITE", 0xab, 0x00, 0x00, 0x00)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWWRITE", 0x89, 0x00, 0x00, 0x00)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWWRITE", 0x12, 0x00, 0x00, 0x00)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWWRITE", 0x8f, 0x00, 0x00, 0x00)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWREAD", 0x00, 0x00, 0x00, 0x00)
         <= [80]
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWWRITE", 0x80, 0x00, 0x00, 0x00)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_RAWREAD", 0x00, 0x00, 0x00, 0x00)
         <= [02]
avrdude: AVR device initialized and ready to accept instructions

Reading |                                                    | 0%
0.00savrdude: usbasp_tpi_paged_load("signature", 0x0, 16)
avrdude: usbasp_transmit("USBASP_FUNC_TPI_READBLOCK", 0xc0, 0x3f, 0x00, 0x00)
         <= [1e] [90] [03] [ff] [ff] [ff] [37] [58] [32] [39] [37] [31] [02]
[ff] [4f] [11]
Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9003 (probably t10)
avrdude: usbasp_close()
avrdude: usbasp_transmit("USBASP_FUNC_TPI_DISCONNECT", 0x00, 0x00, 0x00,
0x00)
*** Error in `avrdude': corrupted size vs. prev_size: 0x00dbc688 ***
Aborted
pi@raspberrypi:~ $




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?54603>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev