[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Format of HEX file when program memory addressesexcee
From: |
Weddington, Eric |
Subject: |
RE: [avr-gcc-list] Format of HEX file when program memory addressesexceed 64K |
Date: |
Thu, 6 May 2010 13:35:02 -0600 |
Hi Graham,
Just google for "Intel Hex Format", or better still, I always have it
bookmarked for questions like these. :-) Go to the link below:
http://www.precma.it/download/intelhex.pdf
Yes, the Intel Hex Format can handle cases where the code is greater than 64K.
Look at the "Extended Segment Address Record".
Eric
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Graham Davies
> Sent: Thursday, May 06, 2010 12:35 PM
> To: address@hidden
> Subject: [avr-gcc-list] Format of HEX file when program
> memory addressesexceed 64K
>
> I've spent over an hour looking for this information on the
> Web and in the
> WinAVR documentation but I can't find it so I'm asking for
> some pointers.
>
> I'm using WinAVR-20081205 with AVRStudio 4.15, letting the
> GCC plug-in do
> all the heavy lifting (I'm not writing my own Makefiles or
> link scripts or
> anthing like that). The target is an ATmega1280, which is
> significant to my
> question because it has more than 64Kbytes of program memory.
> The output
> format is Intel HEX and I totally grok what I'm getting now
> as my program
> size is less than 64Kbytes. I even know where this is coming
> from. The
> generated Makefile uses 'avr-objcopy -O ihex' to get this.
>
> What I need to know is what the HEX file is going to look
> like when my
> program inevitably grows is size above 64Kbytes. What mechanism will
> 'objcopy' use to get above sixteen address bits? I need to know this
> exactly because I need to write a Flash loader to read such a file.
>
> I just need to know where to look for this information or
> what to Google
> for.
>
> Thanks, Graham.
>
>
>
>
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>
- [avr-gcc-list] Format of HEX file when program memory addresses exceed 64K, Graham Davies, 2010/05/06
- RE: [avr-gcc-list] Format of HEX file when program memory addressesexceed 64K,
Weddington, Eric <=
- Re: [avr-gcc-list] Format of HEX file when program memory addresses exceed 64K, Mark Litwack, 2010/05/06
- RE: [avr-gcc-list] Format of HEX file when program memory addresses exceed 64K, larry barello, 2010/05/06
- [avr-gcc-list] Re: Format of HEX file when program memory addresses exceed 64K, David Brown, 2010/05/07
- Re: [avr-gcc-list] Format of HEX file when program memory addresses exceed 64K, Graham Davies, 2010/05/07