Skip to main content
Associate II
February 25, 2025
Solved

Get core ID with SR5E1Ex

  • February 25, 2025
  • 3 replies
  • 1377 views

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

Best answer by FSPIL

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

3 replies

Billy OWEN
ST Employee
February 25, 2025

Hi @stevendaglish 

 

This post has been escalated to the ST Online Support Team for additional assistance.  We'll contact you directly.

 

Regards,

Billy

Associate II
March 3, 2025

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

Billy OWEN
ST Employee
March 3, 2025

Hi @stevendaglish 

 

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

 

FSPIL
FSPILBest answer
Technical Moderator
March 5, 2025

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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Associate II
March 6, 2025

Thanks for the confirmation. I will pass that along to the team so we can develop a work-around.

Regards,

Steven Daglish