QUERY · ISSUE
Arduino Nano Connect RP2040: Webrepl fails.
bugport-rp2
Port, board and/or hardware
RP2, Board Arduino Nano Connect 2040 with NINA W102 module.
MicroPython version
MicroPython v1.24.0-preview.118.g5f3ecc29f on 2024-07-20; Arduino Nano RP2040 Connect with RP2040
Reproduction
Configure Webrepl, enable Wifi and start Webrepl at the board. Then connect with webrepl from a PC and enter the password. Content of main.py:
import station
import webrepl
webrepl.start()
station.py just starts wifi. webrepl_cfg.py and an empty boot.py exist.
Expected behaviour
Working webrepl
Observed behaviour
Webrepl works with firmware v1.23.0.
With v1.24.0-preview.118 (and earlier) the board locks up after entering the Webrepl password. Needs a hardware reset or power cycle to recover. Log:
network config: ('10.0.0.179', '255.255.255.0', '10.0.0.240', '10.0.0.240')
WebREPL server started on http://10.0.0.179:8266/
Started webrepl in normal mode
MicroPython v1.24.0-preview.118.g5f3ecc29f on 2024-07-20; Arduino Nano RP2040 Connect with RP2040
Type "help()" for more information.
>>>
WebREPL connection from: ('10.0.0.150', 53812)
FATAL: uncaught exception
UDP and TCP connections work, tested with iperf3.py.
Additional Information
No, I've provided everything above.
Code of Conduct
Yes, I agree
CANDIDATE · PULL REQUEST
rp2/boards/ARDUINO_NANO_RP2040_CONNECT: Enable webrepl.
(no description)