currently, I’m building a program with quecpython module EC200U-CNLB. The program runs on 4 threads, main, display, logging sd card, and connectivity (for sending and receiving data to/from the server). the program runs fine, but after 45 minutes the device restarts itself.
I haven’t used watchdog yet. and when I execute Power.powerOnReason, the output is 9. Does anyone know what the problem is?
This issue has been resolved. I found the problem after I traced it using the CoolWathcer software.
My program has a command to send AT Command AT+QTEMP every second to get the internal temperature. I don’t know why, but according to the trace tool, it crashes after the AT+QTEMP command and then restarts. and the crash always occurs after approximately 45 minutes of running.
Finally, I turned off the AT+QTEMP command, and it no longer crashed.