I experienced an unusual problem today and have been unable to find a solution. Whenever I save a program as code.py, it always auto-loads and runs when the board powers up. However, I ran into a problem today when using the adafruit_gps library and the gps_simpletest.py program. As long as I manually save the program from Mu (or CTRL-D from REPL), it runs just fine. Reads and displays the GPS data perfectly! However, if I shut the board down and restart it later, the program hangs. It seems to be getting stuck in gps.update().
I've also tested with the gps_echotest.py and it works fine, even on power-up. There is no call to gps.update() in this sample program.
I got the same result on a Trinket M0 and the Metro M0 express. Bootloader ver 3.7 and CPy ver 5.3.
Any suggestions or feedback would be appreciated.
Thanks. --MARK