42
FX3 Programmers Manual, Doc. # 001-64707 Rev. *C
FX3 Overview
chain. This process goes on until either the buffer chain ends or the next buffer in chain is not
available. The producer and consumer socket only share the buffer/descriptor chain. It is not
necessary for them to be executing the same descriptor in the chain at any given instant.
In nonconventional DMA transactions, the producer and consumer sockets can be two different
sockets on the same peripheral. In some cases (for example, reading F/W over I
2
C), there is no
destination peripheral or consumer socket. In this case, CPU is assumed to be the consumer.
Conversely, CPU can act as a producer to a consumer socket on the destination peripheral (for
example, printing debug messages over UART).
3.8
Memory Map and Registers
Figure 3-15. Memory Map
The ARM PL192 VIC is located outside the regular MMIO space, on top of the BootROM at location
FFFFF000. This is conform the PL192 TRM, to facilitate single instruction jump to ISR from the
vector table at location 00000000 for IRQ and FIQ. For more details see ARM PL192 TRM.
A peripheral of FX3 typically contains the following registers
■
ID register
■
Clock, power config register
■
Peripheral specific config registers
■
Interrupt enable, mask an status registers
■
Error registers
■
Socket registers for sockets associated with the peripheral
00000000
Reserved
Boot ROM
MMIO Space
IP_ FFF
DTCM
Reserved
Main System
SRAM
3FFFFFFF
40000000
7FFFFFFF
80000000
DFFFFFFF
E0000000
EFFFFFFF
E 0000000
E 000 FFFF
IP_ 003
IP_ 002
IP_001
CPU Vectors
ISR Code,
RTOS Kernel
etc.
E 0010000
E 001 FFFF
E 0020000
E 002 FFFF
EFFF 0000
EFFFFFFF
00000020
RESET (N/A)
FFFFFFFF
F0000000
UNDEF INSTR
SW INT
ABORT ( PREF)
ABORT ( DATA)
RESERVED
IRQ
FIQ
00000000
00000004
00000008
0000000C
00000010
00000014
00000018
0000001C
‘Regular’
MMIO Space
E 0007FFF
E 0008000
E 0000000
E 000 FFFF
SCK_ GBL
SCK_00
E 000FF 00
E 000807f
SCK_ DSCR
E 0008000
E000807C
EVENT
RESERVED
SCK_ SIZE
SCK_ COUNT
SCK_ STATUS
DSCR_ BUFFER
DSCR_ SYNC
DSCR_ CHAIN
DSCR_ SIZE
E 0008004
E 0008008
E 000800 C
E 0008020
E 0008024
E 0008028
E 000802 C
SCK_ INTR0
TIMEOUT_ ON0
TIMEOUT_ CTR
TIMEOUT_ST0
TIMEOUT_ EN0
E 000 FF00
E 000 FF20
E 000 FF40
E 000 FF60
E 000 FF80
SCK_FD
E 000FE 80
E 000 FEFF
ITCM
BFFFFFFF
C0000000
Reserved
0FFFFFFF
10000000
1FFFFFFF
20000000
ARM PL 192 VIC
FFFFF 000
FFFFFFFF
Unused
Unused
( variable)
ISR Data
RTOS Tables
etc.
10000000
00000000
( variable)
DMA Descriptors
Translation Table
( all sections)
MAX-16 KB
MAX
40000000
Code , Data ,
DMA Buffers
416* # dscr -1
416* # dscr
Unused
Unused
Peripheral Config
Peripheral logic
Specific reg #1
#N
E 0000000
E0007 FFF
Unused
Peripheral logic
Specific reg
Peripheral ID,Power
The proc port and the USB port peripherals
have a dedicated 64KB MMIO region, 32 KB
of which is alloted for sockets. The I2S, I2C,
UART and SPI each have a dedicated 4KB
register space but share the 32 KB socket
area…………………………………………..
CPU comes out of reset with TCM’s
disabled and VINITHI=1. Reset will
jump to FFFF0000 directly into
BootROM. BootROM enabled TCMs
and moves vectors to 00000000
Some memories (SysMem, BootROM) fill entire address
space alloted, regardless of their physical size. If physical
memory is smaller, most significant address bits are
ignored (memory ‘repeats’). This is not to be used, and
usually fault protected by the MMU ……………………..
Содержание 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...