This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
If the code running on Core 0 calls warm reset API function: SOC_generateSwWarmReset(), will all four cores get reset and sbl reboots all cores or just core 0 gets reset? If I wish to cause all 4 cores reboot by sbl, which API function shall I use?
Thanks,
Wenkai
So I did some tests today and here are my test results:
1. Function SOC_generateSwWarmReset() will trigger sbl rebooting
2. Function SOC_rcmR5SS0PowerOnReset() seems do nothing
3. Function SOC_rcmR5SS0TriggerReset() caused my code stuck at the point it was called.
So what's usage of function SOC_rcmR5SS0PowerOnReset() and SOC_rcmR5SS0TriggerReset() anyway?
I was using SDK version: mcu_plus_sdk_am263x_08_05_00_24.
Thanks,
Wenkai
Hi.
I'm also do testings with the SOC API and would like to add a question:
How to use SOC_configureWarmResetSource()? Code get stuck when calling. Is it possible to add some bits for custom reset reason? I try to use WarmResetSource for that.
Best regards
Dominik
Hello Wenkai and Dominik,
We are looping in the right SDK/SW folks to provide additional insight into the functionality of these API and their expected usage. Thank you for you continued patience during this time.
Best Regards,
Zackary Fleenor
Hi Dominik,
How to use SOC_configureWarmResetSource()?
This configures the Warm Reset Configuration and writes the values in the following register - TOP_WARM_RESET_CONFIG. This API seems to have some issue.
Hi Wenkai,
To assert warm reset - SOC_generateSwWarmReset use this function for the same. Warm Reset resets the SoC excluding some domains.
The software flow of RBL remains the same across warm reset. It boots the SBL and then SBL loads the application. This flow works for me. You can try the patch mentioned above.
SOC_rcmR5SS0PowerOnReset - Sets the Reset Delay and Enables WFI post reset assert. When the CPU enters WFI, it will smoothly and safely assert a reset.
Do let me know if you still face issues.
Best Regards,
Aakash