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

View: New views
3 Messages — Rating Filter:   Alert me  

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

by anonymous-98 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


URL:
  <http://savannah.nongnu.org/bugs/?26345>

                 Summary: Feature Request: -S and -Z options from STK500.EXE
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Sun 26 Apr 2009 03:31:39 AM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: RE
        Originator Email: recycle7777@...
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:


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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?26345>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
avrdude-dev mailing list
avrdude-dev@...
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

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

by anonymous-98 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Update of bug #26345 (project avrdude):

                Severity:              3 - Normal => 1 - Wish              

    _______________________________________________________

Follow-up 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.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?26345>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
avrdude-dev mailing list
avrdude-dev@...
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

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

by anonymous-98 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Update of bug #26345 (project avrdude):

                Priority:              5 - Normal => 3 - Low                


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?26345>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
avrdude-dev mailing list
avrdude-dev@...
http://lists.nongnu.org/mailman/listinfo/avrdude-dev