I want to explore the micro trace buffer on the 8-pin DIP LPC810 using the Keil uVision5 toolchain and a ULINK2 debugger. I've looked at the schematic for the LPC800 mini kit and also looked at other LPC810-based schematics by Leon Heller and Jim Eli in order to establish the correct wiring of the LPC's debug pins to the SWD connector.
I have 3 wires connected from the LPC810 to the SWD connector: nRESET, SWCLK and SWDIO. I also have a common ground between them.
I created a simple program to re-enable the SWD and RESET pins via the switch matrix:
LPC_SWM->PINENABLE0 = 0xffffffb3;
I succesfully programmed the resultant .hex file using FlashMagic and was then able to get the Keil toolchain past the flash uploader stage and into debug mode. However, I don't appear to be able to set breakpoints, inspect memory or single-step.
Can anyone share their successful LPC810 SWD debug setup or does everyone use FlashMagic ?