I’ve been having problems getting the WiFi on the Presto to connect using the cwy43_driver from the SDK.
cyw43_arch_init() seems to work fine, as does cyw43_arch_enable_sta_mode(). However, cyw43_arch_wifi_connect_timeout_ms() fails every time.
I’ve tried running the same code on a Pico 2W, and it works without a problem.
I’d really appreciate any guidance/help that anyone can offer.
The following is the output I’m getting in the Visual Studio serial monitor:-
---- Opened the serial port /dev/ttyACM0 ----
Wi-Fi init ok
Version: 7.95.49 (2271bb6 CY) CRC: b7a28ef3 Date: Mon 2021-11-29 22:50:27 PST Ucode Ver: 1043.2162 FWID 01-c51d9400
[CYW43] error: hdr mismatch 0100 ^ ffff
[CYW43] error: hdr mismatch 0100 ^ ffff
[CYW43] error: hdr mismatch 040e ^ fffb
[CYW43] Bus error condition detected 0x2002
[CYW43] do_ioctl(2, 263, 1008): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] CLM load failed
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
Warning. No mac in otp. Generating mac from board id
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
cyw43 loaded ok, mac 00:00:00:00:00:00
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
clmver
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
Wi-Fi enabled
…
Connecting to Wi-Fi…
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
[CYW43] STALL(0;1-1): timeout
connect status: joining
failed to connect.