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

Submitted by:  Homo <apzax>
Submitted on:  Fri 05 Dec 2014 11:36:58 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: apzax
Open/Closed: OpenRelease: 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

        1. 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>

 

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
  • -unavailable- added by apzax (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 05 Dec 2014 11:36:59 AM UTCapzaxAttached File-=>Added attiny40-test.hex, #32598

    Back to the top


    Powered by Savane 3.1-cleanup1