LilyGO / TTGO-LORA32

ESP32-TTGO-T3
318 stars 100 forks source link

Sender Module Crashes - Memory Leak? #33

Closed va7ta closed 1 year ago

va7ta commented 1 year ago

After roughly 4 to 6 hours of continuous testing sending two lines of text (6000 transmission cycles or more?) I have found that my sender module always crashes. To get it back to normal again I need to cycle the USB port power source. The last transmission that is sent during the crash is typically garbled. Whilst still powered following the crash the LoRa transmitter can cause ongoing interference to other wireless devices. For example during the crash it always causes momentary blips about once per second in the audio of a set of Sony wireless entertainment headphones. Possibly it frequency sweeps across the headphone channel passband.

It seems like a significant problem as it can cause interference to other services and if placed in a remote location it may be very difficult to restore as it requires a reset.

I wonder if there is a memory leak or a buffer over run that is causing the failures?

Considering the not untypical remote sender applications I wonder if there is need for a watchdog timer to protect against this type of failure?