Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I75W fails to activate wireless interface using MicroPython v1.24.0, picow v1.24.0-beta1 #1035

Open
MikeB5027 opened this issue Dec 7, 2024 · 1 comment

Comments

@MikeB5027
Copy link

I have two recently-purchased Interstate 75 W boards, which both fail to activate their wireless network interface when using the latest Pimoroni picow Micropython release:

MicroPython v1.24.0, picow v1.24.0-beta1 on 2024-10-31; Raspberry Pi Pico W with RP2040
Type "help()" for more information.
>>> import network
>>> wlan = network.WLAN(network.STA_IF)
>>> wlan.active(True)
[CYW43] Failed to start CYW43
>>> print(wlan.active())
False
>>> 

Whereas the network interface was successfully activated with vanilla Micropython:

MicroPython v1.24.1 on 2024-11-29; Raspberry Pi Pico W with RP2040
Type "help()" for more information.
>>> import network
>>> wlan = network.WLAN(network.STA_IF)
>>> wlan.active(True)
>>> print(wlan.active())
True
>>> 

I raised this on the Pimoroni forum and tried all of Hel's suggestions, without success.

After nuking the I75W flash and reloading the latest Pimoroni picow MP image, it didn't produce the error message, but still failed to activate the wireless interface.

@MikeB5027
Copy link
Author

It seems that wlan.active() returns False even when the network interface is active.

It returns True once the network is connected, mimicking the behaviour of wlan.isconnected():

MicroPython v1.24.0, picow v1.24.0-beta1 on 2024-10-31; Raspberry Pi Pico W with RP2040
Type "help()" for more information.
>>> import network
>>> wlan = network.WLAN(network.STA_IF)
>>> wlan.active(True)
>>> print('wlan.active():', wlan.active())
wlan.active(): False
>>> from secrets import WIFI_SSID, WIFI_PASSWORD
>>> wlan.connect(WIFI_SSID, WIFI_PASSWORD)
>>> print('wlan.status():', wlan.status())
wlan.status(): 3
>>> print('wlan.active():', wlan.active())
wlan.active(): True
>>> print('wlan.isconnected():', wlan.isconnected())
wlan.isconnected(): True
>>> wlan.disconnect()
>>> print('wlan.active():', wlan.active())
wlan.active(): False
>>> print('wlan.isconnected():', wlan.isconnected())
wlan.isconnected(): False
>>> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant