Issues with Arduino IDE 2.3.7 and Teensy 4.1

toyosm

Well-known member
Hey folks, I recently updated the Arduino IDE to the 2.3.7 version and came with some issues with Teensy 4.1. Some times after you upload a new sketch the IDE stops recognizing the Teensy 4.1 port, it's still alive because when you hit the program button the Teensy Loader successfully uploads the sketch, but obviously stops all serial monitor activity and only can get it to re recognize the board after a reboot. Tried different cables (alongside with a new one) and different teensys (old and a new board) and the same. Tried the 15 second button wipe and the same, only after rebooting comes back. I'm using Mac with the latest update. Anyone else have experienced this issues? something I can do? if not I'll reverse to the previous IDE version.
 
You didn't mention which program you're using. Please test with something simple, like File > Examples > 01.Basics > Blink.

Teensy has native USB, which is awesome because it's so fast and can become many types of USB devices. But it means the USB stack is running as code compiled into your program. It's not on a completely separate chip like Arduino Uno. If your program overwrites memory or does a variety of other wrong things, those errors can interfere with the USB code.

That's why it's important to first test with a simple program like LED blink.
 
Happens with all sorts of different codes, custom code, simple, complex, blink, etc. Yes I'm using all the time Serial + MIDI + Audio, didn't tried with other USB settings because that's my main use. That's why I was pointing directly to the new arduino version
 
I'm seeing something similar with "Serial + MTP" config, the serial monitor stops working after an upload and needs to be closed/re-opened several times before it starts working again.
 
Seems to be working OK for me, at least for the last 40 minutes. macOS Tahoe 26.1, Intel MacBook Pro 16" 2019. Teensy is connected via a Dell dock and USB hub. Running a slightly modified Blink sketch, with Serial+MIDI+Audio; that was with a fairly standard cores, trying now with alex6679's multi-channel USB improvements (not that they're in use, of course).
 
Back
Top