通过OTA(TTGO)更新ESP 32

时间:2020-09-30 17:06:29

标签: arduino esp32

我正在尝试为ESP32或更确切地说this module.启用OTA更新。

我正在使用:

t_httpUpdate_return ret = ESPhttpUpdate.update("http://server:port/file.bin");

如图here

该文件存在,可以通过访问URL进行下载,它是通过从Arduino导出压缩二进制文件创建的。 但是,该模块的崩溃原因:

18:54:00.560 -> /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/queue.c:1442 (xQueueGenericReceive)- assert failed!
18:54:00.560 -> abort() was called at PC 0x40089405 on core 1
18:54:00.560 -> 
18:54:00.560 -> Backtrace: 0x4008cfd0:0x3ffb1a50 0x4008d201:0x3ffb1a70 0x40089405:0x3ffb1a90 0x401558ee:0x3ffb1ad0 0x40155aee:0x3ffb1af0 0x40144c74:0x3ffb1b10 0x40144cdd:0x3ffb1b30 0x40141dba:0x3ffb1b50 0x40140bcc:0x3ffb1b70 0x40144438:0x3ffb1bb0 0x400d837b:0x3ffb1bd0 0x400d7dbe:0x3ffb1c20 0x400d95c6:0x3ffb1c50 0x400d9659:0x3ffb1c80 0x400d9727:0x3ffb1cc0 0x400d79cf:0x3ffb1ce0 0x400d7bee:0x3ffb1d40 0x400d41bd:0x3ffb1df0 0x400d4393:0x3ffb1e60 0x400d48d2:0x3ffb1f20 0x400d4902:0x3ffb1f40 0x400d494b:0x3ffb1f60 0x400d49d3:0x3ffb1f80 0x400df567:0x3ffb1fb0 0x40089719:0x3ffb1fd0
18:54:00.626 -> 
18:54:00.626 -> Rebooting...

并陷入循环之中。

我的方法有什么问题?

0 个答案:

没有答案