SLAAEC9 july   2023 MSPM0L1306 , MSPM0L1306

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2LFU Bootloader Features Overview
  6. 3Hardware and Software Setup
    1. 3.1 Hardware Requirement
    2. 3.2 Software Setup
  7. 4LFU Bootloader Implementation
    1. 4.1 LFU Bootloader and Application Projects
    2. 4.2 Memory Allocation
    3. 4.3 LFU Bootloader Implemented
    4. 4.4 LFU Application Code Implementation
      1. 4.4.1 The Linker Command File for Application
      2. 4.4.2 Peripheral and Interrupt Initialization
      3. 4.4.3 Debug for Application Project
    5. 4.5 Invoke Firmware Upgrade Process
  8. 5Host GUI Tool Introduction
    1. 5.1 LFU Firmware Update
    2. 5.2 Application Project Link Files Generation
    3. 5.3 Non-Main Flash Configuration Firmware Generation
      1. 5.3.1 Steps to Generate the Non-Main Flash Configuration Firmware
      2. 5.3.2 UNIFLASH Tool to Program the NONMAIN Flash Configuration Data
  9. 6LFU Bootloader Protocol
    1. 6.1 Packet Format and Core Commands
    2. 6.2 Special Commands in LFU Bootloader
    3. 6.3 Host Device Firmware Upgrade Flow
  10. 7Migration to Other MSPM0 Devices
  11. 8References

LFU Firmware Update

Confirm the items below before starting LFU firmware upgrade process:

  • Make sure bootloader firmware already programmed into device via SWD interface.
  • Build application project and generate the .txt file needed for firmware upgrade. Suggest generating both application code 1 and application code 2 for evaluation purpose.
  • Prepare .txt format BSL password file.

Now you can launch PC GUI tool by double-click the file MSPM0_LFU_BSL_GUI.exe at the folder “…\MSPM0 LFU Bootloader Implementation v1.1\BSL_GUI_EXE”. The following steps describe how to perform firmware upgrade process:

  1. Check application code status, which application code is executed or no application code in the device.
  2. Select application code for firmware upgrade evaluation.
    1. If no application code in the device, you can select either application code 1 or application code 2 for firmware upgrade.
    2. If application code 1 is executed in the device, select application code 2 for firmware upgrade.
    3. If application code 2 is executed in the device, select application code 1 for firmware upgrade.
  3. Choose a password file based on the format of the default one in the input folder.
  4. Click the download button to do the firmware update.
    GUID-20230421-SS0I-CPHS-PT4H-SPMMWSXWXNQH-low.png Figure 5-1 Steps to Update Firmware With the GUI