EasyManua.ls Logo

Cypress EX-USB FX3 - Page 56

Cypress EX-USB FX3
192 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
56 FX3 Programmers Manual, Doc. # 001-64707 Rev. *C
FX3 Firmware
Figure 5-2. FX3 Memory Map
A linker script file is used to provide the memory map information to the GNU linker. The example
given below is from the linker script file distributed with the FX3 SDK (fx3.ld):
EXCEPTION VECTORS (BASE: 0x0000 0000, SIZE: 0x0100)
INTERRUPT HANDLERS (BASE: 0x0000 0100, SIZE: 0x3F00)
I-TCM (BASE 0x0000 0000,
SIZE: 0x4000)
SYS MODE STACK (BASE: 0x1000 0000, SIZE: 0x0800)
FIQ MODE STACK (BASE: 0x1000 0A00, SIZE: 0x0200)
IRQ MODE STACK (BASE: 0x1000 0C00, SIZE: 0x0400)
SVC MODE STACK (BASE: 0x1000 1000, SIZE: 0x1000)
D-TCM (BASE 0x1000 0000,
SIZE: 0x2000)
DATA AREA (BASE: 0x4003 0000, SIZE: 0x8000 – If no compiler heap / 0x7000 if
compiler heap is enabled)
OPTIONAL COMPILER HEAP AREA (BASE: 0x4003 7000, SIZE: 0x1000)
RTOS HEAP AREA (BASE: 0x4003 8000, SIZE: 0x8000)
DMA BUFFER AREA (BASE: 0x4004 0000, SIZE: 0x40000)
DMA DESCRIPTORS (BASE: 0x4000 0000, SIZE: 0x3000)
CODE AREA (BASE: 0x4000 3000, SIZE: 0x2D000)
SYSTEM MEMORY
(BASE 0x4000 0000,
SIZE: 0x80000)
UND MODE STACK (BASE: 0x1000 0900, SIZE: 0x0100)
ABT MODE STACK (BASE: 0x1000 0800, SIZE: 0x0100)
HW (CANNOT BE
CHANGED)
SYS_MEM (EXAMPLE
USAGE)
COMPILER HEAP
(OPTIONAL)
DTCM / ITCM
(RECOMMENDED NOT
TO BE CHANED )

Table of Contents