SPRADS1 June   2025 F29H850TU

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
    1. 1.1 Hardware Security Module
    2. 1.2 Flash Programming Fundamentals
    3. 1.3 High-Level Flow
    4. 1.4 Flow Chart
  5. 2Flash-Based UART SBL with FOTA
    1. 2.1 Implementation
    2. 2.2 Triggering a Bank Swap
  6. 3FOTA_Example_Application
    1. 3.1 led_blinky_cpu1.c
    2. 3.2 Combining the Flash-Based SBL with the FOTA_Example_Application
    3. 3.3 Adding a CPU3 Application
  7. 4Host Application: UART Flash Programmer
    1. 4.1 Overview
  8. 5Example Usage
    1. 5.1 Loading the SBL onto the Device
      1. 5.1.1 Loading by CCS (JTAG)
      2. 5.1.2 Loading via UART Boot and the UART Flash Kernel
    2. 5.2 Example UART Loading Process
  9. 6FAQ
    1. 6.1 General
    2. 6.2 Application Load
  10. 7Summary
  11. 8References

Loading by CCS (JTAG)

Loading the project to CCS is exactly the same as loading any other .out file by the flash plugin tool.

  1. Launch the F29H850TU9.ccxml file as Project-less Debug
    1. The F29H850TU9.ccxml file can be found in the TargetConfig folder of the project
  2. Connect to CPU1
  3. Verify that the device is in either bank mode 1 or bank mode 3
    1. SSU_GEN_REGS.BANKMODE is 0x6 (mode 1) or 0xC (mode 3)
    2. Right-click CPU1 -> Properties
      1. Category drop-down menu -> Flash Settings
      2. Make sure bank mode 1 or 3 is selected
      3. Only select Program BANKMGMT if the device is not in one of these two modes already. If not, then program the BANKMGMT and issue a device reset
  4. Select Run -> Load -> Load Program -> flash_based_uart_sbl_with_fota.out

If users want to program the flash-based SBL to the inactive address space, then make sure the FOTA enable checkbox is checked in the flash plugin before loading.

 FOTA Enable Checkbox in Flash
                    Plugin Figure 5-1 FOTA Enable Checkbox in Flash Plugin

Once these steps are completed, flash-based SBL is loaded to flash and is ready to execute.