Hi,
we are using ESP32 (LOLIN D32 board) for BLE to Wifi gateway application. After running for few hours , some devices are hanging . Upon checking serial logs, we found that it prints message from Wifi library "TX Q not empty". When this situation occurs, we observed that CPU is in dead loop and ESP32 is hot. A simple reset works and ESP will reconnect to Wifi after reboot. Can you explain possible workaround or fix?
1. We searched for whole library, we could not find message "TX Q not empty"
2. when this condition occurs, watchdog does not trigger.
3. if there is no workaround for this, how can we trigger watchdog in this situation so that device simply reboots?
W (150341100) wifi: TX Q not empty: 14888500
W (150346100) wifi: TX Q not empty: 14889000
W (150351100) wifi: TX Q not empty: 14889500
W (150356100) wifi: TX Q not empty: 14890000
W (150361100) wifi: TX Q not empty: 14890500
W (150366100) wifi: TX Q not empty: 14891000
W (150371100) wifi: TX Q not empty: 14891500
W (150376100) wifi: TX Q not empty: 14892000
W (150381100) wifi: TX Q not empty: 14892500
W (150386100) wifi: TX Q not empty: 14893000
ESP32 freezed : "wifi: TX Q not empty"
-
- Posts: 22
- Joined: Mon Apr 30, 2018 12:14 pm
Re: ESP32 freezed : "wifi: TX Q not empty"
hi,
i am also facing the same issue, once the mqtt publish got stuck, then next esp_restart onwards its shows like this "TX Q not empty".
and its not restarting also. how to solve this issue ?? anybody has any idea??
i am also facing the same issue, once the mqtt publish got stuck, then next esp_restart onwards its shows like this "TX Q not empty".
and its not restarting also. how to solve this issue ?? anybody has any idea??
Re: ESP32 freezed : "wifi: TX Q not empty"
Hi Anand,anandvilayil wrote: ↑Fri Dec 28, 2018 5:45 amhi,
i am also facing the same issue, once the mqtt publish got stuck, then next esp_restart onwards its shows like this "TX Q not empty".
and its not restarting also. how to solve this issue ?? anybody has any idea??
We are not getting this error anymore. In menuconfig we gave performance preference of wifi/bluetooth coexistence to wifi. And also in LWIP setting we enabled "Support LWIP socked select() only".
-
- Posts: 22
- Joined: Mon Apr 30, 2018 12:14 pm
Re: ESP32 freezed : "wifi: TX Q not empty"
hi pranava,
thanks for your replay,
one more doubt before occurring this situations did your esp32 missed any wifi send event?,
just like mine. once esp32 misses the mqtt publish(it might blocked in some lower layer or queue) then its occuring.
thanks for your replay,
one more doubt before occurring this situations did your esp32 missed any wifi send event?,
just like mine. once esp32 misses the mqtt publish(it might blocked in some lower layer or queue) then its occuring.
Re: ESP32 freezed : "wifi: TX Q not empty"
Hi anand,anandvilayil wrote: ↑Fri Dec 28, 2018 8:33 amhi pranava,
thanks for your replay,
one more doubt before occurring this situations did your esp32 missed any wifi send event?,
just like mine. once esp32 misses the mqtt publish(it might blocked in some lower layer or queue) then its occuring.
Our esp32 does disconnected from wifi very offen and it will reconnect automatically, Once wifi disconnected, then mqtt will also disconnect. It seems we both have same problem. If you got any solution to this, please let me know.
Who is online
Users browsing this forum: No registered users and 218 guests