Memory Organization; Introduction; Km4 Memory Map And Register Boundary Addresses - Realtek Ameba-D RTL872 D Series User Manual

Table of Contents

Advertisement

2

Memory Organization

2.1

Introduction

Ameba-D incorporates several distinct memory regions. Program memory, data memory, registers, and I/O ports are organized within the
same linear 4Gbytes address space. The bytes are coded in memory in Little-Endian format.
The addressable memory space is divided into multiple main blocks, as shown in Table 2-1. All the memory areas that are not allocated to on-
chip memories and peripherals are considered "RSVD" (reserved). For the detailed mapping of available memory and register areas, refer to
the following sections.
Base Address
Top Address
0x0000_0000
0x0001_FFFF
0x0002_0000
0x0002_7FFF
0x0002_8000
0x0007_FFFF
0x0008_0000
0x0008_FFFF
0x0009_0000
0x000B_FFFF
0x000C_0000
0x000C_3FFF
0x000C_4000
0x000F_FFFF
0x0010_0000
0x01FF_FFFF
0x0200_0000
0x07FF_FFFF
0x0800_0000
0x0FFF_FFFF
0x1000_0000
0x1007_FFFF
0x1008_0000
0x100D_FFFF
0x100E_0000
0x100E_FFFF
0x100F_0000
0x100F_FFFF
0x1010_0000
0x1013_FFFF
0x101C_0000
0x101D_7FFF
0x101C_0000
0x101F_FFFF
0x1020_0000
0x1FFF_FFFF
0x2000_0000
0x3FFF_FFFF
0x4000_0000
0x47FF_FFFF
0x4800_0000
0x4FFF_FFFF
0x5000_0000
0x57FF_FFFF
0x5800_0000
0xFFFF_FFFF
2.2

KM4 Memory Map and Register Boundary Addresses

Table 2-2 gives the boundary addresses of the peripherals available in the KM4 devices.
Port Name
KM4_SRAM1
KM4_SRAM2
Extension SRAM
PSRAM Memory
HS_SYSON
HS_TIM0 ~ 3/4/5
HS_UART0
User Manual
Table 2-1 Address space main blocks
Size
Function
128KB
KM0 ITCM ROM (actually 96KB)
32KB
KM0 DTCM ROM (actually 16KB)
352KB
RSVD
64KB
KM0 SRAM
192KB
RSVD
16KB
Retention SRAM (1KB) (the same port
with KM0 SRAM)
240KB
RSVD
31MB
RSVD
96MB
External PSRAM
128MB
External FLASH
512KB
KM4 SRAM
384KB
RSVD
64KB
Extension SRAM0 from Bluetooth
64KB
Extension SRAM1 from Wi-Fi
256KB
KM4 ITCM ROM
96KB
KM4 DTCM ROM
256KB
RSVD
254MB
RSVD
512MB
RSVD
128MB
KM4 Peripherals
128MB
KM0 Peripherals
128MB
KM4 Peripherals Secure
2816MB
RSVD
Table 2-2 KM4 register boundary addresses
Security
IDAU
IDAU
IDAU
IDAU
Non-Secure
Secure
Non-Secure
Non-Secure
All information provided in this document is subject to legal disclaimers.
Base Address
0x1000_0000
0x1004_0000
0x100E_0000
0x0200_0000
0x4000_0000
0x5000_0000
0x4000_2000
0x4000_4000
25
Description
32MB: KM0 Memory Address
224MB: External Memory Address
256MB: KM4 Memory Address
Reserved
128MB: KM4 Peripherals Address
128MB: KM0 Peripherals Address
128MB: KM4 Peripherals Secure Address
Reserved
Top Address
0x1003_FFFF
0x1007_FFFF
0x100F_FFFF
0x07FF_FFFF
0x4000_0FFF
0x5000_0FFF
0x4000_2FFF
0x4000_4FFF
Memory Organization
Size
256KB
256KB
128KB
96MB
4KB
4KB
4KB
4KB
© REALTEK 2019. All rights reserved.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ameba-d rtl8722dm-evb

Table of Contents