From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Format:ESP32 application image" |
|---|
| claim | "An ESP8266/ESP32-family image starts with byte 0xE9 (ESP_IMAGE_MAGIC), then the segment count; the checksum seed is 0xEF. One byte is far too common to identify a file by itself: also check a plausible segment count (1-16), the flash mode/size byte and the 0xABCD5432 app descriptor." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "ESP8266 v3 and ESP32 family images" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "E9" |
|---|
| offset | "0x0" |
|---|
| meaning | "ESP image magic, byte 1 is the segment count; single byte, so weak evidence alone" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "ESP_IMAGE_MAGIC = 0xE9, ESP_CHECKSUM_MAGIC = 0xEF" |
|---|
| repo | "https://github.com/espressif/esptool" |
|---|
| commit | "af1ed10290e6328416cf8c73076bba15b459cbb2" |
|---|
| path | "esptool/loader.py" |
|---|
| lines | "373-376" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Image magic 0xE9" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:23:45.786Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T02:05:32.269Z" |
|---|
| summary | "A one-byte magic is far too common to identify a file alone; say so" |
|---|
| changed | |
|---|
|
|
|---|