Figure c–1. boot-loader flow chart – Texas Instruments TMS320C3x User Manual

Page 726

Advertising
background image

Boot-Loader Source Code Description

C-3

TMS320C32 Boot Loader Source Code

Figure C–1. Boot-Loader Flow Chart

Start

Initialize registers:

AR7, SP, IR0

Serial
boot?

Serial initialize

serial global

control register

Destination

address: AR3

Destination strobe

pointer: AR4

Destination strobe

value: R4

Destination data

size: R3

Block size RC

Memory control word

read routine: AR0

Memory width: R5

Process interrupts

INT0, INT1, INT2

Process memory

width word

Read and store

strobe values

Select read

routine

Interrupt flag IF

Block

size=0?

T

rans

fer one bloc

k

of data or program

Memory block read

routine: AR1

Memory width:

R5

Boot source

address: AR3

Handshake mode:

IOF

Read destination

address

Read destination

strobe

Read block size

Boot strobe

pointer: AR2

Restore strobe

values previously

saved

Start

program execution

Yes

Yes

No

No

Boot strobe value:

R2

Advertising