You are viewing an older revision! See the latest version
lpc11u35_lpc1768_INTERFACE
A brief discussion on how to create a programming interface for the LPC1768 using LPC11U35

Form a starting point I looked through the HDK documentation, and released that this is quite a simple circuit.
as my appetite grew, I looked for a way of making it a reality.
Prior to this, I have been looking through the schematics & datasheets for LPC812-MAX,
surprisingly, I found it had all the electronics I needed to make a prototype,
Step 1, remove LPC812, and clean pads, so no shorts, Step 2, connect some wires between LPC812-MAX board, and target board, using the MBED/Espresso pins, Gnd, 3V3, Reset, SWDIO & SWCLK, - that's all. Step 3, Re-Flash LPC812-MAX with HDK Software, Step 4, reset / unplug, New device appears, and installs stuff. Step 5, compile test program, save to new drive, reset TARGET, job done.
Whats next ?
This is not an ideal solution, as the 'programmer' is quite big and unyielding.
So, design a custom PCB.
Using the HDK demo schematic, I stripped out all but minimal parts, and came up with

I have sent the files off to ragworm PCB So I should have them back and built by the end of November. Unfortuanatly, the PCB was not big enough for the 'MBED Enabled' LOGO !
The pin out I chose was the same as the LPC-Expresso header, that I butcherd some time ago,
I did have the original intention of using the programmer part, but I never got there, as it was not MBED friendly, (as this design).
but, I think if (when) i design a second iteration, then the two unused pins (JTAG uses more pins),
will link through to the CDC Serial.
Also conveniently matching the FTDI 3V3 serial lead, I have been using for serial programming, which in comparison is PAINFULLY SLOW, less than 2 seconds for SWD, verses more than 30 seconds for a reasonable sized program.
Information
Connections:
| pin | FT232 | JTAG* | MyTag |
|---|---|---|---|
| 1 | Gnd. | Gnd. | Gnd. |
| 2 | CTS | Pow | |
| 3 | 5V0 | J-Reset | |
| 4 | TXD | J-TDIX | |
| 5 | RXD | J-TDO | SWO |
| 6 | RTS | J-TCLK | SWCLK |
| 7 | - | J-TMS | SWDIO |
| 8 | - | .. | 3V3 |
..