
MSP430 Control and Firmware
4
MSP430 Control and Firmware
The DRV2667EVM-CT is controlled by a programmable MSP430. This section contains information for
programming and controlling the board using the MSP430.
4.1
Modifying and Loading Firmware
The MSP430 firmware on the DRV2667EVM-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 DRV2667EVM-CT.
1. Purchase one of the following MSP430G2553 compatible hardware programmers:
•
MSP430 LaunchPad – MSP-EXP430G2 – this board requires the additional purchase of a header
for J4 (Digi-key: ED8650-ND or Mouser: 575-500201)
–
Solder the header to J4
–
Remove jumpers TEST and RST to ensure there is no interference with the LaunchPad
MSP430 (IC1).
•
MSP430-FET430UIF – this programmer requires the JTAG to Spy-Bi-Wire adapter (MSP-
JTAG2SBW, if available)
2. Download and install Code Compose Studio or IAR Embedded Workbench IDE.
3. Download the DRV2667EVM-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 DRV2667EVM-CT.
6. In CCS:
•
Open the project file by selecting Project
→
Import Existing CCS Project.
•
Select Browse and navigate to the DRV2667EVM-CT project folder, then press OK.
•
Select the checkbox next to the DRV2667EVM-CT project in the Discovered projects window and
then press Finish.
•
Before compiling, navigate to Project
→
Properties
→
Build
→
MSP430 Compiler
→
Advanced
Options
→
Language Options and ensure that the checkbox for Enable support for GCC extensions
(--gcc) is checked.
7. In IAR:
•
Create a new MSP430 project in IAR
•
Select the MSP430G2553 device
•
Copy the .h and .c files in the DRV2667EVM-CT project folder downloaded from ti.com into the
new project directory
23
SLOU323 – June 2013
DRV2667 Evaluation Module
Copyright © 2013, Texas Instruments Incorporated