Search found 2 matches

by michpo
Wed Apr 10, 2024 8:50 am
Forum: ESP IoT Solution
Topic: esp_image: invalid segment length 0xffffffff
Replies: 11
Views: 38056

Re: esp_image: invalid segment length 0xffffffff

This happens when you haven't written down your image completely. For example, the last 4k block was not recorded.
When closing partitions, there is image validation. As a result, the following message is printed.
by michpo
Mon Apr 08, 2024 3:43 pm
Forum: ESP IoT Solution
Topic: esp_image: invalid segment length 0xffffffff
Replies: 11
Views: 38056

Re: esp_image: invalid segment length 0xffffffff

I got the same bug. I am writing a 4k block in an OTA partition, but for some reason the last block, which is less than 4k, is written in place of the first block at the beginning of the partition. That is, an overflow occurred. I don’t know, but maybe this is due to an incorrect partition table.