How to debug a CM7 of S32G274A_Rev2 using the S32 Debug Probe in the S32 IDE

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

How to debug a CM7 of S32G274A_Rev2 using the S32 Debug Probe in the S32 IDE

329 Views
ARM_Kami
Contributor I

We are currently using a custom board that integrates the CM7 of S32G274A_Rev2  and the S32 Design Studio. Our setup uses the S32 Debug Probe via USB to program and debug the code. We select the FreeRTOS awareness in the debug debug configurations, this provides only the debug information that is gathered from the RTOS, those from the FreeRTOS views (Task List, Queue List, Timer List, Heap Usage) as in this image:

FreeRTOS Kernel Awareness for Eclipse from NXP _ MCU on Eclipse.png

However, we would like to have a detailed debug view of the threads, as shown in this image:

ARM_Kami_0-1744126038632.png

Please, Would it be possible to share the correct settings to get the debug settings and the trace view using the M7 Core 0 as main?

Regards, 

Hugo

 

0 Kudos
Reply
1 Reply

311 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @ARM_Kami,

We offer FreeRTOS debugging configurations in the FreeRTOS examples included in the SW package, for example: 

alejandro_e_0-1744164162714.png

 

You shoudl be able to find it in your FlexNet account: swlicensing, in: Automotive SW – S32G Reference Software > Automotive SW - S32G - FreeRTOS (Cortex-M7) > S32G FreeRTOS 10.4.6 version 4.0.2.

Once installing the UpdateSite package in S32DS you can find the example for debugger configuration in your installation directory, for example: C:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_S32XX_4_0_0\FreeRTOS\examples\S32DS\FreeRTOS_Toggle_Led_Example_S32G274A_M7\Project_Settings\Debugger\FreeRTOS_Toggle_Led_Example_S32G274A_M7_Debug_RAM_S32Debug.launch 

 

Let me know if this configuration is what you were looking for.

0 Kudos
Reply