User`s manual

MOTOROLA
Minimal PowerPC 603e Evaluation Board
11
Part 4 DINK Memory Map
The hardware memory map shown in Table 2 is useful for programming input/output functions. For
example, controlling the status LED in the coding example of section 1.1 on page 5 required knowledge of
where the Serial One UART Control register could be addressed in the memory space. Equally important is
the knowledge of where the user can download code without overwriting DINK or where functions or
variables in DINK that are useful to the programmer are stored within memory.
Unlike the physical hardware of the UART addresses, the addresses DINK assigns to functions or variables
may change with each compilation and link of DINK. The linker can be conÞgure to generate a Þle which
cross-references the symbol name of functions and global variables with their assigned physical address. A
copy of this Þle name xref.txt is generally provided by Motorola with the s-record Þle for a new build of
DINK. As an example, Table 3 provides some key addresses combed from the xref.txt for DINK32 version
10.3.
Table 2: Excimer Hardware Memory Map
Suggeste
d Start
Suggested
End
Address
Start
Address
End
R/W Size Device
0000 0000 00FF FFFF
(007F FFFF
in rev X2)
0000 0000 3FFF FFFF 1, 2, 4, 8 byte,
burst
1, 2, 4, 8 byte
1MB of Static RAM
4000 0000 4000 0000 4000 0000 4000 FFF0 COM2 Data register
4008 0000 4008 0000 4008 0000 4008 FFF0 Interrupt enable
4010 0000 4010 0000 4010 0000 4010 FFF0 FIFO control
4018 0000 4018 0000 4018 0000 4018 FFF0 Line control
4020 0000 4020 0000 4020 0000 4020 FFF0 Status LED (Modem control)
4028 0000 4028 0000 4028 0000 4028 FFF0 Line status
4030 0000 4030 0000 4030 0000 4030 FFF0 Modem status
4038 0000 4038 0000 4038 0000 4038 FFF0 Scratch
4040 0000 4040 0000 4040 0000 4040 FFF0 COM1 Data register
4048 0000 4048 0000 4048 0000 4048 FFF0 Interrupt enable
4050 0000 4050 0000 4050 0000 4050 FFF0 FIFO control
4058 0000 4058 0000 4058 0000 4058 FFF0 Line control
4060 0000 4060 0000 4060 0000 4060 FFF0 Error LED (Modem control )
4068 0000 4068 0000 4068 0000 4068 FFF0 Line status
4070 0000 4070 0000 4070 0000 4070 FFF0 Modem status
4078 0000 4078 0000 4078 0000 4078 FFF0 Scratch
4079 0000 7FFF FFFF Unused
8000 0000 BFFF FFFF 8000 0000 BFFF FFFF User/expansion I/O (XCS1
)
FF80
0000
FFFF FFFF C000 0000 FFFF FFFF (1 read only),
2, 4, 8 bytes
Flash