We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?
-Solved-
The problem was inside the DataFlash reading function...