cancel
Showing results for 
Search instead for 
Did you mean: 

GetCoreID with SR5E1

phuongle
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
FSPIL
ST Employee

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

View solution in original post

5 REPLIES 5
Joe WILLIAMS
ST Employee

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

Hello Joe , 

Sorry for the late answer ,

which version of StellarESDK do you use , 1.8.0 ?

    Best Regards

                 Erwan

 

stevendaglish
Associate II

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
ST Employee

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

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

No more concern from my side