← index #15508Issue #8896
Related · high · value 0.544
QUERY · ISSUE

Arduino Nano Connect RP2040: Webrepl fails.

openby robert-hhopened 2024-07-20updated 2024-07-23
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 · ISSUE

Arduino RP2 Nano connect: Unexpected OSError (regression)

openby peterhinchopened 2022-07-11updated 2022-11-27
bugport-rp2

With today's nightly build this occurs

MPY: soft reboot
MicroPython v1.19.1 on 2022-07-08; Arduino Nano RP2040 Connect with RP2040
Type "help()" for more information.
>>> import network
>>> s = network.WLAN(network.STA_IF)
>>> s.active(True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: Firmware version mismatch. Minimum supported firmware is v1.5.0 found v1.4.8

Previously I was running a build dated 22 April: this error did not occur.

It's also worth noting that the support for MSC mode means that firmware installation by powering up with the button depressed does not work. The docs are therefore misleading to new users: it now seems mandatory to use machine.bootloader().

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied