REPL on w7

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
_jg_
Posts: 12
Joined: Sat Mar 19, 2016 3:47 am

REPL on w7

Post by _jg_ » Sat Mar 19, 2016 3:56 am

hi everyone.
i just got my first pyboard (MicroPython pyboard v1.1) and started following the tutorial. i can access the file system and modifiying main.py i have the led blinking.
the problem is i have not been able to enter REPL. first used foxterm as serial terminal emulator, later tried putty. i dont see anything using any of these..
i am using 115200,8,n,1 COM21 (the one that w7 asigned to it)

is it a windows 7 problem?
do i have to change boot.py in order to enable REPL?

regards.

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: REPL on w7

Post by dhylands » Sat Mar 19, 2016 4:16 am

boot.py has to exit before the USB (and hence the USB-serial) is initialized.

So if boot.py goes into a infinite loop then you won't get to the REPL.

If main.py is in an infinite loop, you can still connect to the USB-serial port and press Control-C to kill main.py and once main.py exits, then the REPL will be entered.

_jg_
Posts: 12
Joined: Sat Mar 19, 2016 3:47 am

Re: REPL on w7

Post by _jg_ » Sun Apr 24, 2016 1:32 am

ok. thanks.
anyway i am dual-booting now and all work with the pyboard goes well in opensuse . 8-)

Post Reply