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 · 3 comments

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
>>> 

@Gadgetoid
Copy link
Member

Any sign of this being fixed in beta 2? - https://github.com/pimoroni/pimoroni-pico/releases/tag/v1.24.0-beta2

I don't think we've had a release since updated WiFi support has been merged into mainline MicroPython, so probably need to fix that!

@MikeB5027
Copy link
Author

No, wlan.active() still reports False after activation but before connection:

MicroPython v1.24.0, picow v1.24.0-beta2 on 2024-12-11; 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
>>> 

Thanks for looking :o)

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

2 participants