Skip to main content
Associate
December 10, 2024
Solved

GetCoreID with SR5E1

  • December 10, 2024
  • 3 replies
  • 3730 views

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?

Best answer by FSPIL

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

3 replies

Joe WILLIAMS
ST Employee
December 12, 2024

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 Employee
December 20, 2024

Hello Joe , 

Sorry for the late answer ,

which version of StellarESDK do you use , 1.8.0 ?

    Best Regards

                 Erwan

 

Associate II
February 21, 2025

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
Technical Moderator
March 5, 2025

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
March 6, 2025

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

No more concern from my side