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

Custom board with debug/programming capabilities

Hi,

I'm designing a custom board and want to have debug/programming capabilities on my board. As I understand I can connect DebugOut connector of DK to DebugIn connector on my board.

Section 5.9 of DK User Guide and section 9 of Product Specification explain this a bit, but I still have the following questions.

1. Is there a pinout for the DebugOut connector?

2. How to make DebugIn connector on my custom board? Are there a pinout and other requirements described somewhere?

3. Documentation says that trace feature will occupy extra 5 pins (P0.21 - P0.25). I'm happy with that, do I need to do something to activate this behaviour?

4. What are the cases of having 20pin DebugIn connector as described in the manual? I couldn't understand it from the manual.

Thanks.

Parents Reply
  • TRACE/(ie ITM/ETM trace) is an advanced debugging feature that allows you to collect more data from the chip. However, it's not that commonly used in my experience. For regular debugging and programming, you only need the SWD lines. And the drawback with adding trace support is that you have to route the extra pins, and to utilize it you would also need a J-link with trace support (not supported with the on-board Jlink lite on the DKs)

Children
Related