loboris / MicroPython_ESP32_psRAM_LoBo

MicroPython for ESP32 with psRAM support
Other
831 stars 344 forks source link

could not transfer big data file from ESP32 back to pc #166

Open suli3 opened 6 years ago

suli3 commented 6 years ago

hello:

i found that i could transfer big data file (526KB) from pc to ESP32, but could not read it back. the output log is showed below, in my opinion,watchdog is used as system tick... how could it happened "watchdog got triggered. The following tasks did not reset the watchdog in time: IDLE (CPU 1)"?.....

` paste mode; Ctrl-C to cancel, Ctrl-D to finish file_name="data_rec_20180606.csv" with open("__download.py") as f: exec(f.read(), globals())

k watchdog got triggered. The following tasks did not reset the watchdog in time:

loboris commented 6 years ago

You should use the FTP to transfer the files from PC to ESP32 or read the file in chunks and insert the machine.resetWDT() in the transfer loop.