SBAU388C September   2021  – February 2024 TMAG5170 , TMAG5170-Q1

 

  1.   1
  2.   TMAG5170 Evaluation Module Abstract
  3. 1Trademarks
  4. 2Overview
    1. 2.1 Kit Contents
    2. 2.2 Related Documentation From Texas Instruments
  5. 3Hardware
    1. 3.1 Features
  6. 4Operation
    1. 4.1 Quick Start Setup
    2. 4.2 EVM Operation
      1. 4.2.1 Setup
        1. 4.2.1.1 Driver Installation
        2. 4.2.1.2 Firmware
          1. 4.2.1.2.1 Firmware Debug
        3. 4.2.1.3 GUI Setup and Usage
          1. 4.2.1.3.1 Initial Setup
          2. 4.2.1.3.2 GUI Operation
      2. 4.2.2 Rotate and Push Demo
      3. 4.2.3 Direct EVM Serial Communication
  7. 5Schematics, PCB Layout, and Bill of Materials
    1. 5.1 Schematics
    2. 5.2 PCB Layout
    3. 5.3 Bill of Materials
  8. 6Revision 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 will notify you and try 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 4-3) with a pair of tweezers (or wire) while pressing the RESET button.
          GUID-20201124-CA0I-B9KK-FBFS-XTX0QHMJLRLZ-low.svg Figure 4-3 Test Points Used to Enter DFU Mode Manually
    3. LEDs D1 and D2 will be 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 will initiate
      • After the GUI re-initializes, the TI-SCB should automatically connect
    • 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.