Webrepl on Arduino nano rp2040 connect

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
Post Reply
ps_nithin
Posts: 14
Joined: Sat Jun 18, 2022 1:44 pm

Webrepl on Arduino nano rp2040 connect

Post by ps_nithin » Sat Jun 18, 2022 2:02 pm

I'm getting the following output on arduino nano rp2040 connect.
>>> webrepl.start()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "webrepl.py", line 74, in start
File "webrepl.py", line 16, in setup_conn
OSError: no available NIC

Any ideas?

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Webrepl on Arduino nano rp2040 connect

Post by Roberthh » Sat Jun 18, 2022 2:16 pm

Did you start WiFi at the board first?

ps_nithin
Posts: 14
Joined: Sat Jun 18, 2022 1:44 pm

Re: Webrepl on Arduino nano rp2040 connect

Post by ps_nithin » Sat Jun 18, 2022 2:36 pm

No.

ps_nithin
Posts: 14
Joined: Sat Jun 18, 2022 1:44 pm

Re: Webrepl on Arduino nano rp2040 connect

Post by ps_nithin » Sat Jun 18, 2022 3:54 pm

I get the following output on running wireless AP.
>>> import network
>>> wlan=network.WLAN(network.AP_IF)
>>> wlan.active(True)
>>> wlan.config(essid="android123",key="connect",security=wlan.WEP,channel=2)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: failed to start in AP mode
>>>

Thanks,

ps_nithin
Posts: 14
Joined: Sat Jun 18, 2022 1:44 pm

Re: Webrepl on Arduino nano rp2040 connect

Post by ps_nithin » Sat Jun 18, 2022 5:46 pm

Setting up wireless ap before running webrepl.start() solved the issue.

Thanks,

Post Reply