Hi,
In trying to learn more how to access the pyboard from my windows machine, I used zadig to change the driver for the pyboard so I could access using pyusb module on the PC. However, now when I plug in the pyboard, I no longer get a flash drive to pop up. Any idea how I can go back and reinstall the old driver? Whoops..
Thank you,
Erik
Install original windows driver
Re: Install original windows driver
Device still works as a COM port and I can get to REPL. Just no mass storage device shows up... Darn, how do I fix this?
-
- Posts: 40
- Joined: Wed Mar 08, 2017 7:24 am
Re: Install original windows driver
why you need pyusb? pyserial doesn't work?
to reinstall you can update driver or if still not working just uninstall driver and delete driver software for this device.
to reinstall you can update driver or if still not working just uninstall driver and delete driver software for this device.
erikblue wrote: ↑Tue Sep 03, 2019 11:48 pmHi,
In trying to learn more how to access the pyboard from my windows machine, I used zadig to change the driver for the pyboard so I could access using pyusb module on the PC. However, now when I plug in the pyboard, I no longer get a flash drive to pop up. Any idea how I can go back and reinstall the old driver? Whoops..
Thank you,
Erik
Re: Install original windows driver
One thing to check is your boot.py file on the board.
If it has a call to pyb.usb_mode which doesn't include MSC in the string then the pyboard won't show up as a drive.
If it has a call to pyb.usb_mode which doesn't include MSC in the string then the pyboard won't show up as a drive.
Re: Install original windows driver
pyusb is needed to DFU flash the pyboard (at least if pydfu.py is being used).
Re: Install original windows driver
If you used Zadig so you can access the DFU, then that's a different VID:PID to "regular" mode, so it shouldn't affect the MSC access. (But maybe you were using pyusb for something other than DFU mode?)
Re: Install original windows driver
Thanks for all the responses. I tried uninstalling/reinstalling drivers to no avail. I did a Windows 10 system restore to 1 week earlier and that seemed to fix it.
The only thing I did with pyusb was to list usb devices. I didn't read/write any devices, so I'm pretty sure I did something to the registry using zadig that wasn't easy to back out.
The only thing I did with pyusb was to list usb devices. I didn't read/write any devices, so I'm pretty sure I did something to the registry using zadig that wasn't easy to back out.
Re: Install original windows driver
Just saw this post on Scott Hanselman's blog, might be useful -- https://www.hanselman.com/blog/HowToFix ... ndows.aspx