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

Application Project Link Files Generation

If you would like to migrate this example project to any other MSPM0 devices, you need a different linker command file of application code for the specific device. The GUI tool can do this, automatic generate the cmd files according to the MSPM0 part number you input. Use MSPM0G3507 as an example and follow the steps below to generate the needed files:

  1. In GUI tool, click the More Option menu and select the option - create linker files.
  2. Enter MSPM0 part number, for example MSPM0G3507.
  3. Select one folder to save the generated files.
  4. Click the Generate button to generate the files.
    GUID-20230421-SS0I-ZQDH-K2HS-V4W6ZJWJ3XHT-low.png Figure 5-2 Steps to Generate Link Files With the GUI
  5. The following three files are generated:
    1. mspm0g3507_App1.cmd, this is the cmd file for application code 1.
    2. mspm0g3507_App2.cmd, this is the cmd file for application code 2.
    3. device.h, this is the needed file for bootloader and both application codes.