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 authentification level.

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

Submitted by:  None
Submitted on:  Sun 26 Apr 2009 03:31:39 AM UTC  
 
Category: NoneSeverity: 1 - Wish
Priority: 3 - LowItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: RE
Originator Email: -unavailable-Open/Closed: Open

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>
Project 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

 

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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 01 Jul 2009 04:01:34 PM UTCjoerg_wunschPriority5 - Normal=>3 - Low
    Sun 26 Apr 2009 07:23:41 PM UTCjoerg_wunschSeverity3 - Normal=>1 - Wish

    Back to the top


    Powered by Savane 3.1-cleanup