← index #8896Issue #13644
Off-topic · high · value 0.936
QUERY · 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().

CANDIDATE · ISSUE

BLE: "OSError: -640" with gap_advertise

openby greenwolffropened 2024-02-12updated 2025-03-03
bugport-rp2

Hi,

I have an OSError: -640 that keep raising when I use gap_advertise on a ble peripheral with a Arduino Nano RP2040 Connect.

This happens randomly even with the simple examples provided in this repository like this one:
https://github.com/micropython/micropython/blob/master/examples/bluetooth/ble_simple_peripheral.py

Here is the stack trace with this example:

Unhandled exception in IRQ callback handler
Traceback (most recent call last):
  File "<stdin>", line 62, in _irq
  File "<stdin>", line 79, in _advertise
OSError: -640

firmware file name: ARDUINO_NANO_RP2040_CONNECT-20240105-v1.22.1.uf2

It doesn't seems to be the board that have an issue, as I can reproduce the issue on two different boards (both are Arduino Nano RP2040 Connect).

How can I debug this issue ?

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