x821938 / elog

Ultimate ESP32 logger
Apache License 2.0
25 stars 1 forks source link

Get watchdog timeout #1

Closed matsekberg closed 2 months ago

matsekberg commented 5 months ago

When running the SD-logger example, commented away the addSerialLogging, I get this:

000:00:00:00:299 [LOG] [INFO ] : Adding file logging for filename="File2"
000:00:00:00:317 [LOG] [INFO ] : Created logfile "/LOG00012/File2"
000:00:00:00:458 [LOG] [INFO ] : Created logfile "/LOG00012/File1"
000:00:00:05:001 [LOG] [DEBUG] : Status (Buffer): msgs added 510, discarded 0, Max Buffer usage 67%
E (19887) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (19887) task_wdt:  - IDLE (CPU 0)
E (19887) task_wdt: Tasks currently running:
E (19887) task_wdt: CPU 0: writeTask
E (19887) task_wdt: CPU 1: loopTask
E (19887) task_wdt: Aborting.

ESP32S3

matsekberg commented 5 months ago

It happens always after 96 lines of logging.

If I change the delay in the loop to a lower value, more lines can be logged before the timeout.

x821938 commented 4 months ago

I did the exact same thing here. But I don´t have the problem. Try to go lower on the SPI bus speed. mayby 1Mhz instead of 2.

matsekberg commented 4 months ago

Ok I will try 1MHz