My problem is, how can i work with jtag (channel A) and serial interface (channel B) at the same time? When i deinstall the VCP-driver, OpenOCD works fine with the adapter. When i install the VCP-driver, OpenOCD can’t communicate with the adapter (i tried this with both, libftdi and ftd2xx driver).
I start OpenOCD with this command:
openocd -f /opt/local/share/openocd/scripts/interface/openocd-usb.cfg -f /opt/local/share/openocd/scripts/board/olimex_stm32_h103.cfg
and get
Open On-Chip Debugger 0.5.0 (2012-03-31-14:35)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
1000 kHz
adapter_nsrst_delay: 100
jtag_ntrst_delay: 100
cortex_m3 reset_config sysresetreq
Warn : Unable to open FTDI Device tried: 'Dual RS232' and 'Dual RS232 A'
Error: unable to open ftdi device: 3
Error: ListDevices: 2
Error: 0: "Dual RS232 A"
Error: 1: "Dual RS232 B"
in procedure 'init'
I tried to remove entries from the Info.plist (look at this topic: viewtopic.php?t=8923), but without success. I removed all entries at IOKitPersonalities, but there is still /dev/tty.usbserial-00002226A and /dev/tty.usbserial-00002226B (reboot, disconnect + connect the device)?¿?
My system:
software:
-
OS X Lion
-
VCP from ftdi installed
-
D2XX via macport installed (libftd2xx @1.1.0_0 (active))
-
OpenOCD via macport installed (openocd @0.5.0_1+ft2232_ftd2xx (active))
hardware:
- OpenOCD USB Adapter (http://shop.embedded-projects.net/index … 14&lang=en) with a ft2232d-chip (http://www.ftdichip.com/Products/ICs/FT2232D.htm)