Texas Instruments TMAG5170 User Manual Download Page 5

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 

Figure 4-3

) 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.

www.ti.com

Operation

SBAU388A – SEPTEMBER 2021 – REVISED FEBRUARY 2022

Submit Document Feedback

TMAG5170UEVM

5

Copyright © 2022 Texas Instruments Incorporated

Summary of Contents for TMAG5170

Page 1: ...a complete bill of materials BOM Table of Contents 1 Trademarks 1 2 Overview 2 2 1 Kit Contents 2 2 2 Related Documentation From Texas Instruments 2 3 Hardware 3 3 1 Features 3 4 Operation 3 4 1 Quic...

Page 2: ...mentation From Texas Instruments This user s guide is available from the TI website under literature number SBAU350 Any letter appended to the literature number corresponds to the document revision th...

Page 3: ...int rotate and push module Detachable EVM for custom use cases Conveniently powered from a common micro USB connector 4 Operation 4 1 Quick Start Setup The following instructions describe how to set u...

Page 4: ...ownload and install this driver http www ti com lit zip sbac253 This is a one time step per computer Unzip the folder and run the exe file with administrator privileges 4 2 1 2 Firmware The GUI is cap...

Page 5: ...ints near PK1 and PK2 of the header pins see Figure 4 3 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 mod...

Page 6: ...GUI link provided above 3 To launch the GUI from the web browser click the GUI Composer application to open the GUI Composer window see Figure 4 4 Figure 4 4 GUI Composer Application Window a For fir...

Page 7: ...still does not connect make sure you are using the correct GUI EVM combination 3 Click the Registers icon shown in Figure 4 8 also available on the left side menu to view the register map and change d...

Page 8: ...r map set Auto Read to As fast as possible 3 Go to the Rotate Push tab inside the plots page see Figure 4 11 Figure 4 11 Rotate Push GUI Page 4 If the push button LEDs are not triggering at every angl...

Page 9: ...x must be lower case For the above example the EVM would return the results in JSON format acknowledge rreg 0x0A register address 10 value 65488 evm_state idle Write register format wreg ADR VAL where...

Page 10: ...ufacturing EVM PCBs 5 1 Schematics Figure 5 1 and Figure 5 2 show the schematic of the EVM Figure 5 1 shows the circuitry for the EVM and Figure 5 2 shows the mechanical components included with the E...

Page 11: ...C165 GND_A1 VCC_A1 ALERT_A1 PN4_A1 PN5_A1 PD2_A1 PP1_A1 5V_A1 0 R2 0 R3 0 R4 0 R5 0 R6 0 R1 150 R7 VCC 5 ALERT 8 CS 4 MISO 3 MOSI 2 SCLK 1 TEST 7 GND 6 TMAG5170A1EDGKQ1 U1 GND_A1 VCC_A1 GND_A1 4 7k R...

Page 12: ...H5 Rotate PushModule MECH H4 D82DIA LOGO PCB Texas Instruments CE Mark LOGO PCB WEEE logo MECH H6 PC038 750 4500 SST 0598 C N IN Figure 5 2 Hardware Schematic Schematics PCB Layout and Bill of Materi...

Page 13: ...e PCB layers of the EVM Figure 5 3 Top View Figure 5 4 Top Layer www ti com Schematics PCB Layout and Bill of Materials SBAU388A SEPTEMBER 2021 REVISED FEBRUARY 2022 Submit Document Feedback TMAG5170U...

Page 14: ...View Figure 5 6 Bottom Layer Schematics PCB Layout and Bill of Materials www ti com 14 TMAG5170UEVM SBAU388A SEPTEMBER 2021 REVISED FEBRUARY 2022 Submit Document Feedback Copyright 2022 Texas Instrum...

Page 15: ...tml PC038 750 4500 SST 0598 C N IN Acxess Spring J1 J2 2 HDR12 NRPN062PARN RC Sullins Connector Solutions R1 R10 2 0 RES 0 5 0 1 W AEC Q200 Grade 0 0603 0603 CRCW06030000Z0EA Vishay Dale R2 R3 R4 R5 R...

Page 16: ...SCB which is now available independently from this device 2 Added TI SCB User s Guide links to the Related Documentation table 2 Changed Hardware section 3 Changed Firmware section 4 Changed hyperlin...

Page 17: ...ther than TI b the nonconformity resulted from User s design specifications or instructions for such EVMs or improper system design or c User has not paid on time Testing and other quality control tec...

Page 18: ...These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not in...

Page 19: ...instructions set forth by Radio Law of Japan which includes but is not limited to the instructions below with respect to EVMs which for the avoidance of doubt are stated strictly for convenience and s...

Page 20: ...any interfaces electronic and or mechanical between the EVM and any human body are designed with suitable isolation and means to safely limit accessible leakage currents to minimize the risk of electr...

Page 21: ...R DAMAGES ARE CLAIMED THE EXISTENCE OF MORE THAN ONE CLAIM SHALL NOT ENLARGE OR EXTEND THIS LIMIT 9 Return Policy Except as otherwise provided TI does not offer any refunds returns or exchanges Furthe...

Page 22: ...change without notice TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource Other reproduction and display of thes...

Reviews: