Texas Instruments TMS320C3x User Manual

Page 374

Advertising
background image

TMS320C32 Boot Loader

11-19

Using the TMS320C31 and TMS320C32 Boot Loaders

Figure 11–6.Boot-Loader Memory-Load Flowchart

End of source
program code

(block size = 0)?

End of source
program code

(block size = 0)?

Set STRB0, STRB1, and

IOSTRB control registers

to the values read at the

beginning of the load

Transfer data source to

destination address

Read destination strobe

control word

Read destination address

Read STRB0 control

register

Read IOSTRB control

register

Read memory width:

8, 16, or 32 bits

Determine boot address:
Boot 1, Boot 2, or Boot 3

Read STRB1 control

register

According to the destination

address, set corresponding

STRB control register to the

previously read value

Is

IF register

bit field INT3

set

?

Memory load

Yes

No

Enable

handshake mode

Read block size

Yes

No

Yes

No

Branch to destination

address of first block

loaded

Begin program execution

Advertising