When I connected to my target and issue the "shutdown" command 
via telnet, my target immediately freezes. However, I'd like to 
use my target device, no matter if openOCD is debugging it or 
not.

Ctrl-C doesn't send the target to nirvana, thought.


I tracked this down to a ftdi_disable_bitbang() call that is only 
there in the BUILD_FT2232_LIBFTDI patch.



BTW: urjtag is even worse :-)
--- openocd.orig/src/jtag/ft2232.c
+++ openocd/src/jtag/ft2232.c
@@ -2328,8 +2328,6 @@
 
        status = FT_Close(ftdih);
 #elif BUILD_FT2232_LIBFTDI == 1
-       ftdi_disable_bitbang(&ftdic);
-
        ftdi_usb_close(&ftdic);
 
        ftdi_deinit(&ftdic);
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to