SBAU388D September   2021  – June 2025 TMAG5170 , TMAG5170-Q1

 

  1.   1
  2.   Description
  3.   Features
  4.   Applications
  5.   5
  6. 1Evaluation Module Overview
    1. 1.1 Introduction
    2. 1.2 Kit Contents
  7. 2Hardware
    1. 2.1 EVM Operation
    2. 2.2 Quick Start Setup
  8. 3Software
    1. 3.1 Setup
      1. 3.1.1 Driver Installation
      2. 3.1.2 Firmware
        1. 3.1.2.1 Firmware Debug
      3. 3.1.3 GUI Setup and Usage
        1. 3.1.3.1 Initial Setup
        2. 3.1.3.2 GUI Operation
    2. 3.2 Rotate and Push Demo
    3. 3.3 Direct EVM Serial Communication
  9. 4Schematics, PCB Layout, and Bill of Materials
    1. 4.1 Schematics
    2. 4.2 PCB Layout
    3. 4.3 Bill of Materials
  10. 5Reference
    1. 5.1 Trademarks
  11. 6Related Documentation
  12. 7Revision History

Firmware Debug

If the firmware gets corrupted or must be manually reinstalled for any reason, follow these steps to reinstall the firmware. This is demonstrated in the TMAG5170 EVM Quick Start Video.

  1. Configure the MCU on the TI-SCB Controller to be in Device Firmware Update (DFU) Mode.
    1. It is possible that the MCU has already entered DFU mode. If so, the GUI notifies you and tries to update the firmware to the latest version after the GUI is connected to the PC.
    2. DFU mode can be entered manually through one of the following methods while the TI-SCB Controller is powered on:
      • Through software:
        • Send the command 'bsl' on the TI-SCB's USB Serial (COM) port.
      • Though the hardware:
        • Ensure TI-SCB is connected to the PC through a USB
        • Short the two test points near PK1 and PK2 of the header pins (see Figure 3-1) with a pair of tweezers (or wire) while pressing the RESET button.
          TMAG5170-Q1 Test Points Used to Enter DFU Mode
                                                  Manually Figure 3-1 Test Points Used to Enter DFU Mode Manually
    3. LEDs D1 and D2 are off if successful
  2. With the MCU in DFU mode, the user can upload the firmware through one of the following methods:
    • Through the GUI:
      • In the File menu, select Program Device
      • The firmware update initiates
      • After the GUI re-initializes, the TI-SCB automatically connects
    • Through the USB Bootstrap Loader (BSL) scripter tool and batch file:
      • Download the firmware package and BSL scripter tool from the EVM page, or use the links below.
      • Unzip the firmware folder and run the .bat file.
    • If the firmware programming was unsuccessful, TI recommends to try repeating the above steps while using a different USB port on the machine.