[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] [task #5093] Add support for reading ELF files.
From: |
Colin O'Flynn |
Subject: |
Re: [avrdude-dev] [task #5093] Add support for reading ELF files. |
Date: |
Tue, 08 May 2007 13:49:00 -0300 |
User-agent: |
KMail/1.8.2 |
Hello,
For the namespace vs. offset:
Are you allowed to use both? aka can I pull the "magic offset" from some known
non-changing section?
The code would then do this:
--Look for section .eeprom
--Get address of .eeprom starting
--Check rest of ELF file for anything else that fits in the same address space
--Use those sections too
Which could make just one ".fuse" memory section that contains the three
bytes. Or it could possible be renamed something more general purpose, such
as ".hardware" or whatnot. Then we could fit the processor type, signature
bytes, etc all in there.
Of course this would *not* work with HEX files or whatnot. So maybe it would
just be taking the worst of both approaches?
> Do they need it? Don't they simply want to program *all* fuse bytes?
You absolutely *must* be able to program a single fuse byte IMO. If a new user
needs to specify all three fuse bytes, they might screw up some of the others
or just put in 0xff to make the toolchain happy.
That way you just change what you need...
I also plan on the "magic" mode of avrdude having it see if the fuses need to
be changed, and only changing them if they differ. So if the user can say
they don't care about a certain fuse that's even easier.
Regards,
-Colin
- Re: [avrdude-dev] [task #5093] Add support for reading ELF files., (continued)
- Re: [avrdude-dev] [task #5093] Add support for reading ELF files., Joerg Wunsch, 2007/05/07
- RE: [avrdude-dev] [task #5093] Add support for reading ELF files., Eric Weddington, 2007/05/07
- Re: [avrdude-dev] [task #5093] Add support for reading ELF files., Colin O'Flynn, 2007/05/08
- Re: [avrdude-dev] [task #5093] Add support for reading ELF files., Joerg Wunsch, 2007/05/08
- Re: [avrdude-dev] [task #5093] Add support for reading ELF files., Joerg Wunsch, 2007/05/08
- RE: [avrdude-dev] [task #5093] Add support for reading ELF files., Eric Weddington, 2007/05/08
- Re: [avrdude-dev] [task #5093] Add support for reading ELF files., Joerg Wunsch, 2007/05/08
- RE: [avrdude-dev] [task #5093] Add support for reading ELF files., Eric Weddington, 2007/05/08
- Re: [avrdude-dev] [task #5093] Add support for reading ELF files., Joerg Wunsch, 2007/05/08
- RE: [avrdude-dev] [task #5093] Add support for reading ELF files., Eric Weddington, 2007/05/08
- Re: [avrdude-dev] [task #5093] Add support for reading ELF files.,
Colin O'Flynn <=
- Re: [avrdude-dev] [task #5093] Add support for reading ELF files., Joerg Wunsch, 2007/05/08
- RE: [avrdude-dev] [task #5093] Add support for reading ELF files., Eric Weddington, 2007/05/08
- Re: [avrdude-dev] [task #5093] Add support for reading ELF files., Colin O'Flynn, 2007/05/08
- Re: [avrdude-dev] [task #5093] Add support for reading ELF files., Joerg Wunsch, 2007/05/09
- Re: [avrdude-dev] [task #5093] Add support for reading ELF files., Dave N6NZ, 2007/05/09
- RE: [avrdude-dev] [task #5093] Add support for reading ELF files., Eric Weddington, 2007/05/09
- Re: [avrdude-dev] [task #5093] Add support for reading ELF files., Dave N6NZ, 2007/05/09
- [avrdude-dev] Re: sharing code between bootloader and application, Joerg Wunsch, 2007/05/09