This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRV8711 Booster Pack - Not working

Other Parts Discussed in Thread: DRV8711, MSP430G2553

Hi,

I am using DRV8711 Booster pack along with MSP430G2553 Launchpad to run a stepper motor. The example codes provided are not working. I followed all steps in the user guide carefully. 

I also tried making my own simplified GUI using Gui Composer. Please find attached the files I used. I am unable to figure out the error. The cross on the GUI buttons is not going away even after initialization. I tried editing appInitScript.js file by commenting runAsynch() line, loading only symbols, etc. but no success.Please help.

Regards

Aman

7612.GUIv2.zip

  • Hi Aman,

    Let's first figure out what the issue is with the BoosterPack Application. Can you detail the issues you are having specifically?

    Does the BoosterPack have power?

    Does the GUI Connect and show the correct COM port? You can check your device manager to see the COM Port the LaunchPad is on. You should see the MSP430G2553 show up as the device and then MSP430 Application UART in COM PORT.

    Does the GUI populate with the values shown in Figure 11 of the User Guide.

  • If we follow the user guide strictly, nothing works. The booster pack has adequate power. The GUI shows the correct COM port and also connects. The device manager do show MSP430 Application UART in COM PORT.

    The problem comes after connecting to GUI. The error states - "ComPort: Trouble Writing Memory Block on Page 0 of Length **Error**: Serial Communication failed at port: COM8, baud rate:9600! To use serial monitor, please ensure the following prerequisites are satisfied: 1. Make sure the cable is plugged into both the target and the host on the right COM port. 2. Make sure a compatible target side serial monitor is loaded and running on the target device. ComPort: GEL: File: C:\ti\gui composer\webapps\GUI v1.1\apk Program.out: Load failed."

    If we edit the appInitScript.js file and include - "session.memory.loadProgram(appProgramFile)" , the GUI loads but not with correct initialization values and nothing works, i.e. no button press works. 

    If we edit the appInitScript.js file and include - "session.target.runAsynch()" , the GUI does not even loads.

    I figured out the error. The user guide states to use TI MSP430 USB1 as connection. If use Uart Connection, things work perfect. I have attached a few configuration files. If we replace these files with any GUI made for Booster pack (through GUI Composer), the GUI works perfectly.

    However, I am unable to understand why the appInitScript.js does not require "session.target.runAsynch()" line as most other GUIs require made with GUI Composer. Also, if I try to load program through "session.memory.loadProgram...", the GUI stops at 99% loading and freezes after that. Is their any way we could load program through scripting ?

    7635.Config.zip

  • Aman,

    So the GUI is working?

    You cannot load the program through the MSP430 Monitor. This must be done separately. This is different than other implementations such as with C2000. 

    You can read more here.

    http://processors.wiki.ti.com/index.php/ProgramModelUart_GuiComposer

    You can only load symbols so that the GUI knows the location of the target variables. To load a program will require the use of the SBW. I am not sure if there is a way this can be done simultaneously.