M-Boot ROM Description
589
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
ROM Code and Peripheral Booting
Table 6-5. M-Boot ROM Boot Mode GPIO Assignments (continued)
M-Boot ROM
Boot Mode
Peripheral
Boot
Function
Name for pin
Direction
GPIO(s) used
Pin Mux Assignment
MII_RXD1
Input
PL2_GPIO82
Alternate
12
Master(default
)
MII_RXD0
Input
PL3_GPIO83
Alternate
12
Master(default
)
MII_TXER
Output
PK6_GPIO78
Alternate
12
Master(default
)
MII_RXDV
Input
PM5_GPIO93
Alternate
12
Master(default
)
MII_MDIO
Bi-Directional
PM0_GPIO88
Alternate
12
Master(default
)
MII_TXEN
Output
PK4_GPIO76
Alternate
12
Master(default
)
MII_TXCK
Input
PK5_GPIO77
Alternate
12
Master(default
)
MII_RXER
Input
PM6_GPIO94
3
0(default)
Master(default
)
MII_RXCK
Input
PM7_GPIO95
Alternate
12
Master(default
)
MII_MDC
Output
PL7_GPIO87
Alternate
12
Master(default
)
MII_COL
Input
PL4_GPIO84
Alternate
12
Master(default
)
MII_CRS
Input
PK7_GPIO79
Alternate
12
Master(default
)
MII_PHYINTR
n
Input
PL6_GPIO86
Alternate
12
Master(default
)
MII_PHYRSTn Output
PL5_GPIO85
Alternate
12
Master(default
)
Boot from I2C
Master
I2C0
I2C0_CLK
Input
PB2_GPIO10
1
0(default)
Master(default
)
(Boot Mode
10)
I2C_DATA
BI-Directional
PB3_GPIO11
1
0(default)
Master(default
)
Boot from SSI
Master
SSI0
SSI0_CS
Input
PA3_GPIO3
1
0(default)
Master(default
)
(Boot Mode 9)
SSI0_CLK
Input
PA2_GPIO2
1
0(default)
Master(default
)
SSI0_TX
Output
PA5_GPIO5
1
0(default)
Master(default
)
SSI0_RX
Input
PA4_GPIO4
1
0(default)
Master(default
)
6.5.10 M-Boot ROM Functional Flow
As shown in
, ResetISR is the main function that is called whenever M-Boot ROM is executed
after a reset. This section explains the flow of M-Boot ROM following the function call sequence.
6.5.10.1 RESETISR()
•
CSM initialization
–
Read OTPSECLOCK
–
Read Z1 CSM and Z2 CSM registers. Please refer to the Security section in the
System Control
and Interrupts
chapter for more details.
•
Device Configuration Initialization