S32DS S32K358 Project Inquiry

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

S32DS S32K358 Project Inquiry

跳至解决方案
154 次查看
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 项奖励
回复
1 解答
105 次查看
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 项奖励
回复
1 回复
106 次查看
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 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2414673%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32DS%20S32K358%20%E9%A1%B9%E7%9B%AE%E5%92%A8%E8%AF%A2%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%3E%E6%88%91%E6%9C%89%E4%B8%80%E4%B8%AA%E5%85%B3%E4%BA%8E%E5%88%9B%E5%BB%BA%20S32K358%20%E9%A1%B9%E7%9B%AE%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E5%BE%88%E5%A5%BD%E5%A5%87%E4%B8%BA%E4%BB%80%E4%B9%88%E4%BC%9A%E5%88%9B%E5%BB%BA%E4%B8%A4%E4%B8%AA%E9%A1%B9%E7%9B%AE%EF%BC%8CM7_0%20%E5%92%8C%20M7_2%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E6%83%B3%E7%9F%A5%E9%81%93%E2%80%9C%E7%BB%A7%E6%89%BF%E5%90%AF%E5%8A%A8%E6%A0%B8%E5%BF%83%E5%B7%A5%E5%85%B7%E9%93%BE%E2%80%9D%E6%8C%89%E9%92%AE%E7%9A%84%E5%8A%9F%E8%83%BD%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E7%9A%84%E9%98%9F%E5%8F%8B%E8%AF%B4%E5%8F%82%E8%80%83%E6%96%87%E6%A1%A3%E4%B8%AD%E6%8C%87%E5%87%BA%20M7_0%20%E6%98%AF%E5%BC%95%E5%AF%BC%E5%8A%A0%E8%BD%BD%E7%A8%8B%E5%BA%8F%E5%8C%BA%E5%9F%9F%EF%BC%8CM7_2%20%E6%98%AF%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E5%8C%BA%E5%9F%9F%EF%BC%8C%E4%BD%86%E6%88%91%E8%BF%98%E6%B2%A1%E6%9C%89%E5%9C%A8%E6%96%87%E6%A1%A3%E4%B8%AD%E6%89%BE%E5%88%B0%E8%AF%81%E6%8D%AE%E6%9D%A5%E9%AA%8C%E8%AF%81%E8%BF%99%E4%B8%80%E7%82%B9%E3%80%82%E6%88%91%E6%83%B3%E7%A1%AE%E8%AE%A4%E4%B8%80%E4%B8%8B%E3%80%82%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%3E%E5%97%A8%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%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E5%AF%B9%E4%BA%8E%20S32K358%EF%BC%8CS32DS%20%E9%BB%98%E8%AE%A4%E5%88%9B%E5%BB%BA%E4%B8%A4%E4%B8%AA%E7%8B%AC%E7%AB%8B%E7%9A%84%E9%A1%B9%E7%9B%AE%EF%BC%8C%E4%B8%80%E4%B8%AA%E7%94%A8%E4%BA%8E%20M7_0%EF%BC%8C%E4%B8%80%E4%B8%AA%E7%94%A8%E4%BA%8E%20M7_2%E3%80%82%E8%BF%99%E4%BA%9B%E9%A1%B9%E7%9B%AE%E5%AF%B9%E5%BA%94%E4%BA%8E%E4%B8%A4%E4%B8%AA%E5%A4%84%E7%90%86%E6%A0%B8%E5%BF%83%E3%80%82%E5%AE%83%E4%BB%AC%E5%B9%B6%E4%B8%8D%E4%BB%A3%E8%A1%A8%E5%BC%95%E5%AF%BC%E5%8A%A0%E8%BD%BD%E7%A8%8B%E5%BA%8F%E5%8C%BA%E5%9F%9F%E5%92%8C%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E5%8C%BA%E5%9F%9F%E3%80%82%3C%2F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%E2%80%9C%E7%BB%A7%E6%89%BF%E5%90%AF%E5%8A%A8%E6%A0%B8%E5%BF%83%E5%B7%A5%E5%85%B7%E9%93%BE%E2%80%9D%E9%80%89%E9%A1%B9%E4%BB%8E%E5%90%AF%E5%8A%A8%E6%A0%B8%E5%BF%83%E9%A1%B9%E7%9B%AE%E7%BB%A7%E6%89%BF%E5%B7%A5%E5%85%B7%E9%93%BE%E9%85%8D%E7%BD%AE%E3%80%82%E5%A6%82%E6%9E%9C%E5%90%AF%E7%94%A8%E6%AD%A4%E5%8A%9F%E8%83%BD%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E4%BB%85%E4%B8%BA%20Cortex-M7_0_0%20%E9%80%89%E6%8B%A9%E5%B7%A5%E5%85%B7%E9%93%BE%E3%80%82Cortex-M7_0_2%20%E7%9A%84%E5%B7%A5%E5%85%B7%E9%93%BE%E9%80%89%E6%8B%A9%E5%B0%86%E6%98%BE%E7%A4%BA%E4%B8%BA%E7%81%B0%E8%89%B2%EF%BC%8C%E5%9B%A0%E4%B8%BA%E5%B0%86%E5%BA%94%E7%94%A8%20Cortex-M7_0_0%20%E7%9A%84%E9%85%8D%E7%BD%AE%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E6%82%A8%E8%BF%98%E5%8F%AF%E4%BB%A5%E5%8F%82%E8%80%83%E8%BF%99%E9%87%8C%E6%8F%90%E4%BE%9B%E7%9A%84%E5%A4%9A%E6%A0%B8%E7%A4%BA%E4%BE%8B%E5%92%8C%E6%96%87%E6%A1%A3%EF%BC%9A%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%3E%E8%AF%A5%E8%BD%AF%E4%BB%B6%E5%8C%85%E6%BC%94%E7%A4%BA%E4%BA%86%E4%B8%A4%E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