Why does it work well in the S32DS for ARM Version 2.2 and not in the S32 DS for S32 Platform 3.4?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Why does it work well in the S32DS for ARM Version 2.2 and not in the S32 DS for S32 Platform 3.4?

ソリューションへジャンプ
852件の閲覧回数
autics
Contributor III

I am implementing MBDT through the example file attached below.

I checked that the S32 Design Studio for ARM Version 2.2 program works normally for the same file.
However, I don't know if the S32 Design Studio for S32 Platform 3.4 program doesn't work as below.

S32 Design Studio for ARM Version 2.2  creates libm.a file and builds well.

However, libm.a file is not generated in program S32 Design Studio for S32 Platform 3.4

This issue was being helped in the link below, and I posted it to get more help.

https://community.nxp.com/t5/S32K/How-to-use-S32-Design-Studio-for-S32-Platform-for-files/m-p/184629... 

 

ERROR.jpg

0 件の賞賛
返信
1 解決策
625件の閲覧回数
stefanvlad
NXP Employee
NXP Employee

Hello Sangho Lee, @autics 

 

Yes, there is a migration Video: Migrating S32K1 projects from S32DS for ARM and SDK 3.0.x to S32DS 3.4 and SDK 4.0.2 - NXP Co...

 

But I have a simpler method, that worked on my setup, and you need to follow the steps:

  • Open Matlab r2021a and the GPIO model gpio_s32k144.mdl, then press Ctrl+to build and flash on the board:

    stefanvlad_0-1715328806350.png

     

  • Open the S32 Design Studio IDE for Arm® 2.2 and import the ProjectInfo.xml:

    stefanvlad_1-1715328806616.png

     

  • Open the location where the generated files from Matlab are located, my location is C:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K1xx\S32_Examples\s32k14x\gpio\gpio_s32k144_mbd_rtwstefanvlad_2-1715328806603.png

     

  • Build the project with the S32 Design Studio IDE for Arm® 2.2 
  • stefanvlad_3-1715328806401.png

     

 

Hope you can follow the steps above and it works on your side,

Stefan V.

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
761件の閲覧回数
stefanvlad
NXP Employee
NXP Employee

Hello Sangho Lee,

 

The S32K1xx Family is supported by the S32 Design Studio IDE for Arm® based MCUs and it has the Integrated NXP Software:

  • S32K SDK

With this IDE you can get the best results for S32K1 Family of Microcontrollers.

 

The latest Model-Based Design Toolbox for S32K1xx version 4.3.0 has been designed and tested using S32 Design Studio IDE for Arm® and it is using the S32K SDK.

 

Download and install the S32 Design Studio v3.4 S32K1 Service Pack 1 released! - NXP Community

 

To add S32K1 support, open the S32DS Extension and Updates and check if the S32K1XXX packages are installed:

stefanvlad_4-1714144729162.png

 

Then open Matlab r2021a and the GPIO model gpio_s32k144.mdl, then press Ctrl+to build and flash on the board:

stefanvlad_0-1714138761506.png

After this open the S32 Design Studio for S32 Platform and Import Info XML as S32DS Project:

stefanvlad_1-1714138825325.png

Then select the ProjectInfo.xml file from C:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K1xx\S32_Examples\s32k14x\gpio\gpio_s32k144_mbd_rtw:

stefanvlad_2-1714139515468.png

Then open project settings in S32DS for S32 Platform and go to C/C++ Build -> Settings -> Tool Settings -> Standard S32DS C Linker -> Libraries:

stefanvlad_3-1714139697337.png

And add ":" on each entry, this will be modified to ":S32K14x_AMMCLIB.a" and ":libm.a".

 

To migrate the project please follow the steps in Solved: Migrate prj from S32DS for ARM version2018.R1 TO S32 platform 3.4 - NXP Community

 

Hope this helps,
Stefan V.

0 件の賞賛
返信
715件の閲覧回数
autics
Contributor III

@stefanvlad

I'm still not good at using the S32 Design Studio.

Are you telling me to solve this problem with migration?

0 件の賞賛
返信
626件の閲覧回数
stefanvlad
NXP Employee
NXP Employee

Hello Sangho Lee, @autics 

 

Yes, there is a migration Video: Migrating S32K1 projects from S32DS for ARM and SDK 3.0.x to S32DS 3.4 and SDK 4.0.2 - NXP Co...

 

But I have a simpler method, that worked on my setup, and you need to follow the steps:

  • Open Matlab r2021a and the GPIO model gpio_s32k144.mdl, then press Ctrl+to build and flash on the board:

    stefanvlad_0-1715328806350.png

     

  • Open the S32 Design Studio IDE for Arm® 2.2 and import the ProjectInfo.xml:

    stefanvlad_1-1715328806616.png

     

  • Open the location where the generated files from Matlab are located, my location is C:\MathWorks\Toolboxes\NXP_MBDToolbox_S32K1xx\S32_Examples\s32k14x\gpio\gpio_s32k144_mbd_rtwstefanvlad_2-1715328806603.png

     

  • Build the project with the S32 Design Studio IDE for Arm® 2.2 
  • stefanvlad_3-1715328806401.png

     

 

Hope you can follow the steps above and it works on your side,

Stefan V.

0 件の賞賛
返信
602件の閲覧回数
autics
Contributor III

@stefanvlad 

I'm sorry for the late reply.

I also succeeded in the way you described it.
Thank you so much.

 

0 件の賞賛
返信