Hello,
I'm new to multicore mircroprocessor and would like to have more infos on how it's works.
For example on the s32K358 with only one elf file ?
Can the 2 core (core 0 and core 2) run the same code from the same flash address ?
How the 2 cores are started ?
Is there EB tresos configuration example ?
Sophie
Solved! Go to Solution.
Hi @sobo,
Yes, it can be done with one file only.
Regarding your question, in the two cores, the debugging is independent. You can step into one core, and the other one can be running or paused depending on the previous debug operation.
Here are some multicore examples you can look into:
The S32K324 examples includes a single project for two cores which compiled into single elf file.
Hope you find this helpful.
Best regards,
Julián.
Hi, @sobo
I also encountered the same problem, can you send me a single elf project of k358?
Looking forward to your replay!
Hi Julian,
I will check the example.
I see that there is Application Note in the Zip with S32K324, is there new version available ? or other AN to help with multicore ?
Sophie
Another question, I'm reading the application bote : Multi-Core Implementation in RTD of S32K3
The part 3.3.1. EcuC configuration guide.
My question is the s32k358 has 3 cores. Core 0 and core 1 as lock step and a core 2.
In the EcuC configuration with EB tresos Do we need to define the 3 cores ?
For example in the CAN IM manual it is write that
" The Can assumes there is a single EcucPartition allocated per core. Internally, the module will use the Core ID returned by GetCoreID API to reference the appropriate global data and configuration elements."
So in the S32K358 the running core will be the Core 0 and the Core 2, so if I used the example of the application note , the EcuCoreId will not be correct if I only declared 2 cores in the ECUc module.
am I correct ?
Hi @sobo,
Yes, it can be done with one file only.
Regarding your question, in the two cores, the debugging is independent. You can step into one core, and the other one can be running or paused depending on the previous debug operation.
Here are some multicore examples you can look into:
The S32K324 examples includes a single project for two cores which compiled into single elf file.
Hope you find this helpful.
Best regards,
Julián.
by chance I am currently also researching this topic.
In the first link you provided, there are 2 documents referenced:
- S32K32x Multicore Quick Start Guide
- Multi-Core Implementation in RTD of S32K3
I cannot find these documents. However, today I would look for a "S32K358 Mutlicore Quick Start Guide" as well as the RTD documentation for RTD 4.0, the post talks about the 2.0 version.
Can you provide (a link) to these documents?
Thank you
Andreas
I apologize for the inconveniences this may cause, but these projects are the latest as of now, there are no current examples for S32K358.
As for the documents you requested, you can find them through the link beneath the post:
Best regards,
Julián
thanks for the update. Apparently these files are not a normal or secure NXP download, but on a sharepoint. I don't have access.
Can you provide me access or another link?
Thank you!
Hi @AndreasStolze,
I apologize for the misunderstanding, there is also a public package in response to the original message:
Best regards,
Julián
as I said, the download works, however, within the "Multi-Core Implementation in RTD of S32K3" document, regarding access protection, another application note is referenced (page17). However, this link points to the sharepoint again. Can you provide this app note here?
Thank you
Andreas