Adam Francey
New member
I mainly use a Windows machine, I have lost the ability to upload anything to any Teensy with TyCommander on any Windows machine.
After modifying one .cpp file***, TyCommander can no longer upload a project I have been working on. The code compiles with no problem in Arduino (but does not successfully upload). When using TyCommander to upload, I get somewhere between 20% to 60% uploaded before receiving "I/O error while writing" error message. Importantly, no other projects are able to upload through TyCommander either. Even the simple Blink.ino example sketch fails to upload through TyCommander on a known to work Teensy.
I have troubleshooted with multiple Teensies and USB cords, experiencing the same symptoms. I have reinstalled Arduino + Teensyduino and TyTools. Finally, I tried compiling and uploading with TyCommander on a MacOS machine: a Teensy that Windows was unable to program had no problems uploading the same project on Mac.
I had access to a brand new Windows laptop. I installed Arduino + Teensyduino and TyTools and compiled the Blink.ino example sketch, and uploaded with no issue through TyCommander. I then compiled my project and tried to upload with TyCommander: fail. Then I tried uploading the previously compiled Blink.hex to the Teensy: fail. I tried with a different Teensy: fail.
Then I had access to a second MacOS machine. It also has no problems compiling and uploading the code to any Teensy that I tried.
How do I get my COM ports back?
***
This started happening right after I made a specific change to a file: I wrote a python script to generate a .txt file formatted so that I could copy the contents to a .cpp. Is it possible I introduced some special characters into the file that results in these symptoms?
After modifying one .cpp file***, TyCommander can no longer upload a project I have been working on. The code compiles with no problem in Arduino (but does not successfully upload). When using TyCommander to upload, I get somewhere between 20% to 60% uploaded before receiving "I/O error while writing" error message. Importantly, no other projects are able to upload through TyCommander either. Even the simple Blink.ino example sketch fails to upload through TyCommander on a known to work Teensy.
I have troubleshooted with multiple Teensies and USB cords, experiencing the same symptoms. I have reinstalled Arduino + Teensyduino and TyTools. Finally, I tried compiling and uploading with TyCommander on a MacOS machine: a Teensy that Windows was unable to program had no problems uploading the same project on Mac.
I had access to a brand new Windows laptop. I installed Arduino + Teensyduino and TyTools and compiled the Blink.ino example sketch, and uploaded with no issue through TyCommander. I then compiled my project and tried to upload with TyCommander: fail. Then I tried uploading the previously compiled Blink.hex to the Teensy: fail. I tried with a different Teensy: fail.
Then I had access to a second MacOS machine. It also has no problems compiling and uploading the code to any Teensy that I tried.
How do I get my COM ports back?
***
This started happening right after I made a specific change to a file: I wrote a python script to generate a .txt file formatted so that I could copy the contents to a .cpp. Is it possible I introduced some special characters into the file that results in these symptoms?