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

BPv4 Upgrade breaks USB CDC - Windows 11 #183

Open
htrinkle opened this issue Apr 5, 2024 · 3 comments
Open

BPv4 Upgrade breaks USB CDC - Windows 11 #183

htrinkle opened this issue Apr 5, 2024 · 3 comments

Comments

@htrinkle
Copy link

htrinkle commented Apr 5, 2024

I have upgraded from v6,2 to the latest firmware (built using MPLAB.X, config set for PB v4, no errors).

Programmed using pirate_loader without errors. After update the USB serial port did not come up. Device Manager says Device Can't Start (10). Tried reset and unplug/re-plug USB. No luck. Windows does detect com port and enumerates it (i.e. com5). But port comes up in error state.

Re-programmed with v6.3-r2088 and everything works.

Happy to run further experiments if that would be helpful.

@htrinkle
Copy link
Author

htrinkle commented Apr 6, 2024

Error Text: in Device Manager

This device cannot start. (Code 10)

STATUS_DEVICE_DATA_ERROR

Events Tab:

Device settings for USB\VID_04D8&PID_FB00\00000001 were not migrated from previous OS installation due to partial or ambiguous device match.

Last Device Instance Id: USB\VID_0483&PID_572A\00000000001A
Class Guid: {36fc9e60-c465-11cf-8056-444553540000}
Location Path: PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(2)
Migration Rank: 0xF000FFFFFFFF0023
Present: false

I have tried to uninstall the device and then unplug/re-plug, but no luck

@Sodium-Hydrogen
Copy link

Sodium-Hydrogen commented Jul 11, 2024

I've encountered this as well. I believe there is a race condition that was introduced in the USB driver changes from v6.3 to the latest firmware.

The USB light is constantly on when connected to a windows 11 machine and windows reports the STATUS_DEVICE_DATA_ERROR.

Spamming the reset button will eventually allow the bus pirate to fully startup and process commands on windows 11 as normal.

I don't have very much time to look into this further, but hopefully this is a good starting point for narrowing down when this bug was introduced to the USB driver on the bus pirate v4.

@Sodium-Hydrogen
Copy link

Maybe #11 is related to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants