Skip to main content

TRACE32 GDB frontend : enable SMP support for OpenOCD - Knowledgebase / Setup / update - Lauterbach Support

TRACE32 GDB frontend : enable SMP support for OpenOCD

To enable SMP (Symmetric Multi-Processing) debugging in OpenOCD, the hwthread pseudo-RTOS must be enabled. This feature allows OpenOCD to represent multiple cores as individual threads, making them accessible for debugging.

To enable hwthread, it must be passed as the rtos parameter when creating the target configuration:

$_TARGETNAME configure -rtos hwthread

For further details, consult the following sections of the OpenOCD User’s Guide:

With these modifications, the TRACE32 GDB frontend can be used to debug a target via OpenOCD in SMP mode. All cores within the target will be visible and manageable through the GDB interface.

Helpful Unhelpful

1 of 1 people found this page helpful

Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image