Not sure what's going on yet. But I have found that when it is cold out (below freezing), something is going on the causes the watchdog timer to not get refreshed and the board resets after the specified 5 seconds of the watchdog. When I take the OnSpeed box home and try to debug it in the comfort of my house, it seems to work fine again. Things that are suspect are my wiring. Maybe I have something weird wired (although everything worked when I took the box from my house, put it in the airplane and went for a flight. Another would possibly be my soldering? Not sure on that, but I'm sure it's a possibility. I get "i2c timeout", but even if I comment out the i2c relevant setup code, I still get a reset after 5 seconds. I could be missing something, but I think this message is somewhat of an artifact of something else going on. If anyone has any ideas, I'm all ears. :-)
top of page
FlyONSPEED.org Reduce Loss of Control Risk

Winner 2018 EAA Founder's Innovation Award and 2021 Grand Champion Winner
bottom of page
Thanks Lenny, yea I think that my low temperature idea was bad from the get go. I was programming the Teensy in between these episodes, so it just coincided with the box being out in the cold. The problem is some code I changed/added. I'm going to dig into it later today to figure out what was bad. If I revert back to v3.1.5 and power cycle the box, it's working fine. Thanks for the response!