How do I abandon an Ardupy execution loop

I’m new to Ardupy and WIO Terminal and was messing around with python scripts and accidentally created an execution loop. When connecting the WIO Terminal to my computer I can’t access the files to fix the code. I also can’t even access the files from bootloader mode, so I have no idea how to stop my original code. It seems like I’m not the only one with this issue:


How do you cancel/stop a bad script on Ardupy? There doesn’t seem to be any documentation for this scenario.

I encountered the similar question just now.
And… I solved this problem with a quite strange solution.
You know, wio terminal support not only Ardupy, but also CircuitPython.
So you can burn the CircuitPython .uf2 file (https://circuitpython.org/board/seeeduino_wio_terminal/) to the board in bootloader mode.
And then, you will find you can have access to the file system and also to your codes (but it won’t execute as the environment is different), and you can edit your codes now.

1 Like

Thank you! I was able to get into the filesystem and fix my code. :nerd_face: