I have a stable app running on a Teensy 4.1. After more than a week of uninterrupted operation (not connected to any USB port), the Teensy froze, and power cycling did not revive it. When I reconnected it to my computer (Windows 7/64) and tried to reload it from the Arduino IDE (2.1.1, CLI 0.32.3), its USB port (Raw HID) was invisible to the IDE. Restarting Windows (not a total reboot) didn't help. After a reboot of Windows, the Teensy was visible, and it was running its default Blink program. I was able to reload my code without incident, and now it is again running as it was ten days ago.
This failure mode is new to me; I don't know how I'd get it to occur if I wanted it to.
I'll be happy to post all my code here (~ 2K lines), but possibly another member has had a similar experience and can suggest where I should look.
This failure mode is new to me; I don't know how I'd get it to occur if I wanted it to.
I'll be happy to post all my code here (~ 2K lines), but possibly another member has had a similar experience and can suggest where I should look.