PRESTO - Accessing Files on Presto After main.py Error

Hello,

I’m using Thonny to work with my Pimoroni Presto. After modifying and saving the main.py file, the device stopped working. The screen is now black, and I can no longer access the files through Thonny.

I suspect the issue is caused by an error in the main.py code. Is there a way to start Presto in “safe mode” or bypass the execution of main.py so I can fix the file?

Thank you for your help!

I solved booting the device in Boot mode and uploading a clean firmware from here.