I try to make a standalone project, with both cpu1 and cpu2 running, after I program both .out files into CPU1 and CPU2 flash, remove the JTAG, power cycle it,
1. CPU1 runs as I expected, I checked the return of
temp0 = IPCBootCPU2(C1C2_BROM_BOOTMODE_BOOT_FROM_FLASH);
it is 0 as expected.
2.CPU2 function does not run.
Then I connect the JTAG, connect to CPU2, force the PC to 0x80000, which is the start of flash, click 'run', all the functions work as I expected.
What do I missing to make CPU2 start from Flash? (I did not touch anything about OTP and flash secure stuff)
Thanks,
Hans