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,729件の閲覧回数
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,713件の閲覧回数
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 件の賞賛
返信