Hello,
I want to boot CPU0 and CPU1 from xSPI0 external flash.
I can boot CPU0 but how can i start app for CPU1.
Is there any way to start CPU1 after CPU0.
Do i have to start CPU1 from loader?
And last how can i copy apps from flash to ram?
Thanks in advance,
How to release and handle CPU0 & CPU1, please check the RZ/T2M UM Chapter 2.5.1 Releasing CPU1 from the Reset State, Chapter 5.3.3 CPU0 Software Reset, and Chapter 5.3.4 CPU1 Software Reset.
"bsp_copy_to_atcm ()" copy the application program from external Flash to ATCM. See the system.c
Hello, isn't this "bsp_copy_to_atcm ()" function for CPU0?
I should copy CPU1 code to System Ram right? and i can release CPU1 and CPU1 can execute the code on System Ram.
Yes, "bsp_copy_to_atcm ()" function for CPU0.
You need a similar/simpler function e.g., "bsp_cpu1_copy_to_systemram()" in CPU0 project that would copy CPU1 code into SYSTEM_RAM and release the CPU1. You can check the bsp_reset.c for function to release the CPU reset state.