C-Boot ROM Description
586
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
ROM Code and Peripheral Booting
CBROM_MTOC_IPC_INT1_ISR
Below is the procedure that C-Boot ROM, MOTCIPCINT1 handler follows in response to IPC command
from master (MTOCIPCINT1).
•
Read and decode the command in MTOCIPCCOM register.
•
Read/decode the address on which C-Boot ROM has to act as per the command.
•
Read/decode the data with which C-Boot ROM has to act on the above address as per the command.
•
Service the command.
•
Clear MTOCIPCFLG[31] if the command was successfully processed, if the command was invalid or
cannot execute the command because of any reason, MTOCIPCFLG[31] is not cleared and
MTOCIPCDATAR register is updated with error code explained in the following sections.
•
Put the result (if any) of the command in MTOCIPCDATAR register, if the command is executed
successfully.
•
Set bit 0 in MTOCIPCACK register. This will clear bit 0 in MTOCIPCFLG register and Master user
application will know that C-Boot ROM has served the command and it can look at MTOCIPCDATAR
register for the result of command.
explains how C-Boot ROM MTOCIPCINT1 handler - cbrom_mtoc_ipc_int1_isr, follows to
service IPC command from Master.