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)
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?
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?
Please check the link below for some more info about debugging GHS code under S32DS:
Hope it helps.