Dual-Core Single ELF Project Implementation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dual-Core Single ELF Project Implementation

961 Views
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

Tags (1)
0 Kudos
Reply
2 Replies

936 Views
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

Tags (1)
0 Kudos
Reply

911 Views
VivekArivazhagan
Contributor II
 
0 Kudos
Reply