S32DS S32K358 Project Inquiry

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

S32DS S32K358 Project Inquiry

Jump to solution
175 Views
wj_kwak
Contributor II

wj_kwak_0-1789777426372.png

 

I have a question about creating the S32K358 project.

I am curious why two projects, M7_0 and M7_2, are being created.

I want to know the function of the Inherit boot core toolchain button..

My teammate says that the reference documentation states M7_0 is the bootloader area and M7_2 is the application area, but I haven't been able to verify this in the documentation. I would like to confirm this.

0 Kudos
Reply
1 Solution
126 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @wj_kwak 

 

For S32K358, S32DS creates two independent projects by default, one for M7_0 and one for M7_2. These projects correspond to the two processing cores. They do not represent a bootloader area and an application area.

 

The S32DS project creation wizard does not normally create a single project containing the application for both cores. If such a project structure is required, it has to be created/configured manually. However, in most cases there is no need to do this and the typical approach is to use two independent projects, one for each core.

 

The "Inherit boot core toolchain" option can be used to inherit the toolchain configuration from the boot-core project when creating the project for the other core. If it is enabled, you can select the toolchain only for Cortex-M7_0_0. The toolchain selection for Cortex-M7_0_2 will be greyed-out because the configuration from the Cortex-M7_0_0 will apply.

 

You can also refer to the multicore examples and documentation provided here:

 

community.nxp.com/t5/S32K/S32K324-Multi-Core-Example-Project-based-on-Whiteboard/m-p/1547771

 

The package demonstrates both approaches: independent projects for each core and a single project for both cores compiled into a single ELF file.

 

So, M7_0 and M7_2 should not be understood as bootloader and application projects. They are simply the projects associated with the respective cores.

 

Best regards,

Lukas

View solution in original post

0 Kudos
Reply
1 Reply
127 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @wj_kwak 

 

For S32K358, S32DS creates two independent projects by default, one for M7_0 and one for M7_2. These projects correspond to the two processing cores. They do not represent a bootloader area and an application area.

 

The S32DS project creation wizard does not normally create a single project containing the application for both cores. If such a project structure is required, it has to be created/configured manually. However, in most cases there is no need to do this and the typical approach is to use two independent projects, one for each core.

 

The "Inherit boot core toolchain" option can be used to inherit the toolchain configuration from the boot-core project when creating the project for the other core. If it is enabled, you can select the toolchain only for Cortex-M7_0_0. The toolchain selection for Cortex-M7_0_2 will be greyed-out because the configuration from the Cortex-M7_0_0 will apply.

 

You can also refer to the multicore examples and documentation provided here:

 

community.nxp.com/t5/S32K/S32K324-Multi-Core-Example-Project-based-on-Whiteboard/m-p/1547771

 

The package demonstrates both approaches: independent projects for each core and a single project for both cores compiled into a single ELF file.

 

So, M7_0 and M7_2 should not be understood as bootloader and application projects. They are simply the projects associated with the respective cores.

 

Best regards,

Lukas

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2414673%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32DS%20S32K358%20Project%20Inquiry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2414673%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22wj_kwak_0-1789777426372.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22wj_kwak_0-1789777426372.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22wj_kwak_0-1789777426372.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F396578i266ADE907DC98C68%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22wj_kwak_0-1789777426372.png%22%20alt%3D%22wj_kwak_0-1789777426372.png%22%20%2F%3E%3C%2Fspan%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Ewj_kwak_0-1789777426372.png%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Ewj_kwak_0-1789777426372.png%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20have%20a%20question%20about%20creating%20the%20S32K358%20project.%3C%2FP%3E%3CP%3EI%20am%20curious%20why%20two%20projects%2C%20M7_0%20and%20M7_2%2C%20are%20being%20created.%3C%2FP%3E%3CP%3EI%20want%20to%20know%20the%20function%20of%20the%20Inherit%20boot%20core%20toolchain%20button..%3C%2FP%3E%3CP%3EMy%20teammate%20says%20that%20the%20reference%20documentation%20states%20M7_0%20is%20the%20bootloader%20area%20and%20M7_2%20is%20the%20application%20area%2C%20but%20I%20haven't%20been%20able%20to%20verify%20this%20in%20the%20documentation.%20I%20would%20like%20to%20confirm%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2414903%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32DS%20S32K358%20Project%20Inquiry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2414903%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F263485%22%20target%3D%22_blank%22%3E%40wj_kwak%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EFor%20S32K358%2C%20S32DS%20creates%20two%20independent%20projects%20by%20default%2C%20one%20for%20M7_0%20and%20one%20for%20M7_2.%20These%20projects%20correspond%20to%20the%20two%20processing%20cores.%20They%20do%20not%20represent%20a%20bootloader%20area%20and%20an%20application%20area.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThe%20S32DS%20project%20creation%20wizard%20does%20not%20normally%20create%20a%20single%20project%20containing%20the%20application%20for%20both%20cores.%20If%20such%20a%20project%20structure%20is%20required%2C%20it%20has%20to%20be%20created%2Fconfigured%20manually.%20However%2C%20in%20most%20cases%20there%20is%20no%20need%20to%20do%20this%20and%20the%20typical%20approach%20is%20to%20use%20two%20independent%20projects%2C%20one%20for%20each%20core.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThe%20%22Inherit%20boot%20core%20toolchain%22%20option%20can%20be%20used%20to%20inherit%20the%20toolchain%20configuration%20from%20the%20boot-core%20project%20when%20creating%20the%20project%20for%20the%20other%20core.%20If%20it%20is%20enabled%2C%20you%20can%20select%20the%20toolchain%20only%20for%20Cortex-M7_0_0.%20The%20toolchain%20selection%20for%20Cortex-M7_0_2%20will%20be%20greyed-out%20because%20the%20configuration%20from%20the%20Cortex-M7_0_0%20will%20apply.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EYou%20can%20also%20refer%20to%20the%20multicore%20examples%20and%20documentation%20provided%20here%3A%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3Ecommunity.nxp.com%2Ft5%2FS32K%2FS32K324-Multi-Core-Example-Project-based-on-Whiteboard%2Fm-p%2F1547771%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThe%20package%20demonstrates%20both%20approaches%3A%20independent%20projects%20for%20each%20core%20and%20a%20single%20project%20for%20both%20cores%20compiled%20into%20a%20single%20ELF%20file.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3ESo%2C%20M7_0%20and%20M7_2%20should%20not%20be%20understood%20as%20bootloader%20and%20application%20projects.%20They%20are%20simply%20the%20projects%20associated%20with%20the%20respective%20cores.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3ELukas%3C%2FP%3E%3C%2FLINGO-BODY%3E