2025-02-25 1:10 AM
Hi,
I'm developing a bare-metal project with the SR5E1Ex (E3 and E7), and need to determine the current core ID at run-time.
Could you please confirm if there are any registers that can be read to determine the current core ID? The only multicore examples I can find for the SR5E1Ex chips use different restart locations to determine the current running core, but if there are any registers that can be read with the core ID, that would be preferable.
Regards,
Steven Daglish
Solved! Go to Solution.
2025-03-05 3:29 AM
Hello,
unfortunately using the SR5E1 is not possible to understand the core running directly reading an unique Id; as you suggested is it possible to do a software workaround for example reading the address of the Vector Table that will be different between cores. An example is done in the StellarESDK in the muti cores example.
Best regards
Francesco
2025-02-25 11:50 AM
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
Regards,
Billy
2025-03-03 12:32 AM
Hi Billy,
Just checking in to see if there's been any progress on this? If there are infact no registers available for determining the core ID in a bare-metal application, I can implement other methods of saving the core ID in TCM on boot, but it would be helpful to have a clarification before I start to implement a potential solution.
Regards,
Steven Daglish
2025-03-03 10:11 AM
I'm sorry to see that, I have just made an internal note on that case to help get some visibility on it soon. Please stand by for a response.
Thanks,
Billy
2025-03-05 3:29 AM
Hello,
unfortunately using the SR5E1 is not possible to understand the core running directly reading an unique Id; as you suggested is it possible to do a software workaround for example reading the address of the Vector Table that will be different between cores. An example is done in the StellarESDK in the muti cores example.
Best regards
Francesco