Yes, every sketch. Any sketch. It is always after a seemingly determinate amount of time: something like 1.4 seconds.
Here's a test sketch that still locks up on me:
It prints the start up message and then several .'s and dies. It will print the same number of dots if rebooted. Changing the 1000 ms delay at the beginning will cause more or less dots but the 1.4 seconds remains. Changing the loop delay will cause more or less dots to appear but the 1.4 second crash remains. Changing the startup delay to more than 1.4 seconds causes nothing to ever print. I must believe that something is hosed on my machine as someone would have noticed this by now otherwise.
I'm running Linux (Mint) the latest version. Arduino IDE 1.6.12 and 1.31 TeensyDuino. This configuration should have been thoroughly tested by now so it must be me but I don't know why. The only complicating factor I can think of is that my laptop is set to Russian for the default language and the IDE is in Russian. Maybe there is some sort of oddity with using a US keyboard but with the interface in Russian? Or, maybe I somehow have corrupted files? Or, is the 1.6.12 IDE not the thing to use? It's really acting like there is a watchdog set to 1.4 seconds and I'm not resetting any watchdog. But, I'm not aware of any such thing being active on a Teensy by default. Also, yes, I did try different speeds, down to 72MHz and nothing changes at all. Always I can do whatever I want in the sketch but when 1.4 seconds comes around it dies.
EDIT: I take it back, the time it dies at is 1780ms. It sometimes could fluctuate up to around 1785 but it is very tight around that exact time when it dies.
Here's a test sketch that still locks up on me:
Code:
void setup() {
delay(1000);
Serial.println(F("Board test."));
}
void loop() {
delay(25);
Serial.print(".");
}
It prints the start up message and then several .'s and dies. It will print the same number of dots if rebooted. Changing the 1000 ms delay at the beginning will cause more or less dots but the 1.4 seconds remains. Changing the loop delay will cause more or less dots to appear but the 1.4 second crash remains. Changing the startup delay to more than 1.4 seconds causes nothing to ever print. I must believe that something is hosed on my machine as someone would have noticed this by now otherwise.
I'm running Linux (Mint) the latest version. Arduino IDE 1.6.12 and 1.31 TeensyDuino. This configuration should have been thoroughly tested by now so it must be me but I don't know why. The only complicating factor I can think of is that my laptop is set to Russian for the default language and the IDE is in Russian. Maybe there is some sort of oddity with using a US keyboard but with the interface in Russian? Or, maybe I somehow have corrupted files? Or, is the 1.6.12 IDE not the thing to use? It's really acting like there is a watchdog set to 1.4 seconds and I'm not resetting any watchdog. But, I'm not aware of any such thing being active on a Teensy by default. Also, yes, I did try different speeds, down to 72MHz and nothing changes at all. Always I can do whatever I want in the sketch but when 1.4 seconds comes around it dies.
EDIT: I take it back, the time it dies at is 1780ms. It sometimes could fluctuate up to around 1785 but it is very tight around that exact time when it dies.
Last edited: