Skip to content

Latest commit

 

History

History
155 lines (134 loc) · 6.4 KB

README.md

File metadata and controls

155 lines (134 loc) · 6.4 KB

Memory Map (ARTIK05x)

Physical Address Space

The following is the memory map of ARTIK05x.

             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 +---------------+

Flash Partitions (8MB)

8MB is allocated to the SPI Flash area. After building TizenRT, refer to the following areas when downloading to the board.

             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 +---------------+

iRAM usage (1280KB)

Actually, BL1, OS and WiFi firmware are operated in iRAM.

             ADDRESS      CONTENTS       NOTE
           0x02160000 +---------------+
                      |     WiFi      |
                      |    (320KB)    |
                      |               |
                      |               |
                      |               |
           0x02110000 +---------------+
                      |   User Data   |
                      |     (OS)      |
                      |    (946KB)    |
                      |               |
                      |               |
                      |               |
                      |               |
                      |               |
                      |               |
                      |               |
                      |               |
           0x02023800 +---------------+
                      |      BL1      |
                      |     (8KB)     |
           0x02021800 +---------------+
           0x02020FFF +---------------+
                      |  Vector Table |
                      |     (4KB)     |
           0x02020000 +---------------+

Configure USB Drivers

Install and configure USB drivers, so OpenOCD is able to communicate with JTAG interface on ARTIK05x board as well as with UART interface used to upload application for flash. Follow steps below specific to your operating system.

Windows

  • Using standard micro USB B cable connect ARTIK05x Starter Kit to the computer.
  • Wait until ARTIK05x Board is recognized by Windows and drives are installed. If it do not install automatically, then then download Zadig tool (Zadig_X.X.exe) from http://zadig.akeo.ie/ and run it.
  • In Zadig tool go to "Options" and check "List All Devices".
  • Check the list of devices that should contain two ARTIK05x specific USB entries: "Dual RS232-HS (Interface 0)" and "Dual RS232-HS (Interface 1)". The driver name would be "FTDIBUS (vxxxx)" and USB ID: 0403 6010.

Linux

  • Using standard micro USB B cable connect ARTIK05x Starter Kit to the computer.
  • Open a terminal, enter ls -l /dev/ttyUSB* command and check, if board's USB ports are recognized by the OS. You are looking for similar result:
    root@ubuntu:~$ ls -l /dev/ttyUSB*
    crw-rw---- 1 root dialout 188, 0 Oct 25 13:42 /dev/ttyUSB0
    crw-rw---- 1 root dialout 188, 1 Oct 25 13:42 /dev/ttyUSB1
  • The /dev/ttyUSBn interface with lower number is used for JTAG communication. The other interface is routed to ARTIK05x's serial port (UART) used for upload of application to ARTIK05x's flash.