On Feb 23, 2009, at 2:46 AM, Holger Schurig wrote:

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
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development


Committed revision 1869.

--
Rick Altherr
[email protected]

"He said he hadn't had a byte in three days. I had a short, so I split it with him."
 -- Unsigned



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to