Hy,
I work with Teensy 3.5 (and also sometime 3.2) on TeensyDuino 1.5.6 since years without any problem. Great board, thanks a lot for this product (I like the 5V tolerant that simplify schematics, too bad it's gone... but show must go on)!!
Last week, I wanted to try ItsyBisty M4 Express from Adafruit, and installed the SAMD librairies from Adafruit on Arduino IDE 1.8.13 (I expected it won't destroy anything on TeensyDuino, but it did).
From that moment, I've problem with IDE losing port both with TeensyDuino or Adruino IDE, both with ItsyBitsy M4 or Teensy 3.5...
The most important for me is to work with my Teensy3.5 that support a lot of projects. So I uninstall the Adafruit librairies from TeensyDuino. But the problem is still there!!
I start in this configuration below, with the port selected, and a small blink sketch with a Serial (9600 bauds) that post "OK" every 500ms, serial monitor window opened.
→ sketch uploaded without problem, port always in list, serial monitor works fine. It blinks.
note: I'm not sure, but in my memory, the "tools" tab doesn't show so much options... something change in TeensyDuino after the Adadfruit librairies installation. And doesn't come back with uninstall.
I can modify and upload the sketch 2, 3 or 5 times. But at one time, I get an upload error and lose the port and get this:
And in the serial monitor window, nothing more happens.
What is strange: if I try to upload again without changing anything (and no push Program button) I can upload the sketch and it works... or not... seems that there is no relation between the upload error and the port change.
After a while, 30s or more, the port reappears. But this is not a guarantee of uploading... again, I don't see the relation between my capability to upload and the port displayed in the tool list.
I can upload 5 times, and then have the bug 6 times... big sketch, small sketch... I didn't identify what determines the problem.
Another scenario is: the port is in list, I upload, get an error, press the Program button and nothing happens... after 20s or 30s the sketch upload (without me doing anything), but the port is still in second case. In this scenario, serial monitor doesn't works. After a while 30s or 1mn the serial monitor write again and I can see again the port in list.
The only thing I'm sure, is that when the port display show the second case, the serial monitor doesn't work (difficult to reproduce the bug, I'm not sure sure).
One or twice I get an "HID" port (I remind you that in any case, I never touch the tools->port, only the "upload" button, and the "tools" in menu bar to show the port list, nothing else).
My wish is to continue to work on my Teensy 3.5... I hopped that re-install TeensyDuino will work, but all my attempts have failed, because there is still something in the librairies... and a new installation get the bad piece of librairies from the other versions of Arduino IDE... Is there a way to erase all installation and re-install TeensyDuino to re-start again with a "blank page"? In which system folder (OSX 10.14.4) Arduino IDE store the modifications?... to erase it?
note: I ask Adafruit here:
https://forums.adafruit.com/viewtopic.php?t=201360
... and wait a solution to be able to work again...
Thanks a lot!
I work with Teensy 3.5 (and also sometime 3.2) on TeensyDuino 1.5.6 since years without any problem. Great board, thanks a lot for this product (I like the 5V tolerant that simplify schematics, too bad it's gone... but show must go on)!!
Last week, I wanted to try ItsyBisty M4 Express from Adafruit, and installed the SAMD librairies from Adafruit on Arduino IDE 1.8.13 (I expected it won't destroy anything on TeensyDuino, but it did).
From that moment, I've problem with IDE losing port both with TeensyDuino or Adruino IDE, both with ItsyBitsy M4 or Teensy 3.5...
The most important for me is to work with my Teensy3.5 that support a lot of projects. So I uninstall the Adafruit librairies from TeensyDuino. But the problem is still there!!
I start in this configuration below, with the port selected, and a small blink sketch with a Serial (9600 bauds) that post "OK" every 500ms, serial monitor window opened.
→ sketch uploaded without problem, port always in list, serial monitor works fine. It blinks.
note: I'm not sure, but in my memory, the "tools" tab doesn't show so much options... something change in TeensyDuino after the Adadfruit librairies installation. And doesn't come back with uninstall.
I can modify and upload the sketch 2, 3 or 5 times. But at one time, I get an upload error and lose the port and get this:
And in the serial monitor window, nothing more happens.
What is strange: if I try to upload again without changing anything (and no push Program button) I can upload the sketch and it works... or not... seems that there is no relation between the upload error and the port change.
After a while, 30s or more, the port reappears. But this is not a guarantee of uploading... again, I don't see the relation between my capability to upload and the port displayed in the tool list.
I can upload 5 times, and then have the bug 6 times... big sketch, small sketch... I didn't identify what determines the problem.
Another scenario is: the port is in list, I upload, get an error, press the Program button and nothing happens... after 20s or 30s the sketch upload (without me doing anything), but the port is still in second case. In this scenario, serial monitor doesn't works. After a while 30s or 1mn the serial monitor write again and I can see again the port in list.
The only thing I'm sure, is that when the port display show the second case, the serial monitor doesn't work (difficult to reproduce the bug, I'm not sure sure).
One or twice I get an "HID" port (I remind you that in any case, I never touch the tools->port, only the "upload" button, and the "tools" in menu bar to show the port list, nothing else).
My wish is to continue to work on my Teensy 3.5... I hopped that re-install TeensyDuino will work, but all my attempts have failed, because there is still something in the librairies... and a new installation get the bad piece of librairies from the other versions of Arduino IDE... Is there a way to erase all installation and re-install TeensyDuino to re-start again with a "blank page"? In which system folder (OSX 10.14.4) Arduino IDE store the modifications?... to erase it?
note: I ask Adafruit here:
https://forums.adafruit.com/viewtopic.php?t=201360
... and wait a solution to be able to work again...
Thanks a lot!