Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootloop with PlatformIO Teensy package ver. 4.18.0 / 1.58 #84

Open
j-lang opened this issue May 21, 2023 · 5 comments
Open

Bootloop with PlatformIO Teensy package ver. 4.18.0 / 1.58 #84

j-lang opened this issue May 21, 2023 · 5 comments

Comments

@j-lang
Copy link
Contributor

j-lang commented May 21, 2023

There is an issue with the current Teensy package ver. 4.18.0 for PlatformIO.
I updated VSCode and platforms. Afterwards made a configuration change in BoardConfig.h and uploaded new code.
Result: orange LED is on, and every 8 second the board starts, windows shows and unknown usb serial device.
Undo of last change -> LED is on every 8 seconds reboot of teensy.
Tested the same on a second Teensy 4.0 -> the same problem.
Tried to build with Arduino IDE (everything up to date) -> the same problem
Tried everything on another PC -> the same problem (fresh installation of PlatformIO and Arduino IDE)
"Blink" example code works on every Platform.
After hours I tried installing Teensy Package 4.17.0 that worked in march -> the code is running again!

Currently not working package: Arduino Teensy 1.58.0, 1.58.1, PlatformIO 4.18.0
Currently latest working package: Arduino Teensy 1.57.2, PlatformIO 4.17.0

@j-lang j-lang changed the title Bootloop with Teensy 4.18.0 / 1.58 Bootloop with PlatformIO Teensy package ver. 4.18.0 / 1.58 May 21, 2023
@Rodemfr
Copy link
Owner

Rodemfr commented May 21, 2023

I have the same problem. No idea where it comes from so far. I will investigate...

@Pacer27
Copy link

Pacer27 commented May 22, 2023

Hello, this Problen is known.

platformio/platformio-core#3742

@Rodemfr
Copy link
Owner

Rodemfr commented May 23, 2023

Thanks for the link, I will check the workaround.
Until then I confirm that switching back to PIO 4.17 solves the issue. I will study the PIO workaround in Pacer27' link and try to understand why Blink works while MTN is not even able to write a simple text in a loop.

@Rodemfr
Copy link
Owner

Rodemfr commented Jun 11, 2023

The problem really seems to come from Teensy's SW stack. And there is no easy way for MTN to avoid it. So, until the problem is fixed, I added a warning in the homepage readme to use Teensyduino 1.57.2

@nmeyne
Copy link

nmeyne commented Dec 11, 2023

Hi! I'm not sure if this is related to the same, or a different stack issue, but I got compile errors with the Arduino IDE v2.2.1 when using Teensyduino 1.57.2 and TeensyTimer Tool version 1.4.1. I regressed to TTT v 1.3.1 and it all compiled and ran fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants