ESP8266 Flash

来自Jack's Lab
2015年11月26日 (四) 11:12Comcat (讨论 | 贡献)的版本

跳转到: 导航, 搜索

目录

1 概述

4KB 为一个扇区 (Sector)

iBaihe 的参数: 0x3C * 4KB = 0x3C000

COS Platform 参数:

(0x3C + 1) * 4KB = 0x3D000 (SAVE_0)
(0x3C + 2) * 4KB = 0x3E000 (SAVE_1)
(0x3C + 3) * 4KB = 0x3F000 (PARAM_FLAG)



1.1 系统参数区 (System param)

始终为 Flash 的最后 16KB

  • 8KB 为初始化射频参数 (esp_init_data_default.bin),4MB Flash 为:0x3FC000 - 0x3FDFFF
  • 8KB 为初始化系统参数 (blank.bin),4MB Flash 为:0x3FE000 - 0x3FFFFF

皆由 SDK 提供


1.2 用户参数区 (User param)

指 Espressif 提供的示例 (IOT_Demo / AT) 中设定的用户参数区



2 Layout Without OTA

Esp8266-flash-layout-no-ota.png

Esp8266-flash-layout-no-ota-4m.png

Esp8266-flash-layout-no-ota-512.png

Esp8266-flash-layout-no-ota-1024.png

Address	Size	Name	                        Description
00000h	4k	boot.bin	                Bootloader
 
3C000h	14k	Param Start Sector
3D000h  1x4k    Param Saved 0
3E000h  1x4k    Param Saved 1
3F000h  1x4k    Param Flag

40000h	240k	app.v6.irom0text.bin	        SDK libraries
7C000h	8k	esp_init_data_default.bin	Default configuration
7E000h	8k	blank.bin	                Filled with FFh. May be WiFi configuration



3 Layout With OTA

Esp8266-flash-layout-ota.png

Esp8266-flash-layout-ota-512.png

Esp8266-flash-layout-ota-1024.png























个人工具
名字空间

变换
操作
导航
工具箱