Page 1 of 1

PYBD SF6W rebooting several times during operation

Posted: Mon Feb 17, 2020 2:52 pm
by kbrenner
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.

Re: PYBD SF6W rebooting several times during operation

Posted: Tue Feb 18, 2020 1:57 am
by jimmo
kbrenner wrote:
Mon Feb 17, 2020 2:52 pm
Can anyone give an insight as to why this might be happening?
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?