Thanks for reading...
I'm now 99% sure this is a simple case of PEBCAK, although it has had me scratching my head for several days.
The root cause was calling NetworkClient print (write) from a periodic task, with NetworkClient read being performed by the loop. The LWIP ASSERT (pbuf_free: p->ref ...
Search found 8 matches
- Sat Jul 26, 2025 1:02 pm
- Forum: ESP32 Arduino
- Topic: [SOLVED] LWIP ASSERT (pbuf_free: p->ref > 0) during NetworkClient read
- Replies: 1
- Views: 483
- Tue Jul 22, 2025 7:53 am
- Forum: ESP32 Arduino
- Topic: [SOLVED] LWIP ASSERT (pbuf_free: p->ref > 0) during NetworkClient read
- Replies: 1
- Views: 483
[SOLVED] LWIP ASSERT (pbuf_free: p->ref > 0) during NetworkClient read
Hi Everyone,
I am using Arduino 3.0.7 NetworkClient on ESP32 Pico Mini 02 N8R2 to receive GNSS RTCM corrections from a NTRIP Caster / Server via TCP over WiFi.
I see occasional crashes due to an assert in LWIP pbuf_free. These happen rarely, every few hours.
I would like to understand if they are ...
I am using Arduino 3.0.7 NetworkClient on ESP32 Pico Mini 02 N8R2 to receive GNSS RTCM corrections from a NTRIP Caster / Server via TCP over WiFi.
I see occasional crashes due to an assert in LWIP pbuf_free. These happen rarely, every few hours.
I would like to understand if they are ...
- Thu May 23, 2024 6:00 pm
- Forum: ESP32 Arduino
- Topic: AsyncWebSocket: is there an equivalent in arduino-esp32 v3.0.0 ?
- Replies: 6
- Views: 4697
Re: AsyncWebSocket: is there an equivalent in arduino-esp32 v3.0.0 ?
Many thanks lbernstone ,
I've got WebServer and esp_http_server running simultaneously. esp_http_server is only serving the /ws websocket - on port 81. WebServer is doing everything else - on port 80. They seem to be playing very nicely together! I stole most of the websocket code from the ws_echo ...
I've got WebServer and esp_http_server running simultaneously. esp_http_server is only serving the /ws websocket - on port 81. WebServer is doing everything else - on port 80. They seem to be playing very nicely together! I stole most of the websocket code from the ws_echo ...
- Wed May 22, 2024 1:04 pm
- Forum: ESP32 Arduino
- Topic: AsyncWebSocket: is there an equivalent in arduino-esp32 v3.0.0 ?
- Replies: 6
- Views: 4697
AsyncWebSocket: is there an equivalent in arduino-esp32 v3.0.0 ?
Hi,
We have been using me-no-dev's ESPAsyncWebServer very successfully for a couple of years, with arduino-esp32 <= v2.0.11.
I am investigating whether it is possible to replace ESPAsyncWebServer with WebServer on arduino-esp32 v3.0.0 (RC3). I have the WebServer running on both WiFi and ETH (W5500 ...
We have been using me-no-dev's ESPAsyncWebServer very successfully for a couple of years, with arduino-esp32 <= v2.0.11.
I am investigating whether it is possible to replace ESPAsyncWebServer with WebServer on arduino-esp32 v3.0.0 (RC3). I have the WebServer running on both WiFi and ETH (W5500 ...
- Sat Jan 06, 2024 10:35 am
- Forum: General Discussion
- Topic: [esptool] How to add the stub_flasher json files with pyinstaller on MacOS
- Replies: 4
- Views: 9580
Re: [esptool] How to add the stub_flasher json files with pyinstaller on MacOS
Well... Don't I feel stupid...!
Turns out this was a baud rate issue. I was trying to do the upload at 921600. That fails on my Mac Mini. As soon as I dropped to 460800 everything started working... In my defence, the fail looked exactly the same as when esptool couldn't find the json file.
OK. I ...
Turns out this was a baud rate issue. I was trying to do the upload at 921600. That fails on my Mac Mini. As soon as I dropped to 460800 everything started working... In my defence, the fail looked exactly the same as when esptool couldn't find the json file.
OK. I ...
- Fri Jan 05, 2024 7:24 pm
- Forum: General Discussion
- Topic: [esptool] How to add the stub_flasher json files with pyinstaller on MacOS
- Replies: 4
- Views: 9580
Re: [esptool] How to add the stub_flasher json files with pyinstaller on MacOS
I like your trick of changing STUBS_DIR in esptool_test_stub.py: https://github.com/espressif/esptool/blob/e9489931f10d27d487bebaed3b2500674b4f444d/flasher_stub/esptool_test_stub.py#L24-L28
I tried to use the same trick, but still no joy... I've checked STUBS_DIR contains the correct path. I ...
I tried to use the same trick, but still no joy... I've checked STUBS_DIR contains the correct path. I ...
- Thu Jan 04, 2024 4:43 pm
- Forum: General Discussion
- Topic: [esptool] How to add the stub_flasher json files with pyinstaller on MacOS
- Replies: 4
- Views: 9580
Re: [esptool] How to add the stub_flasher json files with pyinstaller on MacOS
Hi ESP_Roland,
Yes, thanks, I'd seen that. Except there you are creating a onefile (-F) executable. I'm using onefile on Windows and Linux, but for MacOS I'm using --windowed , not --onefile. This is for historical reasons - I've run into issues before creating a PyQt5 GUI for MacOS where the only ...
Yes, thanks, I'd seen that. Except there you are creating a onefile (-F) executable. I'm using onefile on Windows and Linux, but for MacOS I'm using --windowed , not --onefile. This is for historical reasons - I've run into issues before creating a PyQt5 GUI for MacOS where the only ...
- Thu Jan 04, 2024 12:24 pm
- Forum: General Discussion
- Topic: [esptool] How to add the stub_flasher json files with pyinstaller on MacOS
- Replies: 4
- Views: 9580
[esptool] How to add the stub_flasher json files with pyinstaller on MacOS
Hi,
We have written a PyQt5 GUI which uses esptool to upload firmware binaries onto ESP32: https://github.com/sparkfun/SparkFun_RTK_Firmware_Uploader
I am updating it to use esptool 4.7.0: https://github.com/sparkfun/SparkFun_RTK_Firmware_Uploader/tree/v1.6.0 . It took me a while to work out that ...
We have written a PyQt5 GUI which uses esptool to upload firmware binaries onto ESP32: https://github.com/sparkfun/SparkFun_RTK_Firmware_Uploader
I am updating it to use esptool 4.7.0: https://github.com/sparkfun/SparkFun_RTK_Firmware_Uploader/tree/v1.6.0 . It took me a while to work out that ...