How do I debug files generated based on MBD using S32 for MPC5744P

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

How do I debug files generated based on MBD using S32 for MPC5744P

765 Views
haoxue1027
Contributor IV

Hello,Daniel 

 dumitru-daniel.popa

I am using the Devkit MPC5744P and the Model Based Design Toolbox 

I want to import the generated code in the S32 Design Studio in order to run the debugger. 

I follow the steps in 搭建好模型之后编译生成的文件,怎么通过IAR和S32DS下载到板子上? but  there is an error.

please confirm the process  and the error,thank you very much.

step one: import the .elf file

pastedImage_1.pngpastedImage_6.pngpastedImage_2.png

step two: debug the configuration

pastedImage_3.pngpastedImage_4.png

step three: debug

pastedImage_5.png

 

best regards ,hao

0 Kudos
1 Reply

614 Views
constantinrazva
NXP Employee
NXP Employee

Hello haoxue1027@qq.com,

You could import your whole project into S32Design Studio (source files, startup files, etc.) -- you can follow the steps here - it is for an older version, but the process is the same. The only difference is that the 'Generate S32 Design Studio ProjectInfo.xml file' checkbox was moved into the main configuration block. 

Can you try that and tell us if you are still facing issues with it?

Kind regards,

Razvan.

0 Kudos