Teensy 4.1 USB passthrough stops working after the second upload

pickone

Member
Hi everyone,

I'm running into a frustrating issue with my Teensy 4.1 USB passthrough project that forces me to do a full Windows restart after every second upload during development.
Any workaround to not restart my computer everytime?

Thanks!
 
On a PC, a USB port freeze due to EMI comming from the peripheral. Also when the 5V is short by the peripheral.
If you are lucky, a simple application restart will restart the USB port. Less lucky, you should disconnect-reconnect the cable on this port. And unlucky, you should restart your PC.
I would check how the USB port 5V is used on your board. And the filtering of power supplies, and all signal comming from the eyternal world.
 
I already disconnected all things and connected them back, and it still doesn’t work... even on a different usb port...
There was something online about removing some things from Device Manager, but I couldn’t find exactly what it was. That’s also why I posted here, maybe someone has a workaround.
 
Windows is notoriously poor when it comes to developing USB devices, though usually only if you've left the VID and PID the same but changed the descriptor contents - if your sketch always looks like the same USB device there ought not to be so much of an issue.

I've used USBDeview in the past to allow me to uninstall an offending device, then when you plug it in again Windows thinks it's never seen it, and is forced to reload the drivers. A switchable USB hub is really helpful, too.
 
Back
Top