Skip to main content
Associate
Dec 10, 2024 8:08 AM UTC
Solved

GetCoreID with SR5E1

I'm developing Autosar OS for multicore project for SR5E1 MCU

OS needs to know which core is running.

But I can't find any register which contain this infomation.

Anyone know how can I GetCoreId with SR5E1 MCU?

This topic has been closed for replies.
FSPIL
FSPILBest answer
ST Employee
Mar 5, 2025 11:25 AM UTC

Hello,

unfortunately using the SR5E1 is not possible to understand the core running directly reading an unique Id; as a workaround it is possible to do this via software 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.

5 replies

Joe WILLIAMS
ST Employee
Dec 12, 2024 8:25 PM UTC

Hi phuongle

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

Regards

Joe

STMicro Support

Erwan YVIN
ST Technical Moderator
Dec 20, 2024 4:37 PM UTC

Hello Joe , 

Sorry for the late answer ,

which version of StellarESDK do you use , 1.8.0 ?

    Best Regards

                 Erwan

 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Associate II
Feb 21, 2025 12:38 PM UTC

Hi. I'm also having the same issue of trying to determine which core is currently running. I'm not using any SDK, as this is being tested "bare metal". Any updates on how this can be accomplished?

Regards,

Steven Daglish

FSPIL
FSPILBest answer
ST Employee
Mar 5, 2025 11:25 AM UTC

Hello,

unfortunately using the SR5E1 is not possible to understand the core running directly reading an unique Id; as a workaround it is possible to do this via software 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.
phuongleAuthor
Associate
Mar 6, 2025 8:36 AM UTC

Thanks for your response! I had workaround solution by using software solution too.

No more concern from my side