bugAVR Downloader/UploaDEr - Bugs: bug #22535, eeprom writing problems with...

 
 

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

bug #22535: eeprom writing problems with atmega128

Submitted by:  None
Submitted on:  Mon 10 Mar 2008 04:51:38 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: Tobias Pflug
Originator Email: -unavailable-Open/Closed: Closed
Release: NoneProgrammer hardware: 
Device type: 

Tue 11 Mar 2008 07:58:47 AM UTC, comment #2:

All fine, erasing the device with the EESAVE fuse clear
solved the originator's problem.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Mon 10 Mar 2008 05:06:05 PM UTC, comment #1:

Is this on a device where the EEPROM has been erased right
before trying to program it?

When programmin in page mode (which is what the -U option does
on some programmer types), EEPROM cells are handled like flash
ROM cells, i. e. they can only be programmed from bit `1' to
`0', and cell erase cycles is implied. In contrast, terminal
mode uses one-byte-at-a-time EEPROM programming, which includes
an auto-erase cycle.

So this is essentially an AVR feature than, rather than a bug.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Mon 10 Mar 2008 04:51:38 PM UTC, original submission:

I am having problems writing data to the eeprom.
Attempting to write any ihex/bin/srec file to my
atmega128 will always lead to a verification error
at byte 0x01:

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0001
0x01 != 0x00
avrdude: verification error; content mismatch

However : Writing data to the eeprom from within
the terminal mode works just fine.

Please let me know what other information I can provide
that might help. I really want/need to fix this.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by None (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):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 Mar 2008 07:58:47 AM UTCjoerg_wunschStatusNeed Info=>Invalid
      Open/ClosedOpen=>Closed
    Mon 10 Mar 2008 05:06:05 PM UTCjoerg_wunschStatusNone=>Need Info
      Assigned toNone=>joerg_wunsch

    Back to the top


    Powered by Savane 3.1-cleanup1