Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows st-util could not retrieve port number for device #623

Closed
xtrinch opened this issue Jul 29, 2017 · 4 comments · Fixed by #695
Closed

Windows st-util could not retrieve port number for device #623

xtrinch opened this issue Jul 29, 2017 · 4 comments · Fixed by #695

Comments

@xtrinch
Copy link

xtrinch commented Jul 29, 2017

Trying to run st-util on windows 10 for connected board STM32F769I-DISCO:

C:\Users\trinch> st-info --probe
Found 1 stlink programmers
PS C:\Users\trinch> st-info --chipid
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0004', skipping: [13] The data is invalid.
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0000', skipping: [13] The data is invalid.
0x0451
PS C:\Users\trinch> st-info --descr
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0004', skipping: [13] The data is invalid.
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0000', skipping: [13] The data is invalid.
F76xxx device
C:\Users\trinch> st-util
STLINK GDB Server v0.5.6 (Mar 24 2013 10:29:19)
Many thanks to the STLINK development team.
(https://github.com/texane/stlink)

2017-07-29T17:48:37 WARN src/stlink-usb.c: Couldn't find any ST-Link/V2 devices

Though, I can program my device with ST-LINK_CLI.

PS C:\Users\trinch> st-link_cli -List
STM32 ST-LINK CLI v3.0.0.0
STM32 ST-LINK Command Line Interface

--- Available ST-LINK Probes List ---

ST-LINK Probe 0:
     SN: 0672FF524853837267132010
     FW: V2J27M15

----------------------------------

Help?

@xor-gate xor-gate added this to the Unplanned (Contributions Welcome) milestone Jul 31, 2017
@Nightwalker-87 Nightwalker-87 modified the milestones: Unplanned (Contributions Welcome), Next Feb 19, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: General, Feedback required Feb 23, 2020
@slyshykO
Copy link
Collaborator

@Nightwalker-87, Think it is connected with #438 also.

@Nightwalker-87
Copy link
Member

Nightwalker-87 commented Mar 23, 2020

PS C:\Users\trinch> st-info --chipid
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0004', skipping: [13] The data is invalid.
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0000', skipping: [13] The data is invalid.
0x0451

PS C:\Users\trinch> st-info --descr
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0004', skipping: [13] The data is invalid.
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0000', skipping: [13] The data is invalid.
F76xxx device

@slyshykO: Yes, this obviously is the same as it appeared in your MinGW test there.

@xtrinch
Copy link
Author

xtrinch commented Mar 24, 2020

Can't offer feedback which version of libusb it was as I don't have the setup anymore

@Nightwalker-87
Copy link
Member

Nightwalker-87 commented Mar 24, 2020

@xtrinch: That was expected due to the time passed. Taking into account the opening date, it would likely have been v1.0.21 by then.

@xor-gate xor-gate modified the milestones: v1.5.1, General Apr 9, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: General, v1.5.1 Apr 9, 2020
@Nightwalker-87 Nightwalker-87 linked a pull request Apr 10, 2020 that will close this issue
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Apr 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants