SPRUIU8A March   2020  – August 2021 TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1

 

  1.   Trademarks
  2. 1Introduction
  3. 2Resources Required for LFU
  4. 3Memory Layout
  5. 4Static Code in LFU
  6. 5LED Example Application and LFU Flow
  7. 6Running the LED Example
    1. 6.1 Serial Flash Programmer Update
    2. 6.2 Programming Static Code – Loading via Code Composer Studio (CCS)
    3. 6.3 Live Firmware Update of Application
    4. 6.4 Limitations and Troubleshooting
  8. 7Revision History

Serial Flash Programmer Update

The serial flash programmer (serial_flash_programmer.exe) supplied with C2000ware takes both the kernel and application image as parameters. Typically, the kernel is transferred first over to the SCI bootloader and executed from RAM or Flash on the device. The kernel program then takes the application image over SCI (from serial programmer running on PC) and programs the application image in flash memory.

In the case of LFU, the static content including flash kernel is first programmed to flash sectors 0 and 1 of Flash banks 0 and 1. This is described in Section 6.2. After this, the serial flash programmer needs to be modified to transfer only the application image. This can be done by commenting the line “#define kernel” in serial_flash_programmer.cpp. The serial flash programmer can be regenerated by compiling the project in Visual C (called serial_flash_programmer_appln.exe). The pre-built executable is placed at <C2000Ware>\utilities\flash_programmers\serial_flash_programmer\). Thus, the user needs to take no action here.