
4.2.1.2.1 Firmware Debug
If the firmware gets corrupted or must be manually reinstalled for any reason, follow these steps to reinstall the
firmware.
1. Configure the MCU on the TI-SCB Controller to be in Device Firmware Update (DFU) Mode.
a. 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.
b. 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 hardware (with the EVM removed):
– Short the two test points near PK1 and PK2 of the header pins (see
) with a pair of
tweezers (or wire) while pressing the RESET button.
Figure 4-3. Test Points Used to Enter DFU Mode Manually
2. With the MCU in DFU mode, the user can upload the firmware through one of the following methods:
• Through the GUI:
– Plug in the TI-SCB Controller to a PC through the USB port and launch the GUI. DFU mode should be
automatically detected, and the firmware will be uploaded automatically.
• 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.
• TMAG5170EVM:
http://www.ti.com/lit/zip/sbac268
– Unzip the firmware folder and run the .bat file.
Operation
SBAU388A – SEPTEMBER 2021 – REVISED FEBRUARY 2022
TMAG5170UEVM
5
Copyright © 2022 Texas Instruments Incorporated