Hardware
- Board: Teensy 4.1
- OS: Windows 10 Pro 10.0.19045
- Driver: usbser.sys (Windows built-in USB Serial driver)
Problem Description
The Teensy 4.1 can send data to PC successfully (I can see serial output in Arduino IDE Serial Monitor and SecureCRT), but receiving any input causes immediate disconnection.
Symptoms:
- Serial output from Teensy works perfectly
- When I type any character and press Enter in Serial Monitor/SecureCRT, the COM port disconnects immediately
- The device disappears from Device Manager and reappears after a few seconds
- This happens with both Arduino IDE Serial Monitor and SecureCRT
What I've Tried
- Replaced USB cable with phone data cable → No change
- Connected to motherboard USB port (not front panel) → No change
- Uninstalled conflicting USB drivers:
- Prolific USB-to-Serial (oem164.inf, plser.sys)
- CH340 (oem95.inf, ch341.sys)
- FTDI drivers (oem17.inf, oem18.inf, oem141.inf)
- Uninstalled all USB devices from Device Manager and restarted → No change
- Tested Teensy on another computer → Works perfectly (input and output both work)
- Tried different firmware with minimal serial test code → Same issue
- Tried to uninstall Teensy driver, but "Delete the driver software for this device" option is not available (because it uses Windows built-in usbser.sys)
Firmware Code
I'm using a simple serial command parsing firmware based on PJRC official examples:
void loop() {
if (Serial.available() > 0) {
String cmd = Serial.readStringUntil('\n');
cmd.trim();
if (cmd.length() > 0) {
processCommand(cmd);
}
}
delay(10);
}
The same code works perfectly on another computer.
Question
Is this a known issue with Windows 10 USB Serial driver? Since the Teensy works fine on another computer but fails on this Windows 10 machine, and I've already removed all conflicting USB drivers, what else can I try?
