I am using the SF6W model, and I am running a boot.py, which looks like:
import machine
import pyb
pyb.main('main.py')
However, after the 'main.py' script finishes running, the Pyboard reboots and runs 'main.py' again. Can anyone give an insight as to why this might be happening? Thanks.
PYBD SF6W rebooting several times during operation
Re: PYBD SF6W rebooting several times during operation
It's supposed to just drop into the REPL once main.py finishes.
Do you see anything on the serial console? Can you trim back your main.py and see if it still happens? Or better yet, can you share the main.py with us?