The OTA of ESP32-C3 can only receive 1/3 of the data packets.

zhongls
Posts: 4
Joined: Mon Nov 10, 2025 10:06 am

The OTA of ESP32-C3 can only receive 1/3 of the data packets.

Postby zhongls » Thu Dec 04, 2025 11:54 pm

[env:esp32-c3-devkitm-1]
platform = espressif32
board = esp32-c3-devkitm-1
framework = arduino
The WeChat platform employs a non-acknowledged transmission method, and the esp32-c3's reception speed is not as fast as its transmission speed, resulting in the entire process being able to receive only about one-third of the data packets. The task in the program is suspended during OTA. The entire packet is 1.5M. My csv configuration is as follows:
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x4000,
otadata, data, ota, 0xd000, 0x2000,
phy_init, data, phy, 0xf000, 0x1000,
OTA1, app, ota_0, 0x10000, 0x190000,
OTA2, app, ota_1, 0x1a0000, 0x190000,
storage, data, 0xff, 0x330000, 0x10000
I would be deeply grateful for any assistance provided in response to the above request!

lbernstone
Posts: 1132
Joined: Mon Jul 22, 2019 3:20 pm

Re: The OTA of ESP32-C3 can only receive 1/3 of the data packets.

Postby lbernstone » Fri Dec 05, 2025 4:38 pm

Provide code or point to a library, please.

zhongls
Posts: 4
Joined: Mon Nov 10, 2025 10:06 am

Re: The OTA of ESP32-C3 can only receive 1/3 of the data packets.

Postby zhongls » Sun Dec 07, 2025 5:37 am

See the code in the attachment。
Attachments
ACC-BLE.h
(909 Bytes) Downloaded 28 times
ACC-BLE -.cpp
(9.05 KiB) Downloaded 22 times


Who is online

Users browsing this forum: Bytespider and 3 guests