How to debug MPC5744P's MCAL with S32DS for PA and Multilink

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

How to debug MPC5744P's MCAL with S32DS for PA and Multilink

1,730 次查看
WeoWang
NXP Employee
NXP Employee

One of my customers wants to use greenhills to compile MCAL and use S32DS+Multilink to download and debug, I followed this post to configure(Demo: MPC574XP_MCAL4_0_RTM_2_0_2_Sample_Application)

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-download-separate-elf-srec-hex-f...


The downloading was successful but the debugging was not. in the debug perspective, the main.c can not be found, only Startup_vle.c was showed.

Is there any solution to solve this problem?

标签 (1)
0 项奖励
回复
1 回复

1,714 次查看
stanish
NXP Employee
NXP Employee

Hi,

I assume they have built the executable on the same machine they want to debug it (no conflicts in path to the source files).

Please make sure to add GHS compiler flags to enable generation of debug information + flag to generate elf-dwarf2.x standard.

Could you post a screenshot if the suggestion above does not help?

Note: 

Please check the link below for some more info about debugging GHS code under S32DS:

https://community.nxp.com/t5/S32-Design-Studio/5744P-S32-Design-Studio-include-Green-Hills-Compiler-...

 

Hope it helps.

 

Stan

0 项奖励
回复