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.

TMS320F28386D: Boot Processs Issues when Debugger is not connected.

Part Number: TMS320F28386D

void BOOT_CPU2(void)
{
	Cpu1toCpu2IpcRegs.CPU1TOCPU2IPCBOOTMODE = 0x5A00C803; //Sets the Boot Mode
    
	Cpu1toCpu2IpcRegs.CPU1TOCPU2IPCSET.bit.IPC0 = 1; // Sets the IPC0 FLag
    
	DevCfgRegs.CPU2RESCTL.all = 0xA5A50000; //LET CPUT OUT OF RESET

	while(Cpu1toCpu2IpcRegs.CPU2TOCPU1IPCBOOTSTS != 0x8)
	{}

}

Hello,

I am new to working with microcontrollers & I am trying to write a boot up process for the TMS320F2838D.

I am experiencing an issue when I try to run boot up the CPU2 without the debugger connected.

When I debug my program. I see both cores enter their respective main loops.  

When I load the firmware onto both of the CPU's start them with the debugger and than power cycle the processor I get no activity from CPU2.

The Tech. Ref. Manual states that the steps of booting CPU2 from CPU1 are...

-To configure the CPU1TOCPU2IPCBOOTMODE register which I attempt to with the value 0x5A00C803.

-To set the CPU1TOCPU2IPCFLG0 flag.

-Release CPU2 from being held in reset.

I've attached a snippet of my CPU1 program where I attempt to follow these steps.

As I mentioned earlier I am still becoming familiar with the devices so detailed explanations will be greatly appreciated.

Thank you in advance.