Other Parts Discussed in Thread: DRV8662EVM, MSP-FET,
Tool/software: Code Composer Studio
OS: Windows 7, 64-bit
CCS version: v7
Device: MSP430G2553 of the DRV8662EVM
Hello,
I recently adapted the main.c code of the MSP430 for the haptic driver DRV8662EVM using CCS, so that the number of cycles (g_cycles) is around 50 and the frequency (g_bin) is lower, around 90Hz. I also commented out the other waveform effects so that the driver only plays one type of waveform. A screenshot of the updated code is shown below:
I was able to update the MSP430, and it seems be fine for the first couple of times, with the LED "on" when the driver is connected to a power source. But after a few tries, the driver is not lighting up or giving out an output voltage. When I try to update the code again and connect the JTAG to the driver, it gives an error message saying: "Error connecting to the target: unknown device". From what I understand, the JTAG cannot communicate with the MSP430 possibly because the driver is broken? The error message is shown below:
Could you please advice on what could have gone wrong? Is this an issue on the CCS side or the MSP430 side?
Thank you for your help!
Kate