bugAVR Downloader/UploaDEr - Bugs: bug #43758, avrdude 6.1 does not program...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #43758: avrdude 6.1 does not program Attiny40

Submitter:  Homo <apzax>
Submitted:  Fri 05 Dec 2014 11:36:58 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  apzax
Open/Closed:  Open Release:  None
Programmer hardware:  Device type: 

Fri 05 Dec 2014 11:36:58 AM UTC, original submission:  

When I program Attiny40, I get a verification error

C:avrdude>avrdude.exe -c serbb_prog -P com2 -p t40 -U flash:w:D:developattiny40-testDebugattiny40-test.hex:a

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.08s

avrdude.exe: Device signature = 0x1e920e
avrdude.exe: NOTE: "flash" memory has been specified, an erase cycle will be performed
             To disable this feature, specify the -D option.
avrdude.exe: erasing chip
avrdude.exe: reading input file "D:developattiny40-testDebugattiny40-test.hex"
avrdude.exe: input file D:developattiny40-testDebugattiny40-test.hex auto detected as Intel Hex
avrdude.exe: writing flash (70 bytes):

Writing | ################################################## | 100% 1.24s

avrdude.exe: 70 bytes of flash written
avrdude.exe: verifying flash memory against D:developattiny40-testDebugattiny40-test.hex:
avrdude.exe: load data flash data from input file D:developattiny40-testDebugattiny40-test.hex:
avrdude.exe: input file D:developattiny40-testDebugattiny40-test.hex auto detected as Intel Hex
avrdude.exe: input file D:developattiny40-testDebugattiny40-test.hex contains 70 bytes
avrdude.exe: reading on-chip flash data:

Reading | ################################################## | 100% 0.93s

avrdude.exe: verifying ...
avrdude.exe: verification error, first mismatch at byte 0x0040
             0xff != 0xfc
avrdude.exe: verification error; content mismatch

avrdude.exe done.  Thank you.



Flash dump differs from the hex file:

C:avrdude>avrdude.exe -c serbb_prog -P com2 -p t40 -t

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.08s

avrdude.exe: Device signature = 0x1e920e
avrdude> dump flash 0x0 0x50

>>> dump flash 0x0 0x50

0000  11 c0 18 c0 17 c0 16 c0  15 c0 14 c0 13 c0 12 c0  |................|
0010  11 c0 10 c0 0f c0 0e c0  0d c0 0c c0 0b c0 0a c0  |........ . . . .|
0020  09 c0 08 c0 11 27 1f bf  cf e3 d1 e0 de bf cd bf  | ....'..........|
0030  02 d0 07 c0 e5 df 28 9a  51 e0 46 b1 45 27 46 b9  |......(.Q.F.E'F.|
0040  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|

avrdude> quit

>>> quit


avrdude.exe done.  Thank you.



--
Best regards

Homo <apzax>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #32598:  attiny40-test.hex added by apzax (218B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by apzax (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-12-05 apzax Attached File- Added attiny40-test.hex, #32598

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code