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

SDK • Pico W generates error after using TCP for a while

$
0
0
Hello everyone,

Not sure why this is happening but after some time my Pico W will panic with this error

Code:

*** PANIC ***pcb->snd_queuelen >= pbuf_clen(next->p)
I'm using the Pico W in pico_cyw43_arch_lwip_threadsafe_background mode. Am I sending data to quickly or is there something I need to do to flush the queue? Should I be buffer my transmits? I've not really done much with TCP so it's very likely I'm doing something wrong.

Any thought or suggestions?

I would post code but the project is massive. The TCP stuff is basically the TCP Demo with tcp_send and tcp_output calls when my project wants to send data. And the data could be one char or strings.

Statistics: Posted by DarkElvenAngel — Wed Dec 06, 2023 7:58 pm



Viewing all articles
Browse latest Browse all 3556

Trending Articles