Problem
The Sci-Bots repackaged version of the Platform IO teensy uploader tool on Windows performs the following steps to upload a firmware:
- Launch the
teensy GUI uploader
- Automatically reset the Teensy board into programming mode
- Upload the firmware to the Teensy
As of bfdbbcc, if step (2) fails and the Teensy board does not automatically reset into programming mode step (3) is not executed and the upload is unsuccessful. Unfortunately, there is no easy way for an operator to manually attempt to upload the file.
Proposed solution
- Check
stdout/stderr to verify firmware was uploaded successfully
- If firmware upload is successful, close uploader program. Otherwise, delay for
x seconds to allow operator to optionally press programming button on Teensy board.