M-Boot ROM Description
612
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
ROM Code and Peripheral Booting
6.5.15.5
M-Boot ROM Flash Boot Mode
If this boot mode is selected, Boot ROM branches is the flash entry point as explained in
.
The function call sequence below gives details of the flow when Flash boot mode is selected on the
device.
•
ResetIsr()
•
mbrom_init_device()
•
mbrom_master_system_init ()
•
mbrom_control_system_init()
•
mbrom_analog_system_init()
•
M-Boot ROM WIR Mode Check – Please refer to WIR Mode section in the
System Control and
Interrupts
chapter.
•
mbrom_get_bootmode()
•
mbrom_start_app(M_BOOT_ROM_FLASH_ENTRY_POINT)
6.5.15.6 M-Boot ROM RAM Boot Mode
If this boot mode is selected Boot ROM branches is the RAM entry point as explained in
The function call sequence below gives details of the flow when RAM boot mode is selected on the
device.
•
ResetIsr()
•
mbrom_init_device()
•
mbrom_master_system_init ()
•
mbrom_control_system_init()
•
mbrom_analog_system_init()
•
M-Boot ROM WIR Mode Check – Please refer to WIR Mode section in the
System Control and
Interrupts
chapter.
•
mbrom_get_bootmode()
•
mbrom_start_app(M_BOOT_ROM_RAM_ENTRY_POINT)
6.5.15.7 M-Boot ROM I2C0 Master Boot Mode
In this mode M-Boot ROM configures I2C0 peripheral as master and tries to boot from an I2C slave at
address 0x52. The pins used in this boot mode are listed in
. The boot protocol used in this
mode is exactly same as the C-Boot ROM I2C Master boot Mode, explained in C-Boot ROM Boot I2C
Boot Mode chapter. The data transfer procedure explained in
and data copy procedure
explained in
under C-Boot ROM sections is also followed here in M-Boot ROM.
The data format or data stream structure that M-Boot ROM expects the data to be coming in from I2C
slave is exactly the same as defined in M-Boot ROM Parallel boot mode in
.
M-Boot ROM I2C0 Master boot mode reads location 0x68101C to get the MAINOSC clock frequency
needed to calculate dividers I2C Fast mode (400 Kbps) operation. This location belongs to User OTP
where user can program the clock frequency the device is provided with. If the value at this location is
read to be 0xFFFFFFFF or 0x00000000 then M-Boot ROM assumes the default 20MHZ frequency for the
divider calculations. If any other value is read then M-Boot ROM will use that value.
6.5.15.8 M-Boot ROM SSI0 Master Boot Mode
In this mode, M-Boot ROM configures the SSI0 peripheral as master and tries to boot from a SSI slave.
The pins used in this boot mode are listed in
.