Tool/software:
Tool/software:
Hi Kiyomasa,
You can also use IPC from A53 to R5, to indicate that peripheral initialization in A53 is complete and R5 can now start executing the application.
Hello Meet Thakar.
Thank you for your reply.
I understand that waiting with IPC is one solution.
I would like to know how to wait with SBL
rather than waiting on the user application side.
Best regards,
Kiyomasa Imaizumi.
I would like to know how to wait with SBL
You can add the code for the IPC in the SBL as well, and wait for the message before running Bootloader_runSelfCpu.
Hello Meet Thakar.
I thought about adding an IPC to SBL to wait for the CA53 to start up.
However, since the SDK versions used by SBL and CA53 are different,
I would prefer not to use peripherals from different versions if possible.
Also, IPC is already used in the CA53 and CR5 user applications.
Even if IPC were used, I think there would be inconvenience because TIMER8 is used for semaphore timeouts.
Therefore, I think it will be necessary to wait for a time in SBL alone.
Best regards,
Kiyomasa Imaizumi.
Hi Kiyomasa,
Another option would be to poll on an address from SBL, you can right 1 to this particular address or any other value from A53 core, which indicates that the peripheral initialization for A53 is done and from SBL you can poll this address to confirm if A53's initialization is complete before moving forward. You can consider this instead of just adding some random delay.
Best Regards,
Meet.