The following and subsequent sections discusses
how to use the flash programmer commands to convert an HS-FS device to an HS-SE device.
In an overarching view, to convert an default
HS-FS device, user must first:
- Goes through Key Provision, which converts to an
intermediate state of HS-KP. (Key Provisioned, but no image has been flashed thus
far).
- Goes through Code Provision, which converts HS-KP
device to HS-SE upon any successful flash unto the flash banks.
- The flash programmer has provided
three options to program flash as part of Code Provisioning:
- CPU1 flash
- HSM flash
- SEC CFG flash (part of non-main
flash bank)
- After the first Code Provision and the device is
in HS-SE, any subsequent Code Provisions are still allowed to program flash. And the
device maintains the HS-SE status.
Even though any of the three provided Code
Provision option uplifts the device into HS-SE, TI recommends to program SEC CFG first,
prior to either CPU1 flash or HSM flash programming.
Over the next subsequent sections, each provision
flow is discussed in chronological order.
CAUTION: BootROM follows a state machine
sequence of expecting a SBL boot prior to any HSM services, as such, use the regular
non-appIn version of the flash programmer. Refer to
Section 4.1 on the difference of the two.