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

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

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

960 Views
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?

Labels (1)
0 Kudos
1 Reply

944 Views
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 Kudos