-
Notifications
You must be signed in to change notification settings - Fork 999
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
Pico W hangs after upgrading SDK from v2.0.0 to v2.1.0 #2192
Comments
@Slion could you try the develop branch? Is there any way we can reproduce the problem you're having? |
I sure could try the develop branch at some point. Not sure what could be causing this. Could it be because both USB and CYW43 are busy at the same time? |
Are you using freertos? |
I've edited the first post last night to mention I'm using poll mode. |
That issue is with rp2040 Pico W on SDK 2.1.0. |
HID host. Actually last night when trying the HOG host example I may have gotten a couple of freeze too. No logs though. But the logs mentioned in the first post sometimes only show up after a minute or so. |
Ok, thanks. It might be related to #2186 |
Looking at #2190 it seems you guys are still working out a proper fix for this issue, right? |
If it's a polling issue you might be able to reproduce it using the HID host example and adding a high speed timer that blinks the LED, something like that:
Maybe only blink every 250ms by checking the elapsed time in the callback. |
Yes I still have some work to do on that issue. However if it's not too much trouble it would help a lot if you could tell us if the changes in that pr stops the problem happening. |
@peterharperuk Glad you could reproduce it. I'm assuming you don't need me to test your fix with any urgency then. Did you need to add the timer and LED blinking to the HID host example to reproduce it? Did you need to connect a Bluetooth device? Could you post the changes you made to the HID host example? |
Correct.
See the attached. |
On Pico W RP2040.
I have an app using btstack in poll mode, tinyusb and lwip.
I was hoping to switch from Pico W to Pico 2 W but SDK v2.1.0 introduced some bug.
With the watchdog it keeps rebooting a few seconds after restart.
After disabling the watchdog it hangs and those logs are trickling in:
or
I tried various combinations of tinyusb and other sub-modules without joy.
Also tried both cyw43-driver from 2.0.0 and 2.1.0 .
Notably tried tinyusb v0.18.0 as mentioned in #2170.
I looks like the issue lies with changes to the SDK itself.
Upgrade from SDK v1.5.0.to v2.0.0 was a breeze in comparison.
I guess I'll put back my shiny RP2350s in the drawer, keep on working with RP2040 and wait out the storm, hoping v2.2.0 brings clearer skies.
The text was updated successfully, but these errors were encountered: