avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] Adding ELF file loader


From: Joerg Wunsch
Subject: Re: [avrdude-dev] Adding ELF file loader
Date: Tue, 11 Dec 2018 17:47:31 +0100
User-agent: K-9 Mail for Android

Well, ELF files have been supported for years now ...
Only thing, you need one -U option for each memory section to apply. Changing 
this would require a major architectural reorg to the code.

Am 11. Dezember 2018 15:54:29 MEZ schrieb Henrik Haftmann <address@hidden>:
>Hello,
>once again I ask for ELF file support, for the following reasons:
>
>* Better integration into avr-gcc development workflow, omitting the 
>(possibly error-prone) avr-objcopy step
>* Integration of EEPROM, device type and fuses into ELF file is a 
>catch-all for /all/ information
>* No distinct EEPROM file necessary
>* Less command-line length (no fuses and device type necessary)
>* Less file size if linked with -s switch (or avr-strip application)
>for 
>distribution of prebuilt firmware (ELF vs. HEX)
>
>ELF files can be safely auto-detected.
>
>An additional switch would be required whether to set the EEPROM,
>fuses, 
>and lock bits out of the ELF file or not. Default to "Ask when
>different 
>to the bits in the device" may be helpful.
>Moreover, writing EEPROM should depend on the current and inside-file 
>EESAVE fuse setting by default in a most acceptable behaviour.
>
>Possible source code (at no license, i.e. public domain) is here:
>http://www.tu-chemnitz.de/~heha/hs/avrpp.zip/src/loadelf.cpp?auto=CPP
>
>(store_buffer() is external that takes an address and a data byte)
>
>Entire project (= a parallel programmer):
>http://www.tu-chemnitz.de/~heha/hs/avrpp.zip/

-- 
Joerg Wunsch



reply via email to

[Prev in Thread] Current Thread [Next in Thread]