This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320F28388D: CPU2 BOOT from CPU1

Part Number: TMS320F28388D

Tool/software: Code Composer Studio

Hello, 

I am using a TMS320F28388D controller. 

1. Is it possible to know in CPU1 if there is any application loaded on CPU2 FLASH? I know one method is through IPC, but can I use CPU2TOCPU1IPCBOOTSTS
 register.

I have my code implemented in CPU1 as below pulled from the example.

Device_bootCPU2(BOOTMODE_BOOT_TO_FLASH_SECTOR0);

If I don't have any application loaded onto the CPU2 , I am expecting the CPU2 should be in ITRAP, but I could see after executing the above statement the controller is getting reset.

Can you please let me know why the Controller is getting reset in this scenario.

thanks,

Nagesh

  • Hello

    You could use CPU2 IPC message RAM boot to load a simple program to read the CPU2 flash and see if there is any data there.

    CPU2 is likely getting reset by watchdog as this is enabled coming out of boot. You could use this scenario as well to determine that it doesn't have something programmed. CPU2 won't try to boot again since it will be waiting on CPU1 to set an IPC flag.

    Best regards

    Chris