ESP8266 Support WIKI

User Tools

Site Tools


esp8266_memory_map

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
esp8266_memory_map [2014/12/31 02:27]
admin created
esp8266_memory_map [2014/12/31 03:28]
admin
Line 1: Line 1:
 +** please someone fix up this page, needs an edit! **
 +
 ====== ESP8266 Memory Map ====== ====== ESP8266 Memory Map ======
  
Line 7: Line 9:
 The reset vector is 40000080h, which maps to internal ROM. The reset vector is 40000080h, which maps to internal ROM.
  
-==== Memory Layout ====+===== Memory Layout ​=====
  
-------------- 
 |  Address ​ |  Name  |    Size    | Type | R/W | Description | |  Address ​ |  Name  |    Size    | Type | R/W | Description |
-| ---------:| ------ | ----------:​|:​----:​| --- | ----------- | 
 | 00000000h |        |            | Exc  |     | Causes fault when reading. | 00000000h |        |            | Exc  |     | Causes fault when reading.
 | 20000000h |        |            | No   ​| ​    | Unmapped, repeated pattern of 00 80 00 00. | 20000000h |        |            | No   ​| ​    | Unmapped, repeated pattern of 00 80 00 00.
Line 40: Line 40:
  
 | Address | Size |           ​Name ​           |      Description ​     | | Address | Size |           ​Name ​           |      Description ​     |
-| ------- | ---- | ------------------------- | --------------------- | 
 |  00000h | 248k | app.v6.flash.bin ​         | User application |  00000h | 248k | app.v6.flash.bin ​         | User application
 |  3E000h | 8k   | master_device_key.bin ​    | OTA device key. *Unconfirmed:​* Not used without OTA |  3E000h | 8k   | master_device_key.bin ​    | OTA device key. *Unconfirmed:​* Not used without OTA
Line 52: Line 51:
  
 | Address | Size |         ​Name ​         |       ​Description ​       | | Address | Size |         ​Name ​         |       ​Description ​       |
-| ------- | ---- | --------------------- | ------------------------ | 
 |  00000h | 4k   | boot.bin ​             | Bootloader ​              | |  00000h | 4k   | boot.bin ​             | Bootloader ​              |
 |  01000h | 64k  | app.v6.flash1.bin ​    | User application,​ slot 1 | |  01000h | 64k  | app.v6.flash1.bin ​    | User application,​ slot 1 |
Line 62: Line 60:
 |  7E000h | 8k   | blank.bin ​            | Filled with FFh. May be WiFi configuration. | |  7E000h | 8k   | blank.bin ​            | Filled with FFh. May be WiFi configuration. |
  
-=== Exception Vectors ===+==== Exception Vectors ​====
  
  
 |  Address ​ |      Name       | |  Address ​ |      Name       |
-| --------- | --------------- | 
 | 40000010h | DebugException ​ | | 40000010h | DebugException ​ |
 | 40000020h | NMIException ​   | | 40000020h | NMIException ​   |
Line 79: Line 76:
  
 | Base Address | Size | Name  | Description | Base Address | Size | Name  | Description
-| ------------:​| ----:| ----- | --------------- 
 |    60000000h |  80h | uart0 | The UART0 config registers, see `examples/​IoT_Demo/​include/​drivers/​uart_register.h` |    60000000h |  80h | uart0 | The UART0 config registers, see `examples/​IoT_Demo/​include/​drivers/​uart_register.h`
 |    60000100h | 100h | spi1  | *Unconfirmed:​* The SPI controller registers, see examples/​IoT_Demo/​include/​driver/​spi_register.h |    60000100h | 100h | spi1  | *Unconfirmed:​* The SPI controller registers, see examples/​IoT_Demo/​include/​driver/​spi_register.h
Line 95: Line 91:
 ### iomux Pin Registers (60000804h&​ndash;​60000843h) ### iomux Pin Registers (60000804h&​ndash;​60000843h)
  
-``` 
 31    24       ​16 ​       8        0 31    24       ​16 ​       8        0
 -------- -ffff--- -------- ud--UDEe -------- -ffff--- -------- ud--UDEe
Line 104: Line 99:
                            |`- Pull-down                            |`- Pull-down
                            `- Pull-up                            `- Pull-up
-``` 
  
-References + 
-----------+=== References ​=== 
 - [Forum post Memory Layout, p274](http://​www.esp8266.com/​viewtopic.php?​f=5&​t=9&​start=30#​p274) - [Forum post Memory Layout, p274](http://​www.esp8266.com/​viewtopic.php?​f=5&​t=9&​start=30#​p274)
 - [Forum post Firmware Dump, p263](http://​www.esp8266.com/​viewtopic.php?​f=6&​t=39&​start=10#​p263) - [Forum post Firmware Dump, p263](http://​www.esp8266.com/​viewtopic.php?​f=6&​t=39&​start=10#​p263)
esp8266_memory_map.txt · Last modified: 2015/07/26 19:48 by dkinzer