Dual-Core Single ELF Project Implementation

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

Dual-Core Single ELF Project Implementation

963 次查看
Lisha
Contributor III

Dear Team,

We are encountering difficulties in implementing the Dual-Core Single ELF project. Here’s what we’ve done so far:

  1. Created a base framework to run the dual-core setup within a single ELF.
  2. Implemented a StartCore API under Core 0.
  3. Selected the example project for a Single ELF setup from the PlatformMulticoreSingleElf folder in S32K RTD version 2.0.3.

Despite these steps, the second core is not starting as expected. We are unsure how to resolve this issue. The project files have been attached for your reference.

Could you please assist us in identifying the problem and guiding us toward a solution?

Thank you for your support!

Best regards,
Lisha

标记 (1)
0 项奖励
回复
2 回复数

938 次查看
VaneB
NXP TechSupport
NXP TechSupport

Hi @Lisha 

You will need to add all source files for all cores into one project. Unfortunately, this cannot be done automatically, so you will have to copy these files manually.

Alternatively, you can create binaries for each .elf file and merge them. However, raw binary files do not contain address information, which might complicate the process. A better approach would be to generate three S-record files and merge them using the SRecord tools, which can be found here: SRecord

For a related example, there is a multi-core example for a different device (MPC5777C) on the community. This might serve as a useful reference: Example MPC5777C Single ELF multi-core Pin Toggling - S32DS Power 2017.R1

Although the example is for a different device, it could still be valuable as a reference for your setup.

 

BR, VaneB

标记 (1)
0 项奖励
回复

913 次查看
VivekArivazhagan
Contributor II
 
0 项奖励
回复