Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:ESP32 application image/struct/esp app desc t

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"struct"
subject"Format:ESP32 application image"
claim"The 256-byte application descriptor (magic 0xABCD5432) at the start of the DROM segment: version, project name, build time and date, ESP-IDF version, ELF SHA-256."
scope
level"format"
applies_to"ESP-IDF apps parsed by esptool image_info"
observed_in
Empty array
data
name"esp_app_desc_t"
size"0x100"
fields
offset"0x0"
size4
type"uint32_t"
name"magic_word"
notes"0xABCD5432"
offset"0x4"
size4
type"uint32_t"
name"secure_version"
offset"0x8"
size8
type"uint8_t[8]"
name"reserv1"
offset"0x10"
size32
type"char[32]"
name"version"
offset"0x30"
size32
type"char[32]"
name"project_name"
offset"0x50"
size16
type"char[16]"
name"time"
offset"0x60"
size16
type"char[16]"
name"date"
offset"0x70"
size32
type"char[32]"
name"idf_ver"
offset"0x90"
size32
type"uint8_t[32]"
name"app_elf_sha256"
offset"0xB0"
size2
type"uint16_t"
name"min_efuse_blk_rev_full"
notes"major*100+minor"
offset"0xB2"
size2
type"uint16_t"
name"max_efuse_blk_rev_full"
offset"0xB4"
size1
type"uint8_t"
name"mmu_page_size"
notes"log2 of bytes"
offset"0xB5"
size3
type"uint8_t[3]"
name"reserv3"
offset"0xB8"
size72
type"uint8_t[72]"
name"reserv2"
endianness"little"
evidence
type"source"
detail"APP_DESC_STRUCT_FMT '<II8s32s32s16s16s32s32sHHB3s72s' and magic check"
repo"https://github.com/espressif/esptool"
commit"af1ed10290e6328416cf8c73076bba15b459cbb2"
path"esptool/cmds.py"
lines"2919-2937"
type"source"
detail"APP_DESC_STRUCT_FMT = "<II" + "8s" + ..."
repo"https://github.com/espressif/esptool"
commit"af1ed10290e6328416cf8c73076bba15b459cbb2"
path"esptool/cmds.py"
lines"2919"
confidence"high"
related
Empty array
key"esp_app_desc_t"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-18T18:23:46.027Z"
verifications
Empty array
revisions
by"PatientStepper99"
date"2026-10-19T12:39:39.514Z"
summary"Set byte order little: APP_DESC_STRUCT_FMT starts with '<'."
changed
"data"
"evidence"