jczic / ESP32-MPY-Jama

v1.2 - UI tool for manage Espressif ESP32 microcontrollers with embedded MicroPython for MacOS, Windows and Linux: mini IDE, files manager, REPL, real time dashboards (sys/net), advanced features (gpio/mp3/leds/...)
https://github.com/jczic/ESP32-MPY-Jama
MIT License
410 stars 25 forks source link

Serial Connection Lag and High CPU Usage #50

Open CatMeowByte opened 1 year ago

CatMeowByte commented 1 year ago

Operating System: Linux ESP32-MPY-Jama Version: 1.2 (Compiled from source)

The problem occurs when I attempt rapid printing using the Jama serial connection terminal. The application struggles to keep up with the rapid output, resulting in lag and delayed printing. Additionally, the CPU usage increases significantly, reaching 100% and eventually causing the application to crash.

I have noticed that when using other terminal programs like picocom or the commonly known puTTY, rapid printing runs smoothly without any issues. This leads me to wonder if the developer has implemented a different communication mechanism in the Jama app, which could be causing the performance discrepancy.

Please let me know if there are any specific logs, error messages, or steps to reproduce the issue that would be helpful in diagnosing and addressing the problem.