Content originally posted in LPCWare by noritan_org on Fri Feb 12 20:28:27 MST 2010
I have confirmed with my LPCXpresso board with LPC1114.
1) When an external power supply is attached to VIO_3V3X
At first three wires, GNDX, SWDIOX, and SWCLKX, are connected. When the debugger begins, LPC1114 stops its operation and following messages are reported.
Quote:
LPCXpresso Debug Driver v2.0 (Jan 12 2010 15:12:48)
Looked for chip XML file in C:/Programs/NXP/lpcxpresso_3.2/bin/LPC1114/301.xml
Looked for vendor directory XML file in C:/Programs/NXP/lpcxpresso_3.2/bin/nxp_directory.xml
Found generic directory XML file in C:/Programs/NXP/lpcxpresso_3.2/bin/crt_directory.xml
NXP: LPC1114/301 Part ID: 0444102B
Connected: was_reset=true. was_stopped=false
Writing 1176 bytes to 0000 in Flash (assumed clock: 48.0MHz)
Verified-same page 0-0 with 1176 bytes in 433msec
Flash write Done
nSRST assert (if available)
Executing in user flash.
Stopped
GDB trying to set entry point of 0x00C1, but correct entry is 0x01A0
nSRST assert (if available)
Executing in user flash.
Because no DEBUG view appears, no execution menu available on "Run" menu, it is not available to debug.
When RESETX wire is added, the debugger works as well as before LPCXpresso board separated.
2) When VIO_3V3X is connected with LPC-Link part of LPCXpresso.
At first four wires, VIO_3V3X, GNDX, SWDIOX, and SWCLKX, are connected. When the debugger begins, LPC1114 stops its operation and followings messages are reported.
Quote:
LPCXpresso Debug Driver v2.0 (Jan 12 2010 15:12:48)
Looked for chip XML file in C:/Programs/NXP/lpcxpresso_3.2/bin/LPC1114/301.xml
Looked for vendor directory XML file in C:/Programs/NXP/lpcxpresso_3.2/bin/nxp_directory.xml
Found generic directory XML file in C:/Programs/NXP/lpcxpresso_3.2/bin/crt_directory.xml
NXP: LPC1114/301 Part ID: 0444102B
Connected: was_reset=true. was_stopped=false
Writing 1176 bytes to 0000 in Flash (assumed clock: 48.0MHz)
Verified-same page 0-0 with 1176 bytes in 434msec
Flash write Done
nSRST assert (if available)
Executing in user flash.
Stopped
GDB trying to set entry point of 0x00C1, but correct entry is 0x019C
nSRST assert (if available)
Executing in user flash.
Because no DEBUG view appears, no execution menu available on "Run" menu, it is not available to debug.
When RESETX wire is added, the debugger works as well as before LPCXpresso board separated.
As a conclusion, RESETX should be connected regardless of the supply the VIO_3V3X by the LPC-Link part of LPCXpresso board.
Minimum requirements are :
GNDX, SWDIOX, SWDCLKX, and RESETX
VIO_3V3X is optional.