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

nRF91 development kit ETM tracing and ETB documentation

Hi,

I have a nRF91 development kit  and want to connect P4 to the Segger Jtrace for ETM streaming. In the manual, it stated that a 2×10 pin 1.27 mm pitch surface mount connector can be mounted. Where can buy it and how can I mount it? In addition, since P4 and P3 share the same footprint, do I need to remove the pitch on P3 first? And how?

 

In addition, is there any documentation about the ETB support in case the tracing pins cannot be easily setup?

Thanks!

  • Hello,

     

    Where can buy it and how can I mount it?

     You will need to have the J-Link 19-Pin Cortex-M Adapter, along with the 2×10 pin 1.27 mm pitch surface mount connector. This connector is similar to the one mounted to P3 already, only it has 2x10 pins and not 2x5 pins. These connectors are easily available through all distributors i.e. Mouser, Digikey, Farnell, etc.

    In addition, since P4 and P3 share the same footprint, do I need to remove the pitch on P3 first? And how?

     Yes, you will need to desolder the connector on P3 before mounting the 2x10 pin connector. If you have never done this before, I suggest getting help from someone with experience in soldering to not damage the solder pads on P3. 

    In addition, is there any documentation about the ETB support in case the tracing pins cannot be easily setup?

    Do you mean ETM? The ARM Infocenter will have more documentation on ETM.

    Edit: My apologies, we do not have any documentation on ETB (Embedded Trace Buffer), please see ARM documentation

    Kind regards,
    Øyvind

  • Hi Øyvind,

    Thanks for the reply. Are you sure I need a J-Link 19-Pin Cortex-M Adapter? It seems Jtrace by default comes with a 19-pin Cortex-M interface.

    Could you please kindly suggest a URL to a working 2×10 pin 1.27 mm pitch surface mount connector? I did some search but cannot identify the right one. 

    Thank you very much!

  • rabbitlennon said:
    It seems Jtrace by default comes with a 19-pin Cortex-M interface.

     As long as this fits a 1,27mm connector, then you do not need one.

    rabbitlennon said:
    Could you please kindly suggest a URL to a working 2×10 pin 1.27 mm pitch surface mount connector?

    You could try with SAMTEC's FTSH-110-01-F-DV-K

    Kind regards,
    Øyvind

  • Thank you!

    Regarding the ETB, I get the following information from Segger OZone.

    CoreSight components:
    ROMTbl[0] @ E00FF000
    ROMTbl[0][0]: E000E000, CID: B105900D, PID: 000BBD21 Cortex-M33
    ROMTbl[0][1]: E0001000, CID: B105900D, PID: 000BBD21 DWT
    ROMTbl[0][2]: E0002000, CID: B105900D, PID: 000BBD21 FPB
    ROMTbl[0][3]: E0000000, CID: B105900D, PID: 000BBD21 ITM
    ROMTbl[0][5]: E0041000, CID: B105900D, PID: 002BBD21 ETM
    ROMTbl[0][6]: E0042000, CID: B105900D, PID: 000BBD21 CTI

    Neither ETB nor TPIU can be detected automatically. That's why I requested for ETB information from Nordic Semi. For example, I need to know where the ETB component is located on the board, and how large it is. 

    Thanks!

  • Hello, 

    As mentioned, we do not have much documentation regarding ETB at the moment. The only information I have, which might be of help, is this:

    /* Rom table does not list ETB, or TPIU base addresses.
     * Some debug probes may require manual configuration of these peripherals to enable tracing.
     * ETB_BASE = 0xE0051000
     * TPIU_BASE = 0xE0054000
     */

    -Øyvind

Related