From: Tarek B. <tar...@gm...> - 2021-07-21 11:11:03
|
this reminds me of an old issue with Windows 7 and some USB 3.0 controllers (like NEC/Renesas) upgrading the controller driver may solve the issue (please see https://github.com/libusb/libusb/wiki/Windows#USB_3x_Support ) I have used the package pointed out by Xiaofan without issues on WIN 10, I can't check on WIN7 before next week. By the way this package is not 64-bit, it's compiled for 32-bit, and should be OK on 64-bit (my case for example). Le mer. 21 juil. 2021 à 11:16, Xiaofan Chen <xia...@gm...> a écrit : > On Wed, Jul 21, 2021 at 4:50 PM Xiaofan Chen <xia...@gm...> wrote: > > > > On Tue, Jul 20, 2021 at 9:30 PM R. Diez via OpenOCD-user > > <ope...@li...> wrote: > > > Unfortunately, I am still at a loss regarding the ST-Link V2. That is > no > > > composite device, so your suggestion wouldn't help in that case. > > > > > > > Take note ST-Link V2 is a USB Composite Device. > > > > You have an option for the following two. > > 1) Debug (WinUSB.sys) + Virtual Com Ports (usbser.sys) > > 2) Debug (WinUSB.sys) + Virtual Com Ports (usbser.sys) + USB Mass Storage > > > > In my test, I choose to go with Option 1. I do not see the difference > > if using Option 2. > > > > And I do not need to use WinUSB driver to replace the USB > > Composite Parent. It just works with ST's default driver. > > > > Even if I switch to Option 2, I still have no issues. > > C:\work\libusb\openocd_test\release\bin> .\openocd.exe -f > board\st_nucleo_f3.cfg > Open On-Chip Debugger 0.11.0 (2021-03-07-12:52) > Licensed under GNU GPL v2 > For bug reports, read > http://openocd.org/doc/doxygen/bugs.html > Info : The selected transport took over low-level target control. The > results might differ compared to plain JTAG/SWD > srst_only separate srst_nogate srst_open_drain connect_deassert_srst > > Info : Listening on port 6666 for tcl connections > Info : Listening on port 4444 for telnet connections > Info : clock speed 1000 kHz > Info : STLINK V2J37M27 (API v2) VID:PID 0483:374B > Info : Target voltage: 3.253891 > Info : stm32f3x.cpu: hardware has 6 breakpoints, 4 watchpoints > Info : starting gdb server for stm32f3x.cpu on 3333 > Info : Listening on port 3333 for gdb connections > > > > -- > Xiaofan > > > _______________________________________________ > OpenOCD-user mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openocd-user > |