Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 7 months ago.
LPC11xx JTAG
Hello,
i am new in the ARM mbed world. I want to know how connect JTAG to an LPC11xx microcontroller. According to the datasheet:
• TCK PIO0_10 • TMS SWDIO • TDI ? • TDO PIO0_9 • TRST /Reset
Can somebody help me?
Thanks in advance!
2 Answers
7 years, 7 months ago.
There is an User manual UM10398 where you can find a drawing for the debugger connection, see Chapter 27: http://www.nxp.com/documents/user_manual/UM10398.pdf
7 years, 7 months ago.
Debugging and flashing is most often done using SWD (single wire debug) rather than full JTAG on Cortex M devices. The mbed boards also typically use SWD. You will need SWDIO (PI0_15 on LPC11u24), SWCLK (PI0_10 on LPC11u24) and GND. The NRESET pin (PI0_0 on LPC11u24) is optional, but may be useful to add. Some devices (eg LPC11u68) also support SWO for serial debug messages. Programmer devices like Segger JLINK will support both JTAG and SWD. The mbed interface hardware on lpcxpresso boards (11u68) is able to program external devices using SWD. The mbed 11u24 board on the other hand does not give you easy access to the SWD pins.