@reidfo I use the boot.py to mount the SD card just once. When I mounted the SD card in the main.py I encountered OSError when re-running my code in the REPL (OSError: the requested operation is not possible) due to the fact that I cannot check the status of the SD card.
@monersss If you get access to the REPL, you can simply hit Ctrl-C. Otherwise you can use safeboot:
Connect G28 with the 3v3 pni, and then push reset. When the LED turns orange, then disconnect the wire. The device will then not execute boot.py and main.py.
The documentation talks about falling back to a series of previous versions, but that is nonsense on a Lopy