I've been using the Teensy 4.0 for several years as part of an LED controller for outdoor art installations (like this one). I've had some challenges for sure, but all were eventually overcome, often with help from this community (thanks!).
For most of that time I've been using the VSCode + PlatformIO (PIO) development environment. PIO is complex and has some quirks, but it's generally been reliable. I rely on the PIO community forum to get past any issues that I can't figure out myself.
Now I find myself stuck on an issue that appears to be a compatibility issue between the Teensy Loader and PIO. It cropped up about 6 months ago. I posted about this on the PIO forum (most recent post, original post), but I haven't been able to get a resolution. It appears that the PIO folks fixed a related bug, but it had no impact on my situation. I haven't been able to get the developers to respond since the original post.
The problem is that the Teensy Loader sometimes (not always) "stalls" during code upload, and this appears to impact the startup of the PIO serial monitor. The stall duration is inconsistent, and can be up to 15-20 seconds. When the upload completes (and sometime it doesn't), the serial monitor sometimes (not always) start up, but if it does start, I've missed all of there messages that my code sends at a startup. This make debugging really difficult.
Here are the details of my environment: MacOS 11.7, PIO Core 6.1.7a3, PIO IDE 3.0.0, Teensy Loader 1.5.7
There was another post on the PJRC forum that referred to this problem, but it also mentioned some unrelated issue, so I thought it would be best to start a thread just on this issue.
Anyone else have similar problems, or know how to fix it? Thanks!
For most of that time I've been using the VSCode + PlatformIO (PIO) development environment. PIO is complex and has some quirks, but it's generally been reliable. I rely on the PIO community forum to get past any issues that I can't figure out myself.
Now I find myself stuck on an issue that appears to be a compatibility issue between the Teensy Loader and PIO. It cropped up about 6 months ago. I posted about this on the PIO forum (most recent post, original post), but I haven't been able to get a resolution. It appears that the PIO folks fixed a related bug, but it had no impact on my situation. I haven't been able to get the developers to respond since the original post.
The problem is that the Teensy Loader sometimes (not always) "stalls" during code upload, and this appears to impact the startup of the PIO serial monitor. The stall duration is inconsistent, and can be up to 15-20 seconds. When the upload completes (and sometime it doesn't), the serial monitor sometimes (not always) start up, but if it does start, I've missed all of there messages that my code sends at a startup. This make debugging really difficult.
Here are the details of my environment: MacOS 11.7, PIO Core 6.1.7a3, PIO IDE 3.0.0, Teensy Loader 1.5.7
There was another post on the PJRC forum that referred to this problem, but it also mentioned some unrelated issue, so I thought it would be best to start a thread just on this issue.
Anyone else have similar problems, or know how to fix it? Thanks!