# openOCD can't connect STM32F4xx board with USBRedirector

**URL:** <https://community.sparkfun.com/t/openocd-cant-connect-stm32f4xx-board-with-usbredirector/27217>\
**Category:** MicroMod\
**Tags:** arm-lpc\
**Created:** [August 1, 2013, 10:38am UTC](https://community.sparkfun.com/t/openocd-cant-connect-stm32f4xx-board-with-usbredirector/27217 "2013-08-01T10:38:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkandur](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@rkandur](https://community.sparkfun.com/u/rkandur)\
**Post date:** [August 1, 2013, 10:38am UTC](https://community.sparkfun.com/t/openocd-cant-connect-stm32f4xx-board-with-usbredirector/27217/1 "2013-08-01T10:38:29Z")

</div>

I am trying to connect STM32f4-Discovery board on Windows 7 64-bit using openOCD. The STM32F4-Discovery board is not directly connected to my desktop. It is connected via USB Redirector ([http://www.incentivespro.com/products.html](http://www.incentivespro.com/products.html)). So, when I try to openOCD with following command, I am getting the following error. Please note that the following error is not seen when the board is directly connected to the desktop (without USB redirector).

c:\>C:\MATLAB\SupportPackages\R2013bPrerelease\openocd-0.6.1\bin\openocd-0.6.1.exe -f board/stm32f4discovery.cfg

Open On-Chip Debugger 0.6.1 (2012-10-07-10:34)

Licensed under GNU GPL v2

For bug reports, read

[http://openocd.sourceforge.net/doc/doxygen/bugs.html](http://openocd.sourceforge.net/doc/doxygen/bugs.html)

adapter speed: 1000 kHz

srst\_only separate srst\_nogate srst\_open\_drain

Info : clock speed 1000 kHz

libusbx: warning [windows\_get\_device\_list] could not retrieve port number for device ‘\.\ROOT#SYSTEM#0001’, skipping: [13] The data is invalid.

libusbx: warning [windows\_get\_device\_list] ‘\.\USB#VID\_0483&PID\_3748#1&79F5D87&0&0000’ was only detected in late pass (newly connected device?) - ignoring

Error: open failed

in procedure ‘transport’

in procedure ‘init’

With, “STM32 ST-LINK Utility”, I am able to successfully connect and download the program on to STM32F4-Discovery board connected via USB-Redirector.

Please let me know what is the issue and how can I solve it.

Regards,

Raghavendra.
