defragster
Senior Member+
Interesting - I just made this note somewhere else yesterday?
>> Should there be a DELAY after CrashReport Printing?
Otherwise, the code may get to the Re-Crash before the USB can survive the printing out to the Host!
Need to test if it helps in this case. There was a Crash and the Crash was RECORDED, but the next boot crashed before it could be made 'public'.
Glad to help.
>> Should there be a DELAY after CrashReport Printing?
Otherwise, the code may get to the Re-Crash before the USB can survive the printing out to the Host!
Need to test if it helps in this case. There was a Crash and the Crash was RECORDED, but the next boot crashed before it could be made 'public'.
Glad to help.
Tim (@defragster):
Thanks for that golden nugget of info !!
...
Code:#include <Wire.h> #include <DS1307RTC.h> void setup() { unsigned long check_time = millis(); Serial.begin(9600); while (!Serial && ((millis() - check_time) < 3000)); if (CrashReport) { Serial.print(CrashReport); [B]delay(10000);[/B] } } void loop() {}
If you simply comment out the "#include <Wire.h>" line, the Teensy MM will boot loop & CrashReport will fail to print anything . . .
...