C-Boot ROM Description
589
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
ROM Code and Peripheral Booting
Table 6-21. MTOC IPC Commands (continued)
Value
(M3 - R/W, C28X R)
MTOCIPCCOM
MTOCIPCADDR
(M3 - R/W,
B.C28X R)
MTOCIPCDATAW
(M3 - R/W, C28X
R)
MTOCIPCDATAR
(M3 - R, C28X
R/W)
MTOCIPCFLG[31]
= ?
(MTOCIPCFLAG[
0] = 0)
Description
14
MASTER_IPC_MTOC_DATA
_WRITE_PROTECTED_32
Address of the 32
bit register
Data
Same as above
0x00 = Command
success
EALLOW;
*(address) = data;
EDIS;
15
MASTER_IPC_MTOC_DATA
_READ_PROTECTED_16
Address of the 16
bit register
DON’T CARE
Data in
MTOCIPCDATAR[
15:0]
0x00 = Command
success
EALLOW;
MTOCIPCDATAR[15:0]
= *(address);
EDIS;
Only 16 bit read from
address
16
MASTER_IPC_MTOC_DATA
_READ_PROTECTED_32
Address of the 32
bit register
Same as above
32 bit data
0x00 = Command
success
EALLOW;
MTOCIPCDATAR[31:0]
= *(address);
EDIS;
32 bits read from
address
17
MASTER_IPC_MTOC_BRA
NCH_CALL
Address where to
branch to
DON’T CARE
DON’T CARE
0x00 = Command
success
C-BootROM will jump
to the address in
ADDR register and
starts executing the
code from that
address;
PIE will be enabled
when this branch
occurs, it is up to the
application to disable
and reload PIE
interrupt handlers if it
wants to.
The current PIE
interrupt will be
acknowledged before
the branch is
performed.
18
MASTER_IPC_MTOC_FUN
CTION_CALL
Address of the
function
Parameter for the
function call
Result of function
call (return value if
any from function)
0x00 = Command
success
C-BootROM will jump
to the address in
ADDR register and
starts executing the
code from that
address; Data in
DATAW register can
be used as parameter
to the function call. C-
BootROM returns back
to where it was after
servicing the function
call.
Function call is
performed from inside
the interrupt service
routine on the control
subsystem so user has
to keep this in mind.
19
MASTER_IPC_MTOC_EXEC
UTE_BOOTMODE_CMD
DON’T CARE
DON’T CARE
DON’T CARE
0x00 = Command
success
Execute loaders as per
requested value in the
MTOCBOOTMODE
register
Refer to
These loaders are
called from within the
interrupt service routine
context.
So, any PIE interrupts
of same or lower level
will be pended until this
interrupt is
acknowledged; that is,
until the loader
completes.