乐鑫技术交流
直播中

云中云

8年用户 927经验值
私信 关注
[问答]

esp32s3进行https-OTA时,出现wifi:m f null更新失败怎么解决?

使用的IDF为4.4.3,芯片为esp32s3F4R2.在进行https-ota时,进行到esp_https_ota_begin()出现了wifi:m f null的log然后HTTPS OTA Begin失败了!打印出来的DRAM内存为15512,psram为2077745,基本没怎么用到。是由于内存太少导致的吗?应该如何解决呢?以下为日志消息。Code: Select all
I (127960) aliyun-task: [2022-12-13 14:59:47.725] OTA target firmware version: 1.0.1, size: 1347216 Bytes URL:https://iotx-ota.oss-cn-shanghai.aliyuncs.com/ota/9658090a2f2c25df127980a7b83a7d9e/clblvifq100083590ez25kcug.bin?Expires=1671001187&OSSAccessKeyId=LTAI4G1TuWwSirnbAzUHfL3e&Signature=lbKSSa3fd8220i1C1kr6AS1jEqQ%3DI (127990) aliyun-task: [2022-12-13 14:59:47.754] starting download thread in 2 seconds ......I (130000) aliyun-task: [2022-12-13 14:59:49.760] uxHighWaterMark:5768I (130000) aliyun-task: [2022-12-13 14:59:49.762] free headsize:2092987 //esp_get_free_heap_size()I (130000) aliyun-task: SPIRAM size:2077475 //heap_caps_get_free_size(MALLOC_CAP_SPIRAM)I (130010) aliyun-task: intRAM size:15512 //heap_caps_get_free_size(MALLOC_CAP_INTERNAL)W (130220) wifi:m f nullW (130280) wifi:m f nullW (135640) esp-tls: Failed to open new connection in specified timeoutE (135640) TRANSPORT_BASE: Failed to open a new connectionE (135650) HTTP_CLIENT: Connection failed, sock < 0E (135650) esp_https_ota: Failed to open HTTP connection: ESP_ERR_HTTP_CONNECTE (135660) esp_https_ota: Failed to establish HTTP connection[1670914795.426][LK-0309] pub: /ota/device/progress/a1RlyRUfXpl/BRS0006E (135670) aliyun-task: [2022-12-13 14:59:55.432] ESP HTTPS OTA Begin failedI (135680) aliyun-task: [2022-12-13 14:59:55.437] download thread exit

回帖(1)

陈磊

2024-6-13 11:29:33
确实是ram太少了,我修改了配置sdkconfig,打开了CONFIG_SPIRAM_USE_MALLOC,然后将CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL改小后。ram的空间变大了,就正常了。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分