ESP32 freezed : "wifi: TX Q not empty"
Posted: Tue Dec 04, 2018 11:19 am
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
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