Content originally posted in LPCWare by ianholmes on Fri Feb 01 03:06:17 MST 2013
We have confirmed that we are not using the debug pins as any other function- they're dedicated pins on this device (JTAG/SWD) so we don't get that option :-)
Debug logs below
WORKING 1769 download (this is code for the 1769)
[LEFT][SIZE=2]LPCXpresso Debug Driver v5.0 (Dec 18 2012 17:03:30 build 1101)[/SIZE]
[SIZE=2]Looked for chip XML file in C:/nxp/LPCXpresso_5.0.14_1109/lpcxpresso/bin/LPC1769.xml[/SIZE]
[SIZE=2]Looked for vendor directory XML file in C:/nxp/LPCXpresso_5.0.14_1109/lpcxpresso/bin/nxp_directory.xml[/SIZE]
[SIZE=2]Found generic directory XML file in C:/nxp/LPCXpresso_5.0.14_1109/lpcxpresso/bin/crt_directory.xml[/SIZE]
[SIZE=2]Emu(0): Conn&Reset. DpID: 2BA01477. Info: WIN64HS12[/SIZE]
[SIZE=2]SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.[/SIZE]
[SIZE=2]Packet delay: 0 Poll delay: 0.[/SIZE]
[SIZE=2]NXP: LPC1769 Part ID: 0x26113F37[/SIZE]
[SIZE=2]Connected: was_reset=false. was_stopped=false[/SIZE]
[SIZE=2]v Registered license, download limit of 128K[/SIZE]
[SIZE=2]Writing 43716 bytes to 0000 in Flash (assumed clock: 100.0MHz)[/SIZE]
[SIZE=2]Verified-same page 0-7 with 32768 bytes in 1820msec[/SIZE]
[SIZE=2]Erased/Wrote page 8-10 with 10948 bytes in 1155msec[/SIZE]
[SIZE=2]Flash write Done[/SIZE]
[SIZE=2]nSRST assert (if available)[/SIZE]
[SIZE=2]Executing in user flash.[/SIZE][/LEFT]
[SIZE=2]Stopped: Breakpoint #1[/SIZE]
[SIZE=2]NON WORKING (code for the 1778)[/SIZE]
[LEFT][SIZE=2][SIZE=2]LPCXpresso Debug Driver v5.0 (Dec 18 2012 17:03:30 build 1101)[/SIZE]
[SIZE=2]Looked for chip XML file in C:/nxp/LPCXpresso_5.0.14_1109/lpcxpresso/bin/LPC1778.xml[/SIZE]
[SIZE=2]Looked for vendor directory XML file in C:/nxp/LPCXpresso_5.0.14_1109/lpcxpresso/bin/nxp_directory.xml[/SIZE]
[SIZE=2]Found generic directory XML file in C:/nxp/LPCXpresso_5.0.14_1109/lpcxpresso/bin/crt_directory.xml[/SIZE]
[SIZE=2]Emu(0): Conn&Reset. DpID: 2BA01477. Info: WIN64HS12[/SIZE]
[SIZE=2]SWD Frequency: 150 KHz. RTCK: False. Vector catch: False.[/SIZE]
[SIZE=2]Packet delay: 0 Poll delay: 0.[/SIZE]
[SIZE=2]NXP: LPC1778 Part ID: 0x27193F47[/SIZE]
[SIZE=2]Connected: was_reset=true. was_stopped=false[/SIZE]
[SIZE=2]v Registered license, download limit of 128K[/SIZE]
[SIZE=2]Writing 47524 bytes to 0000 in Flash (assumed clock: 96.0MHz)[/SIZE]
[SIZE=2]Verified-same page 0-7 with 32768 bytes in 1758msec[/SIZE]
[SIZE=2][COLOR=#ff0000][SIZE=2][COLOR=#ff0000]15: Target error from Commit Flash write: Ef(1). Timed-out writing to flash.[/COLOR][/SIZE][/LEFT]
[/COLOR][/SIZE][SIZE=2]Stopped: VectorCatch:HardF (PC was 0xC9332020) (VectorCatch)[/SIZE]
Debug connections are shown in the attachment - not R12-15 are not fitted. The processor symbox is heirachical, so I've attached that too. We have also tried linking the jpg_reset and master resets. Master reset connects to pin 24. The device is LPC1778FBD144
An download after an ISP reset ( Reset -> 0V, NMI -> 0V, NMI -> open cct, Reset -> open cct) on the 1778 of the same code gives this log
[LEFT][SIZE=2]LPCXpresso Debug Driver v5.0 (Dec 18 2012 17:03:30 build 1101)[/SIZE]
[SIZE=2]Looked for chip XML file in C:/nxp/LPCXpresso_5.0.14_1109/lpcxpresso/bin/LPC1778.xml[/SIZE]
[SIZE=2]Looked for vendor directory XML file in C:/nxp/LPCXpresso_5.0.14_1109/lpcxpresso/bin/nxp_directory.xml[/SIZE]
[SIZE=2]Found generic directory XML file in C:/nxp/LPCXpresso_5.0.14_1109/lpcxpresso/bin/crt_directory.xml[/SIZE]
[SIZE=2]Emu(0): Conn&Reset. DpID: 2BA01477. Info: WIN64HS12[/SIZE]
[SIZE=2]SWD Frequency: 150 KHz. RTCK: False. Vector catch: False.[/SIZE]
[SIZE=2]Packet delay: 0 Poll delay: 0.[/SIZE]
[SIZE=2]NXP: LPC1778 Part ID: 0x27193F47[/SIZE]
[SIZE=2]Connected: was_reset=true. was_stopped=false[/SIZE]
[SIZE=2]v Registered license, download limit of 128K[/SIZE]
[SIZE=2]Writing 47524 bytes to 0000 in Flash (assumed clock: 12.0MHz)[/SIZE]
[SIZE=2]Verified-same page 0-7 with 32768 bytes in 1743msec[/SIZE]
[SIZE=2]Erased/Wrote page 8-11 with 14756 bytes in 1373msec[/SIZE]
[SIZE=2]Flash write Done[/SIZE]
[SIZE=2]nSRST assert (if available)[/SIZE]
[SIZE=2]Executing in bootloader.[/SIZE][/LEFT]
[SIZE=2]Stopped: Breakpoint #1[/SIZE]
NOTE that the 150kHz speed setting was set by us when we wondered if there was a timeout problem.
[/SIZE]