Part Number: TMS320F28388D
I am having trouble with booting the CM through IPC Message Copy to RAM Boot Mode.
I made a basic test program that runs on the CM to set the vector table offset to the RAM vector table and then an inifinite while loop. The program works through the CCS debugger but not when I try to load it through CPU1's IPC MSGRAM.
I have reserved an 8 byte region at the beginning of non reserved S0 RAM (0x20000800-20000807) for the RESETISR, which is the boot to RAM entry point used in startup_cm.c. The rest of the bootloader follows and is limited to 2000 bytes (1000 words).
I used similar procedure to reserve memory, write to IPC MSGRAM, and boot for CPU2 and got that working correctly with a more complicated program. However, I am having issues with the CM and it seems to be stuck in a hard fault whenever I try to load the bootloader into IPC MSGRAM. I can see the same contents on both the CPU1 and CM's MSGRAM1, but I don't see anything in the CM's S0 RAM (it's just all 0's).
Is there a special format or header needed for this boot mode? Should I be including the RESETISR in the boot image? Is there anything else I am missing?
Thank you.