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

Disconnecting a device freezes sometimes #148

Open
jfedor2 opened this issue Nov 6, 2024 · 1 comment
Open

Disconnecting a device freezes sometimes #148

jfedor2 opened this issue Nov 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jfedor2
Copy link

jfedor2 commented Nov 6, 2024

I noticed that disconnecting a USB device from a Pico acting as a host sometimes causes the code to freeze.

It doesn't happen every time, but maybe like 1 in 10, often enough to notice.

I have bisected the issue down to this commit: 30283a9

The freeze seems to be happening around here:

while ((pp->pio_usb_rx->irq & IRQ_RX_COMP_MASK) == 0) {

@jfedor2 jfedor2 added the bug Something isn't working label Nov 6, 2024
@sweetlilmre
Copy link

I think this is a duplicate of #142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants