lpcware

Communication error: No error - LPCXpresso

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by william.vh on Sun Jun 27 14:20:24 MST 2010
[FONT=Arial][SIZE=2]Issue:[/SIZE][/FONT]
[FONT=Arial][SIZE=2]Unable to load program to LPC1343 LPCXpresso board.[/SIZE][/FONT]
[FONT=Arial][SIZE=2]Was working earlier.[/SIZE][/FONT]

[FONT=Arial][SIZE=2]Error I get is:[/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=red]"Error launching Debug\pwm.axf[/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=red]Remote communication error: No error."[/COLOR][/SIZE][/FONT]

[FONT=Arial][SIZE=2]The program on the target board is running.[/SIZE][/FONT]
[FONT=Arial][SIZE=2]The LPC-Link properly configures as "LPC-Link Debug Probe V1.1" when I launch the debugger.[/SIZE][/FONT]

[FONT=Arial][SIZE=2]The message from console is: [/SIZE][/FONT]
[FONT=Arial][SIZE=2]"[COLOR=red]LPCXpresso Debug Driver v2.0 (Jun 10 2010 11:46:12)[/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=red]Looked for chip XML file in C:/nxp/lpcxpresso_3.4/bin/LPC1343.xml[/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=red]Looked for vendor directory XML file in C:/nxp/lpcxpresso_3.4/bin/nxp_directory.xml[/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=red]Found generic directory XML file in C:/nxp/lpcxpresso_3.4/bin/crt_directory.xml[/COLOR]"[/SIZE][/FONT]
[FONT=Arial][SIZE=2]where is hangs and errors.[/SIZE][/FONT]

[FONT=Arial][SIZE=2]Running with 'verbose mode', the last few lines of console are:[/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=red]"17 target extended-remote | crt_emu_lpc11_13_nxp -g -mi -4 -pLPC1343 -wire=winUSB -msg-port=1391[/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=red]&"target extended-remote | crt_emu_lpc11_13_nxp -g -mi -4 -pLPC1343 -wire=winUSB -msg-port=1391\n"[/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=red]&"Pc: ( 0) Reading remote configuration\n"[/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=red]&"Remote communication error: No error.\n"[/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=red]17^error,msg="Remote communication error: No error."[/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=red](gdb) [/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=red]18-gdb-exit[/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=red]18^exit"[/COLOR][/SIZE][/FONT]


[FONT=Arial][SIZE=2]What I have treied to overcome error:[/SIZE][/FONT]
[LIST]
[*][FONT=Arial][SIZE=2]Power cycle Windows box, and LPCXpresso[/SIZE][/FONT]
[*][FONT=Arial][SIZE=2]Disconnect, reconnect LPCXpresso[/SIZE][/FONT]
[*][FONT=Arial][SIZE=2]install/reinstall USB driver[/SIZE][/FONT]
[*][FONT=Arial][SIZE=2]ran Windows USB registery setting to maintain USB[/SIZE][/FONT]
[/LIST][SIZE=2][FONT=Arial]When adding check to "Initialize LPC-Link as HID", the error changes to [COLOR=red]"02: Failed on connect."[/COLOR][/FONT][/SIZE]
[FONT=Arial][SIZE=2][COLOR=#ff0000][/COLOR][/SIZE][/FONT]


[FONT=Arial][SIZE=2][COLOR=black][B]Any Help is appreciated!![/B][/COLOR][/SIZE][/FONT]

Outcomes