Hi David,

Is it possible for the GCC tools to generate a
checksum from the generated code and embed it into the
hex file at a specific address?  I've done this in the
past using the IAR compiler and need it for the
bootloader to check the new code being loaded into
flash.

The tool I have used for this (not GCC though) is srecord which can manipulate hex and binary files that are output from GCC.

See

http://srecord.sourceforge.net/

Thank you!

No problem.



--
Peter Jansen


___________________________________________________________________________

   Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not 
the
intended recipient, you are notified that use or dissemination of this 
communication is
strictly prohibited by Commonwealth law. If you have received this transmission 
in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 
3209 and
DELETE the message.
       Visit our web site at http://www.aad.gov.au/
___________________________________________________________________________

Reply via email to