SPRADS1 June 2025 F29H850TU
The user interacts with the flash-based SBL project in an almost identical manner as the UART flash kernel. The host application used to send commands and firmware images is common between the two projects, and the host has been updated to leverage several new features available in the flash-based SBL. The UART host flash programmer can be found at the following location: f29h85x-sdk_x_xx_xx_xx > tools> flash_programmers > uart_flash_programmer.
The key difference between the host application usage for the UART kernel and the flash-based SBL is that there is no need to load a kernel .bin file to the device by bootROM. Thus, use the uart_flash_programmer_appIn.exe with the flash-based SBL project. This executable has all the same functionality as uart_flash_programmer.exe, but does not begin with sending a kernel .bin file over UART.
Table 4-1 lists the commands accepted by the flash-based SBL project:
| Command | Description |
|---|---|
|
DFU CPU1 (Device Firmware Upgrade CPU1) |
|
|
DFU CPU3 (Device Firmware Upgrade CPU3) Device must be in Bank Mode 3 |
|
|
HSM_CP_FLASH_IMAGE Device must be in the HS-SE State |
|
|
CPU1_CP_FLASH_IMAGE Device must be in the HS-SE State |
|
|
CPU3_CP_FLASH_IMAGE Device must be in Bank Mode 3 Device must be in the HS-SE State |
|
|
SEC_CFG_IMAGE Device must be in the HS-SE State |
|
|
SYNC_STATUS |
|
Similar to what is described in the Serial Flash Programming of F29H85x™ application note, all firmware passed to the host is in the .bin file format with a valid X.509 certificate in the first 0x1000 bytes. Refer to the Combined Image with X.509 Certificate section of the application note for details on generating a valid .bin file and X.509 certificate.
For more details on how to use the uart_flash_programmer tool, refer to f29h85x-sdk_1_01_00_00\docs\html\UART_FLASH_PROGRAMMER_PAGE.html
Here is an example of how the uart_flash_programmer_appIn.exe is used with the flash-based SBL:
Uart_flash_programmer_appIn.exe -d f29h85x –k flash_kernel.bin –a1 cpu1_application.bin -a3 cpu3_application.bin –p COM34