PaulStoffregen
Well-known member
I need feedback with Windows. If you're using Windows, please give this quick test a try.
Open Windows Device Manager and put it's window side-by-side with Arduino IDE and Teensy Loader. Expand the "Ports (COM & LPT)" section. We're looking for how many times Device Manager redraws during upload of programs using Serial+MTP, and the approximate timing relative to changes seen in Teensy Loader and the Arduino IDE windows. If you're able to see the updates long enough, please look for which show the COM port for Teensy.
On my Windows 11 laptop, I see 1 redraw as the upload starts, and 2 more shortly after "Reboot OK" in Teensy Loader. Then I see a 4th update about 4 seconds later. The first update has no COM port. The other 3 updates all show the COM port on my Windows 11 laptop.
The big mystery is what's happening between the 3rd redraw that 4th redraw which comes about 4 seconds later. During that time, attempts to open the COM port return Windows error code 433. WIN32 FormatMessage() says 433 means "A device which does not exist was specified." But the COM port is visible in Device Manager (and teensy_monitor see it too) during those 4 seconds. So far I've not been able to find any solution other than simply waiting.
Main question is whether you see similar timing in Device Manager relative to what's happening in Teensy Loader and Arduino IDE, and if you get that 4th redraw seconds later, even an approximate measurement of the time before you see the 4th update would really help.
If you have really quick fingers, can you use any terminal program to open the COM port during this time?
Open Windows Device Manager and put it's window side-by-side with Arduino IDE and Teensy Loader. Expand the "Ports (COM & LPT)" section. We're looking for how many times Device Manager redraws during upload of programs using Serial+MTP, and the approximate timing relative to changes seen in Teensy Loader and the Arduino IDE windows. If you're able to see the updates long enough, please look for which show the COM port for Teensy.
On my Windows 11 laptop, I see 1 redraw as the upload starts, and 2 more shortly after "Reboot OK" in Teensy Loader. Then I see a 4th update about 4 seconds later. The first update has no COM port. The other 3 updates all show the COM port on my Windows 11 laptop.
The big mystery is what's happening between the 3rd redraw that 4th redraw which comes about 4 seconds later. During that time, attempts to open the COM port return Windows error code 433. WIN32 FormatMessage() says 433 means "A device which does not exist was specified." But the COM port is visible in Device Manager (and teensy_monitor see it too) during those 4 seconds. So far I've not been able to find any solution other than simply waiting.
Main question is whether you see similar timing in Device Manager relative to what's happening in Teensy Loader and Arduino IDE, and if you get that 4th redraw seconds later, even an approximate measurement of the time before you see the 4th update would really help.
If you have really quick fingers, can you use any terminal program to open the COM port during this time?