So I've now populated a second PCB with no connections on the ISP pin, PIO0_12. I've checked this pin and it's sat at 3V3. There's nothing on this board but the debug header, a 3V3 regulator and the TSSOP16 LPC812. And I still can't even download a blinky example. What have I forgotten or missed in the datasheet?
This is the output from the debugger...
MCUXpresso IDE RedlinkMulti Driver v10.2 (Jul 25 2018 11:29:34 - crt_emu_cm_redlink build 555)
Reconnected to existing link server
Connecting to probe 1 core 0:0 (using server started externally) gave 'OK'
Probe Firmware: LPC-Link Probe v1.3 (NXP - LPC-Link)
Serial Number: WIN64HS12
VID:PID: 1FC9:0009
USB Path:
Using memory from core 0:0 after searching for a good core
Expecting vector catch on SYSRESETREQ signal
debug interface type = Cortex-M0+ (DAP DP ID 0BC11477) over SWD TAP 0
processor type = Cortex-M0+ (CPU ID 00000C60) on DAP AP 0
number of h/w breakpoints = 4
number of flash patches = 0
number of h/w watchpoints = 2
Probe(0): Connected&Reset. DpID: 0BC11477. CpuID: 00000C60. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Enabled.
Content of CoreSight Debug ROM(s):
RBASE E00FF000: CID B105100D PID 04000BB4C0 ROM dev (type 0x1)
ROM 1 E000E000: CID B105E00D PID 04000BB008 ChipIP dev SCS (type 0x0)
ROM 1 E0001000: CID B105E00D PID 04000BB00A ChipIP dev DWT (type 0x0)
ROM 1 E0002000: CID B105E00D PID 04000BB00B ChipIP dev FPB (type 0x0)
Inspected v.2 On-chip Flash Memory LPC800_16.cfx
Image 'LPC800 (16K) Jul 25 2018 11:19:17'
NXP: LPC812
Connected: was_reset=true. was_stopped=false
Awaiting telnet connection to port 3330 ...
GDB nonstop mode enabled
Opening flash driver LPC800_16.cfx
Sending SYSRESETREQ to run flash driver
Writing 2944 bytes to address 0x00000000 in Flash
After error Nn(05). Wire ACK Fault in DAP access -
Failed to read address register in DAP - Nn(05). Wire ACK Fault in DAP access
failed read EraseSector message readyness - rc Em(17). Debug port inaccessible after access at location 0x10000C00
Closing flash driver LPC800_16.cfx
failed read Terminate message readyness - rc Em(12). Target rejected debug access at location 0x10000C08
Target error from Commit Flash write: Em(17). Debug port inaccessible after access at location 0x10000C00
Closing flash driver LPC800_16.cfx
GDB stub (crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GDB.