Skip to main content

[TriCore] Which Debug Protocol should I use: DAP or JTAG? - Knowledgebase / FAQs by core architecture / TriCore - Lauterbach Support

[TriCore] Which Debug Protocol should I use: DAP or JTAG?

This FAQ applies to you, if your TriCore chip and your TriCore debug cable support DAP and JTAG.

  • All TriCore debug cables with a grey ribbon cable support DAP and JTAG. TriCore debug cables with a blue ribbon cable only support JTAG. See the Application Note Debug Cable TriCore for details.

  • All TriCore AUDO-Future chips (TC1797, TC1767) and newer, as well as all AURIX chips (e.g. TC2xx, TC3xx) support DAP and JTAG. See the Infineon documentation of your TriCore chip for details.

For all target boards, where only one chip is connected to the debug port, DAP is the preferred debug port type:

  • Due to the CRC, the communication is way more robust, and transmission errors can be detected by the chip as well as by the debugger. 

  • Target resets can be detected much more reliable. 

  • The protocol overhead does not affect debug performance. 

  • On TriCore AURIX, with DAP much higher debug port clocks are possible, DAP telegrams allow a more efficient communication. Thus, huge data transfers from and to the target device are much faster. Although this is not relevant for the debug performance, a faster communication speeds up reading huge onchip trace buffers.

  • For DAP Streaming, the debug port type DAPWide or DAP4 with high debug port clocks is required (up to 160 MHz is supported). For more information see Considerations to get DAP Streaming running without loss of trace data.

If more than one chip is connected to the debug port (so-called daisy-chaning), JTAG is mandatory. Please note that in this case, only one TriCore chip is allowed in the chain, and the TriCore chip must be the first device in the chain. Contact Lauterbach support to avoid creating a system that is bricked by design.

Helpful Unhelpful

20 of 23 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