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

Connecting J-Trace with the nRF52DK

Hi there,

I'm sorry if I'm asking something very simple:

How does one connect the J-Trace Pro to the nrf52 DevKit in such a way that I can get ETM functionalities? Obviously with the SWO connector via Debug-in, you can't get ETM.
Is there any pin-map for this or some special adapter required?

Thank you for your help

Oliver

Parents Reply
  • I'm afraid it doesn't really, I've red them already. In the picture of the first post mentioned, there is an adapter which isn't described where to be bought or what pins it maps where to. Could you please elaborate on how the connection is supposed to be made from a 2x 10 JTAG to these pin headers on the DevKit?

    I know the pin mapping of the JTAG as described here on page 335 of the J-Link_J-Trace PDF. (or image below)

    -2:320:50]

    And I know the pin mapping of the nRF52DK as shown in the map below.

    But how do these two match?

    E.g. where do pin numbers:

    • 8
    • 1
    • 11 & 13

    of the JTAG Cortex-M Adapter Map to on the DevKit?

Children
  • I think you will need a custom adapter or find an adapter which you can solder on jumper wires to connect to the trace pins. Here's a similar thread on this subject: link

    52832 Pin assignments for trace 

    17

    P0.14

    TRACEDATA[3]

    Digital I/O

    General purpose I/O

    Trace port output

    18

    P0.15

    TRACEDATA[2]

    Digital I/O

    General purpose I/O

    Trace port output

    19

    P0.16

    TRACEDATA[1]

    Digital I/O

    General purpose I/O

    Trace port output

    20 P0.17 Digital I/O General purpose I/O
    21

    P0.18

    TRACEDATA[0] / SWO

    Digital I/O

    General purpose I/O

    Single wire output

    Trace port output

    22 P0.19 Digital I/O General purpose I/O
    23

    P0.20

    TRACECLK

    Digital I/O

    General purpose I/O

    Trace port clock output


    So P0.14 should be connected to TRACEDATA[3], P0.15 to TRACEDATA[2], and so forth.

  • Thank's the link to the other subject helped a lot, since there are the Schematics & Altium files of this particular adapter.

Related