# Memory Map (ARTIK05x)
-
-### Physical Address Space (4GB)
-
+
+### Physical Address Space
+
The following is the memory map of ARTIK05x.
```
-0xFFFFFFFF --------------------------
- High Vector (4KB)
-0xFFFF0000 --------------------------
-0x88000000 --------------------------
- SFR
-0x80000000 --------------------------
-0x60800000 --------------------------
- SPI FLASH (8MB) mirrored
-0x60000000 --------------------------
-0x04800000 --------------------------
- SPI FLASH (8MB)
-0x04000000 --------------------------
-0x02320000 --------------------------
- SRAM for WiFi (128KB)
-0x02300000 --------------------------
-0x02160000 --------------------------
- SRAM (1280KB)
-0x02020000 --------------------------
- IROM
-0x09000000 --------------------------
+ ADDRESS CONTENTS NOTE
+ 0xFFFFFFFF +---------------+
+ | iRAM mirror |
+ | (64KB) |
+ 0xFFFF0000 +---------------+
+ 0x8FFFFFFF +---------------+
+ | SFR REGION | Peripheral Area. (CR4) strongly-ordered
+ | (256MB) | (s5j_memorymap.h)
+ 0x80000000 +---------------+
+ 0x60FFFFFF +---------------+
+ | NOR FLASH | SFLASH Mirror area to be read only
+ | mirror |
+ | (16MB) |
+ 0x60000000 +---------------+
+ 0x04FFFFFF +---------------+
+ | NOR FLASH | FLASH area, default to set WBWA
+ | (16MB) |
+ | |
+ 0x04000000 +---------------+
+ 0x0231FFFF +---------------+
+ | iRAM shared |
+ | (128KB) |
+ 0x02300000 +---------------+
+ 0x0215FFFF +---------------+
+ | iRAM |
+ | (1280KB) |
+ 0x02020000 +---------------+
+ 0x0000FFFF +---------------+
+ | iROM |
+ | (64KB) |
+ 0x00000000 +---------------+
```
8MB is allocated to the SPI Flash area. After building TizenRT, refer to the following areas when downloading to the board.
```
-0x04800000 --------------------------
- SSS R/W Key
-0x04780000 --------------------------
- WiFi NVRAM
-0x0477E000 --------------------------
- User R/W
-0x04620000 --------------------------
- OTA download
-0x044A0000 --------------------------
- Factory Reset
-0x04320000 --------------------------
- OS (TizenRT)
-0x040C8000 --------------------------
- WiFi F/W
-0x04048000 --------------------------
- SSS F/W
-0x04040000 --------------------------
- BL2
-0x04010000 --------------------------
- SSS R/O Key
-0x04004000 --------------------------
- BL1
-0x04000000 --------------------------
+ ADDRESS CONTENTS NOTE
+ 0x047FFFFF +---------------+
+ | SSS R/W Key | Secure Storage
+ | (512KB) |
+ | |
+ 0x04780000 +---------------+
+ | WiFi NVRAM | WiFi RAM
+ | (8KB) |
+ 0x0477E000 +---------------+
+ | User R/W | SmartFS
+ | (1400KB) |
+ | |
+ 0x04620000 +---------------+
+ | OTA download | OTA image
+ | (1536KB) |
+ | |
+ 0x044A0000 +---------------+
+ | Factory Reset | Factory Reset OS image
+ | (1536KB) | You have to compress the OS image and download it.
+ | |
+ 0x04320000 +---------------+
+ | OS AREA | TizenRT
+ | (TizenRT) | (build/output/bin/tinyara_head.bin)
+ | (2400KB) |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ 0x040C8000 +---------------+
+ | WiFi F/W | WiFi Firmware
+ | (512KB) | (build/configs/artik053/bin/wlanfw.bin)
+ | |
+ 0x04048000 +---------------+
+ | SSS F/W | Secure Firmware
+ | (32KB) | (build/configs/artik053/bin/sssfw.bin)
+ 0x04040000 +---------------+
+ | BL2 | 2nd stage bootloader
+ | (192KB) | (build/configs/artik053/bin/bl2.bin)
+ 0x04010000 +---------------+
+ | SSS R/O Key | Secure boot key
+ | (48KB) |
+ 0x04004000 +---------------+
+ | BL1 | 1st stage bootloader
+ | (16KB) | (build/configs/artik053/bin/bl1.bin)
+ 0x04000000 +---------------+
```
-### SRAM usage (1280KB)
+### iRAM usage (1280KB)
-Actually, BL1, OS and WiFi firmware are operated in SRAM.
+Actually, BL1, OS and WiFi firmware are operated in iRAM.
```
-0x02160000 --------------------------
- WiFi (320KB)
-0x02110000 --------------------------
- User Data (OS) (946KB)
-0x02023800 --------------------------
- BL1
-0x02021800 --------------------------
- Reserved
-0x02021000 --------------------------
- Vector Table
-0x02020000 --------------------------
+ ADDRESS CONTENTS NOTE
+ 0x02160000 +---------------+
+ | WiFi |
+ | (320KB) |
+ | |
+ | |
+ | |
+ 0x02110000 +---------------+
+ | User Data |
+ | (OS) |
+ | (946KB) |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ | |
+ 0x02023800 +---------------+
+ | BL1 |
+ | (8KB) |
+ 0x02021800 +---------------+
+ 0x02020FFF +---------------+
+ | Vector Table |
+ | (4KB) |
+ 0x02020000 +---------------+
```