I experienced a programming (rebooting) failure problem on a PC, while the same Teensy and USB cable work fine on other computers. Pressing the reset button occasionally helps (see detailed below).
I notice that the rebooting response on Teensyduino always comes a few seconds AFTER the programmer reporting failure. Therefore, I suspect the issue is that the Teensy communication takes too long to respond to the reboot command, so the programmer reports failure BEFORE the reboot confirmation arrives and shows up on Teensyduino.
Indeed, I can get the programmer working be either: 1. Press the reset button a few seconds before I start uploading from my IDE; 2. Upload from my IDE once to send the reboot command, and then quickly initiate uploading again. Yet, both methods are a bit troublesome to operate.
Is there a way to set the timeout of the programmer? I think this problem can be easily fixed by allowing it to wait for a few seconds longer.
More details:
Windows 7, Teensy3.1,
IDE: Arduino or PlatformIO, Teensyduino 1.42
This doesn't depend on the code being uploaded.
I notice that the rebooting response on Teensyduino always comes a few seconds AFTER the programmer reporting failure. Therefore, I suspect the issue is that the Teensy communication takes too long to respond to the reboot command, so the programmer reports failure BEFORE the reboot confirmation arrives and shows up on Teensyduino.
Indeed, I can get the programmer working be either: 1. Press the reset button a few seconds before I start uploading from my IDE; 2. Upload from my IDE once to send the reboot command, and then quickly initiate uploading again. Yet, both methods are a bit troublesome to operate.
Is there a way to set the timeout of the programmer? I think this problem can be easily fixed by allowing it to wait for a few seconds longer.
More details:
Windows 7, Teensy3.1,
IDE: Arduino or PlatformIO, Teensyduino 1.42
This doesn't depend on the code being uploaded.