TMS320C32 Boot Loader
11-15
Using the TMS320C31 and TMS320C32 Boot Loaders
Table 11–7.
Boot-Loader Mode Selection
ÁÁÁ
ÁÁÁ
INT0
ÁÁÁ
ÁÁÁ
INT1
ÁÁÁÁ
ÁÁÁÁ
INT2
ÁÁÁ
ÁÁÁ
INT3
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
Boot Loader Mode
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
Source Program Location
ÁÁÁ
ÁÁÁ
0
ÁÁÁ
ÁÁÁ
1
ÁÁÁÁ
ÁÁÁÁ
1
ÁÁÁ
ÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
External memory
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
Boot 1 address 1000h
ÁÁÁ
Á
Á
Á
ÁÁÁ
1
ÁÁÁ
Á
Á
Á
ÁÁÁ
0
ÁÁÁÁ
Á
ÁÁ
Á
ÁÁÁÁ
1
ÁÁÁ
Á
Á
Á
ÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁÁÁ
External memory
ÁÁÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁÁÁ
Boot 2 address 81 0000h
ÁÁÁ
ÁÁÁ
1
ÁÁÁ
ÁÁÁ
1
ÁÁÁÁ
ÁÁÁÁ
0
ÁÁÁ
ÁÁÁ
1
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
External memory
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
Boot 3 address 90 0000h
ÁÁÁ
ÁÁÁ
1
ÁÁÁ
ÁÁÁ
1
ÁÁÁÁ
ÁÁÁÁ
1
ÁÁÁ
ÁÁÁ
0
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
32-bit fixed-burst serial
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
Serial Port
ÁÁÁ
Á
Á
Á
ÁÁÁ
0
ÁÁÁ
Á
Á
Á
ÁÁÁ
1
ÁÁÁÁ
Á
ÁÁ
Á
ÁÁÁÁ
1
ÁÁÁ
Á
Á
Á
ÁÁÁ
0
ÁÁÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁÁÁ
External memory with handshake
ÁÁÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁÁÁ
Boot 1 address 1000h,
XF0 and XF1 used in handshaking
ÁÁÁ
ÁÁÁ
1
ÁÁÁ
ÁÁÁ
0
ÁÁÁÁ
ÁÁÁÁ
1
ÁÁÁ
ÁÁÁ
0
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
External memory with handshake
ÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁ
Boot 2 address 81 0000h,
XF0 and XF1 used in handshaking
ÁÁÁ
Á
Á
Á
ÁÁÁ
1
ÁÁÁ
Á
Á
Á
ÁÁÁ
1
ÁÁÁÁ
Á
ÁÁ
Á
ÁÁÁÁ
0
ÁÁÁ
Á
Á
Á
ÁÁÁ
0
ÁÁÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁÁÁ
External memory with handshake
ÁÁÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁÁÁ
Boot 3 address 90 0000h,
XF0 and XF1 used in handshaking
11.2.3 TMS320C32 Boot-Loading Sequence
The following is the sequence of events that occur during the boot load of a
source program. Table 11–2 shows the structure of the source program.
1) Select the boot loader by resetting the ’C32 while driving the MCBL/MP pin
high and the corresponding INT3–INT0 pins low. The MCBL/MP must stay
high during boot loading, but can be changed anytime after boot loading has
terminated. No reset is necessary when changing the INT3–INT0 pin, as
long as the ’C32 is not accessing the overlapping memory (0h–FFFh) during
this transition. In nonhandshake mode, one of the INT3–INT0 pins can be
driven low any time after deasserting the RESET pin (driven low and then
high). While in handshake mode, two interrupt pins must be asserted before
deasserting the RESET pin.
2) The status of the IF register’s INT3–INT0 bit fields dictates the boot-loading
mode. The bits are polled in the order described in the flowchart in
Figure 11–4.
3) If only the IF register’s INT3 bit field is set, the boot loader configures the
serial port for 32-bit fixed burst mode reads with an externally generated
serial-port clock and FSR. Then, it proceeds to boot load the source pro-
gram from the serial port. A header indicating the STRB0, STRB1, and
IOSTRB control registers precedes the actual program (see Table 11–2).
These header values are loaded into the corresponding locations at the
completion of the boot-load operation. The transferred data-bit order sup-
plied to the serial port must begin with the most significant bit (MSB) and
end with the least significant bit (LSB). Figure 11–5 depicts the boot-loader
serial-port flow.