Shared memory in multi-core projects

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Shared memory in multi-core projects

3,726 次查看
helferog
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 项奖励
回复
2 回复数

2,863 次查看
jiri_kral
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 项奖励
回复

2,863 次查看
martin_kovar
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 项奖励
回复