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

Tracedata

Hi,

I wonder if all Tracedata[n] pins are needed for debug? That would make five IO:s useless for other functions. Or is it possible to use 1-bit mode or something similar? If that is possible, are there any limitations other than data speed?

Parents
  • Hi Peter

    For regular debugging you only need the SWD pins (SWDIO and SWDCLK), and you are free to use the trace pins for other purposes. 

    The Tracedata pins are only required if you want to do a full instruction trace during debugging, but this requires dedicated trace hardware to use (the Segger chip on the development kits are not set up for this). 

    Best regards
    Torbjørn

  • Breaking in with a related question: We are doing instruction trace debugging on nrf52840 with the Segger j-trace module / ozon using the four tracepins + clk. From what we are able to see, only the cpu instructions are traced. We would need also to see traces for memory accesses, i.e address and data info. Are we doing something wrong/looking at the wrong place or is this simply not supported?

Reply
  • Breaking in with a related question: We are doing instruction trace debugging on nrf52840 with the Segger j-trace module / ozon using the four tracepins + clk. From what we are able to see, only the cpu instructions are traced. We would need also to see traces for memory accesses, i.e address and data info. Are we doing something wrong/looking at the wrong place or is this simply not supported?

Children
Related