I added ZDM feature to my ESP32 firmware code. It works, but I have a problem.
When zdm is added to the code, my code work properly for about two hours after programming.
After that, however, the operating speed slows significantly, and after about 15 minutes, the esp32 automatically reboots.
If zdm is not added to the code, my code works well at a constant operation speed without rebooting.
I observed it several times on the serial monitors. It’s almost regular.
So I think it’s a problem related to the using of ZDM.
The operating speed is important factor in my application and the firmware should work for a long period of time without rebooting as long as there is no external factor.
How can I solve this problem? I’m using ESP32 Devkitc and I installed Fota enabled VM on the esp32. I use flash memory with the following command in my code.
ff = flash.FlashFileStream(0x00350000, 512)
I will provide everything you need to solve this problem.
Thanks in advance.