EMULATION
Actuators
DRV2604L
MSP430
OUT
U
S
B
V
B
AT
S
B
W
MSP
DRV
AUDIO
JP4
JP3
MSP-EXP430G2
www.ti.com
Modifying or Reprogramming the Firmware
6
Modifying or Reprogramming the Firmware
The MSP430 firmware on the DRV2604LEVM-CT can be modified or reprogrammed to create new haptic
effects or behaviors. Find the latest firmware source code and binaries on ti.com. Follow the instructions
below to modify or reprogram the DRV2604LEVM-CT.
1. Purchase one of the following MSP430G2553 compatible programmers:
•
LaunchPad (MSP-EXP430G2) – requires the additional purchase of a header for J4
(recommended)
–
Digi-Key: ED8650-ND
–
Mouser: 575-500201
•
MSP430-FET430UIF – requires a JTAG to Spy-Bi-Wire adapter (MSP-JTAGSBW if available)
2. Download and install Code Compose Studio (CCS) or IAR Embedded Workbench IDE.
3. Download the DRV2604LEVM-CT source code and binaries from ti.com.
4. Connect the programmer to an available USB port.
5. Connect the programmer to the
SBW
header on the DRV2604LEVM-CT.
6. In CCS,
(a) Open the project file by selecting Project
→
Import Existing CCS Project.
(b) Select
Browse
and navigate to the DRV2604LEVM-CT project folder, then press
OK
.
(c) Select the checkbox next to the DRV2604LEVM-CT project in the
Discovered projects
window and
then press
Finish
.
(d) Before compiling, navigate to Project
→
Properties
→
Build
→
MSP430 Compiler
→
Advanced
Options
→
Language Options and make sure the checkbox for
Enable support for GCC extensions
(–gcc)
is checked.
7. In IAR,
(a) Create a new MSP430 project in IAR,
(b) Select the MSP430G2553 device,
(c) Copy the files in the project folder downloaded from
ti.com
to the new project directory.
Figure 28
shows the connection between the MSP430 LaunchPad (MSP-EXP430G2) and the
DRV2604LEVM-CT.
Figure 28. LaunchPad Programmer Connection
21
SLOU390A – May 2014 – Revised June 2014
DRV2604L ERM, LRA Haptic Driver Evaluation Kit
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated