This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Trace support for nRF52832

Hi,

We are using our own custom nRF52832 based board, with revision B silicon however we are having trouble getting trace functionality to work.

Our code uses the Nordic nRF5_SDK_11.0.0.2alpha, we do not use a soft device, in IAR v7.50.2 with an I-Jet trace.

The pre-processor symbol ENABLE_TRACE has been defined, however when starting a debug session IAR reports that the trace pins are stuck at 0 or 1

"Thu Mar 03, 2016 10:53:10: Warning: trace calibration [4-bit,tclk=16.09MHz,auto]: FAILED, TraceD0 stuck at 0, D1 stuck at 0, D2 stuck at 0, D3 stuck at 0 - check ETM and GPIO settings "

The trace pins are not used for anything else on the board and are not configured anywhere else in the code - do we need to perform any other configuration besides defining ENABLE_TRACE?

Related