Shared memory in multi-core projects

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared memory in multi-core projects

876 Views
Contributor II

Hello 

I am currently developing a multicore system with the S32R274 in S32 Studio.

As I have seen, in S32Studio for each core a separate project is created. For me this means, it is not possible to build up code for the second core, which knows addresses or variables, also known by the first core. Is that wright?

Or Is there a way to avoid redefining global variables in code and instead work with 1 real global definition?

Is there a way to dynamically link the addresses of linker script files from different cores(projects)?

What way would you suppose to handle the shared memory?

Thanks and best regards

Roger

0 Kudos
2 Replies

13 Views
NXP Employee
NXP Employee

Hello Roger, 

He is another shared memory example using slightly different method. This example is for S32DS Power v1.2. 

https://community.nxp.com/docs/DOC-335344 

Jiri

0 Kudos

13 Views
NXP Employee
NXP Employee

Hello,

please check the example below. It shows, how to modify linker file and also, how to access the variable in shared memory using different cores.

https://community.nxp.com/docs/DOC-329941 

If you have any other questions, please feel free to write me back.

Regards,

Martin

0 Kudos