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 )
Содержание EX-USB FX3
Страница 8: ...8 FX3 Programmers Manual Doc 001 64707 Rev C Contents...
Страница 12: ...12 FX3 Programmers Manual Doc 001 64707 Rev C Introduction...
Страница 48: ...48 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Overview...
Страница 74: ...74 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Firmware...
Страница 76: ...76 FX3 Programmers Manual Doc 001 64707 Rev C FX3 APIs...
Страница 84: ...84 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Application Examples...
Страница 98: ...98 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Application Structure...
Страница 148: ...148 FX3 Programmers Manual Doc 001 64707 Rev C FX3 P Port Register Access...
Страница 153: ...FX3 Programmers Manual Doc 001 64707 Rev C 153 FX3 Development Tools 2 Select General Existing projects into Workspace...
Страница 165: ...FX3 Programmers Manual Doc 001 64707 Rev C 165 FX3 Development Tools Click next...
Страница 178: ...178 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools Click on Apply...
Страница 180: ...180 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools d Start the GDB server...
Страница 185: ...FX3 Programmers Manual Doc 001 64707 Rev C 185 FX3 Development Tools...
Страница 186: ...186 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools...
Страница 187: ...FX3 Programmers Manual Doc 001 64707 Rev C 187 FX3 Development Tools...
Страница 188: ...188 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools...
Страница 192: ...192 FX3 Programmers Manual Doc 001 64707 Rev C GPIF II Designer...