Arduino RP2 Nano connect: Unexpected OSError (regression)
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().
BLE: "OSError: -640" with gap_advertise
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 ?