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

Accepted Answer

Furthermore i need an OM13054: LPC-Link2 and lpcxpresso, is it right?

posted by Roman Bürkle 19 Sep 2016

yes, the LPC-Link2 and LPCXpresso work well together and you can use these also for other LPC microcontrollers.

posted by Johannes Stratmann 20 Sep 2016
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.