User Manual

6-2 EP7309/11/12 Users Manual - DS508UM4
Copyright Cirrus Logic, Inc. 2003
Processor Support
6
Internal Boot Mode
The 128 bytes of on-chip Boot ROM contain an instruction sequence that configure
UART1 to receive up to 2 Kbytes of serial d ata which i s then placed in the on-chip
SRAM. Once the download is complete, the program counter jumps to SRAM to
begin executing th e downloaded data. Th e purpose of th is mode is to allow the
downloaded code to facilitate programming of F LASH or other R OM device. See
Appendix A for code details.
Selection of the intern al Boot ROM is a c comp lished by s etting
nMEDCHG (active low)
before pow er-on-reset. The value read is latched at the rising edge of
nPOR.
The processor at power-on-reset is in Standby state in this mode and
WAKEUP must
be as serted in accordance with the p ower-up sequ ence to wak e up the processor and
putitintoOperatingState.
The memory map is as follows:
External Boot Mode
Normal boot mode here involves the processor sensing that nMEDGHG is not active
and then checks for boot width by looking at the pin values on
PE[1:0] to determine
the width of the boot device. Table 6-2 below is the interpretation by the proces sor.
Table 6-1: Chip Select Address Ranges for On-Chip Boot ROM
Address Range Chip Select
0000.00000FFF.FFFF
CS[7]
(Internal only)
1000.00001FFF.FFFF
CS[6]
(Internal only)
2000.00002FFF.FFFF nCS[5]
3000.00003FFF.FFFF nCS[4]
4000.00004FFF.FFFF nCS[3]
5000.00005FFF.FFFF nCS[2]
6000.00006FFF.FFFF nCS[1]
7000.00007FFF.FFFF nCS[0]
Table 6-2: Boot Options
PE[1] PE[0] Boot Block (nCS0)
0032-bit
0 1 8-bit
1016-bit
1 1 Undefined