Hello,
We are trying to boot our device from FLASH standalone of the debugger. Our project uses both CPUs and CPU2's CLA. Currently, we successfully have CPU1 booting correctly on power cycle (Standalone FLASH) but are having issues with CPU2.
First of all, the IPC CPU2 boot command seemed to only work when we moved it from near the beginning of the CPU1 main down to right before our main event loop. Otherwise the program would hang waiting for the boot status / IPC flags to clear from CPU2.
Next and more pressing, it seems as though CPU2 is running much slower after a power cycle. We have a simple LED blink setup in our CPU1 and CPU2 project to test the boot. When we have a debugger connected, our LEDs blink at the expected speed. But when we then power cycle the device to test the standalone boot from FLASH, the CPU1 LED blinks at the expected rate but CPU2 blinks about 40 times slower.
We thought maybe the CPU2 clock was lagging so we configured the XCLKOUT to output the CPU2 system clock which should be configured for 100MHz. Probing GPIO73, it appears that the CPU2 system clock is running at 100MHz. We are looking into FLASH wait cycle configuration but that seems like it should not slow the clock by 40 times? Also, we run the same code to configure the FLASH wait cycles for CPU1 and CPU2. Any help at this point would be greatly appreciated.
I was able to run the blinky_dc_cpu02 example project successfully but only if I commented out the InitFlash() function. I used the FLASH_DEBUG configuration on both CPU1 and CPU2 and was able to see both LEDs blink at the expected rate upon a power cycle.
Thanks,
Braden