Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8026

General • RaPi Pico WH 2040 Gets stuck in cyw43_arch_init()

$
0
0
Help! I am at a complete loss here making my first steps with the Pi Pico WH 2040 board. I am following the instructions in the Getting Started Guide (https://datasheets.raspberrypi.com/pico ... h-pico.pdf) and every example gets stuck in the same place -

Code:

cyw43_arch_init()
calls

Code:

sleep_until
in time.c, which in turn executes the inline

Code:

timer_time_reached
in time.h and there execution gets stuck. It never returns.

The code I am using is the unmodified blink example from GitHub (https://github.com/raspberrypi/pico-exa ... wifi/blink), as created by the VS Code extension as described in the docs. The board is set to pico_w, all other settings are default. Really, I am following the docs as closely as I can manage.

This is running on an Intel Mac, macOS Sonoma 14.6.1 using a new Pi Debug Probe straight out of the box. Compiling, running, debugging all seem to work fine - can run, set breakpoints, single step. I have tested with two 2040 boards, with same results on each.

What is going wrong?

Statistics: Posted by hellesangel — Thu Oct 10, 2024 7:35 am



Viewing all articles
Browse latest Browse all 8026

Trending Articles