Hi,
is it correct, that all files will be stored in the .hex file generated by the fromelf tool? So that I get a file which could be executed?
I've a uvision project with one .c file, a startup-file and two (include) libraries.
fromelf --bin bsp.axf --output file.bin
I get no error message. But when I download this file into the data flash via ISP - I'm not able to start this programm after a reset. If the bootloader in the internal ROM (microcontroller AT91SAM9260) will find a suitable boot sequence in the data flash then the bootloader starts the application and no "CCC" where shown via the hyperterminal. Therefore I'm able to say that the controller see a valid image / bootable sequence in the data flash.
But maybe there are a few errors during the arm vectors...
E59FF018 E59FF018 E59FF018 E59FF018 E59FF018 E1A00000 (<- code size = 0?????) E51FFF20 E51FFF20
I changed the arm vector using the correct code size - but it didn't solve the problem.
I also took a look into the blinky example from keil. But the arm vectors totally equal. Moreover I'm not able to download the code via jtag to the data flash. I always get a "timeout error". But I'm able to execute a programm in the internal RAM or SDRAM and store / read values in / from the dataflash. So the communication is ok. There must be a software problem.
Do you have any suggestion to solve / or get closer to this problem?
best regards Hans