bugAVR Downloader/UploaDEr - Bugs: bug #26345, Feature Request: -S and -Z options...

 
 

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

bug #26345: Feature Request: -S and -Z options from STK500.EXE

Submitter:  None
Submitted:  Sun 26 Apr 2009 03:31:39 AM UTC
   
 
Category:  None Severity:  1 - Wish
Priority:  3 - Low Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  RE
Originator Email:  -email is unavailable- Open/Closed:  Open
Release:  None Programmer hardware: 
Device type: 

Sun 26 Apr 2009 07:23:41 PM UTC, comment #1: 

I'm not very convinced about the usefulness of such an option.

For one, my guess is that this option in stk500.exe simply
predates the days of the EESAVE fuse, where each chip erase
involuntarily erased the EEPROM as well.

Second, why stop at a single byte?  What if someone wants to
read two bytes, or four bytes, or two times two bytes?  Or,
if someone wants to read the oscillator calibration fuse,
and store it automagically in EEPROM?

The same issue came already up with bug #17487, about how
to handle the oscillator calibration value.

So what I think is needed here would be a fairly generic
scheme "copy this many bytes from this memory space to that
many bytes of that memory space", where each option invokes
a new copy operation.  Unfortunately, this is going to be
a major effort which is beyond my own available capacity.
If someone wants to implement a complete functionality as
outlined here, please speak up on the avrdude-dev mailing
list, file a RFC for the implementation, and then start
implementing it.

Joerg Wunsch <joerg_wunsch>
Group administrator
Sun 26 Apr 2009 03:31:39 AM UTC, original submission:  


The STK500 programmer has two useful command line arguments for saving data from the EEPROM during programming before the chip erase.

From the program's help output:


-Z [address]  Loads a value from an EEPROM location prior to chip erase which then can be programmed into FLASH or EEPROM using the S option. Address is a hex value. See appnote AVR053 for more information.

Anonymous

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-07-01 joerg_wunsch Priority5 - Normal 3 - Low
    2009-04-26 joerg_wunsch Severity3 - Normal 1 - Wish

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code