I prepared .bin file for simple application playing with LED on EVM5515.
I tried the .bin file to the NOR in two ways - using my code and using the c5515-boot-programmer provided by TI.
I see that in bot cases the FLASH content is the same.
BUT, it simple does not work - after power OFF-ON cycle I see the same application is running displaying text on the LCD - "5515 EVM Demo...".
As I understand the NOR is first in the boot trial sequence, so also if my code is not working boot loader shall load it and this demo application.
Some details:
I am running it from CCS - with empty GEL to be sure that it initializes all what it needs, linker command:
-v5505 --memory_model=large -g --define="_DEBUG" --diag_warning=225 --ptrdiff_size=32 --algebraic --asm_source=algebraic -z -m"leds_EVM5515_CSL_BIOS.map" --stack_size=0x200 --heap_size=0x400 -i"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/lib" -i"C:/ti/ccsv5/tools/compiler/c5500_4.4.1/include" -i"C:/ti/bios_5_42_01_09/packages/ti/rtdx/lib/c5500" -i"C:/ti/bios_5_42_01_09/packages/ti/bios/lib" -i -i"D:/roman-VE/c5515-ccs5/terasonic-EVM5515-CSL-BIOS-5.42-led" -i"/packages/ti/rtdx/lib/c5000" --reread_libs --warn_sections --rom_model --sys_stacksize=0x200
The command file for hex55 looks like:
-boot
-v5505
-b
-serial8
-map leds_EVM5515_CSL_BIOS_hex.map
-o leds_EVM5515_CSL_BIOS.hex
leds_EVM5515_CSL_BIOS.out
The NOR content looks like (starting from address 0x400000):
09AA 0000 96DD 0000 12E8 0000 0060 46B3 2020 2020
2020 F031 0000 004E 14A9 3100 4E13 A431 004E 12F7
31FF FF00 4E14 6274 2649 6259 46B2 4804 E631 0000
4E14 0600 8BA4 3100 5293 7DC0 0144 7FC0 0144 6E04
02F4 B506 9846 B320 2020 2020 20A9 01E6 0300 0409
What can be wrong here?