I'm using F28377D.
My CPU2 seems to be stuck in WAIT MODE.
Everything works fine with the emulator connected.
In standalone mode CPU1 asks CPU2 to boot from FLASH, but CPU2 doesn't seem to respond to the command.
CPU1 does the following:
1. Waits for CPU2 to write C2_BOOTROM_BOOTSTS_SYSTEM_READY to IpcRegs.IPCBOOTSTS
2. Sends a request for CPU2 to boot from FLASH:
IpcRegs.IPCBOOTMODE = C1C2_BROM_BOOTMODE_BOOT_FROM_FLASH;
IpcRegs.IPCSENDCOM = BROM_IPC_EXECUTE_BOOTMODE_CMD;
IpcRegs.IPCSET.all = (IPC_FLAG0 | IPC_FLAG31);
3. Waits for CPU2 to set IPC17 flag
(1) works fine.
(2) should trigger an IPC interrupt in CPU2 boot code and make it jump to FLASH code and the very first thing in CPU2 main() is to set the IPC17 flag, but nothing happens - CPU1 waits in (3) forever.
What am I missing? Booting from FLASH should be one of the simpler boot scenarios...
/Michael