This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Write Firmware to DataFlash by hand

Hi,
I try to write the firmware for a AT91SAM9260 by hand into the DataFlash.
I generated a binary file using

fromelf.exe --bin -o Ext_SDRAM\program.bin Ext_SDRAM\program.axf


and wrote this file into the DataFlash a adress 0x4200, from where the bootloader copies the firmware into the RAM.
The problem now is, that the firmware generated by fromelf is different from the data written by an ULINK2 when pressing the load button inside µVision.
The first 1056 bytes are equal, but the rest of the data is different.

Why is my binary not working?
How can I generate a binary similar to the data generated by µVision?

0