Patches item #2842298, was opened at 2009-08-21 15:49
Message generated for change (Comment added) made by joerg_wunsch
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=425409&aid=2842298&group_id=39505

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: Peter LaDow (suudy)
>Assigned to: Joerg Wunsch (joerg_wunsch)
Summary: Support for fuse and lockbit programming from ELF

Initial Comment:
Attached is a patch (against the head) that supports programming the fuses and 
lock bits from the .fuses and .lock sections in the ELF file.

----------------------------------------------------------------------

>Comment By: Joerg Wunsch (joerg_wunsch)
Date: 2012-11-05 08:15

Message:
Sorry, as already mentioned before, all that ELF file uploading is
deprecated
in AVaRICE, as AVRDUDE covers the same and much more.  Regarding ELF
files,
it requires a new release of AVRDUDE in order to cover ELF files as well,
but I
don't want to maintain the same functionality twice.

----------------------------------------------------------------------

Comment By: Peter LaDow (suudy)
Date: 2009-08-21 16:34

Message:
The bulk of the changes are in devdescr.cc where I added the size of the
.fuses and .lock pages.  I used the same code that is used to write the
flash and eeprom to write the fuses and lockbits, but just added support
for the two additional sections.

I updated the code for both the mkI and mkII (jtagprog.cc and
jtag2prog.cc).  I only have an mkII so I can't confirm functionality on
other devices, but based upon my understanding of the code it should work.

However, I have only been able to test it out using an ATmega644 that I
have.  I've verified that the fuses and lockbits are set appropriately
using this method on the ATmega644.  For the remainder of the parts I used
the header files in avr-libc to determine the size of the fuses.  For all
the lockbits I assumed a single byte.  If this isn't correct please let me
know.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=425409&aid=2842298&group_id=39505

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
avarice-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avarice-user

Reply via email to