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.

CCS/BOOST-DRV8711: Motor Drivers Forum

Part Number: MSP430G2553
Other Parts Discussed in Thread: BOOST-DRV8711, DRV8711, CCSTUDIO, ENERGYTRACE, UNIFLASH, MSP430G2533

Tool/software: Code Composer Studio

Hi,

I have a launchpad developers board with an M430G2553 MPU.  I've docked a BOOST-DRV8711 motor controller.  I've been following the example in the DRV8711 Users Guide.  I've imported the project from the BOOST-DRV8711_Firmwarev1.1 and began to debug.  After some time I get the errors:

ComPort: Trouble Writing Memory Block at 0xc000 on Page 0 of Length 0x24ac: Read timed out
ComPort: File Loader: Verification failed: Target failed to write 0xC000
ComPort: GEL: File: C:\Users\user1\workspace_v7_2\BOOST-DRV8711_FIRMWAREv1.1\Debug\BOOST-DRV8711_FIRMWAREv1.1.out: Load failed.

I don't understand what I'm doing wrong.  Below is a copy paste of installed software in case it's helpful.

thx

Matt

Analysis Suite 4.1.0.201705251038 com.ti.dvt2.analysis.suite.feature.group Texas Instruments
ARM Compiler Help 17.6.0.20170627154626 com.ti.arm.17.6.help.feature.group Texas Instruments
ARM Compiler Help 17.3.0.20170328202641 com.ti.arm.17.3.help.feature.group Texas Instruments
ARM Compiler Help 16.12.0.20161215224245 com.ti.arm.16.12.help.feature.group Texas Instruments
ARM Compiler Help 16.9.0.20161026170303 com.ti.arm.16.9.help.feature.group Texas Instruments
ARM Compiler Help 15.12.0.20160412205915 com.ti.arm.15.12.help.feature.group Texas Instruments
ARM Compiler Help 5.2.0 com.ti.arm.5.2.help.feature.group Texas Instruments
ARM Compiler Tools 17.6.0 com.ti.cgt.tms470.17.win32.feature.group Texas Instruments
ARM Compiler Tools 16.9.4 com.ti.cgt.tms470.16.win32.feature.group Texas Instruments
ARM Compiler Tools 15.12.6 com.ti.cgt.tms470.15.win32.feature.group Texas Instruments
ARM Compiler Tools 5.2.9 com.ti.cgt.tms470.5.2.win32.feature.group Texas Instruments
ARM Compiler Tools 5.1.14 com.ti.cgt.tms470.5.1.win32.feature.group Texas Instruments
ARM Compiler Tools 5.0.11 com.ti.cgt.tms470.5.0.win32.feature.group Texas Instruments
ARM Compiler Tools 4.9.9 com.ti.cgt.tms470.4.9.win32.feature.group Texas Instruments
ARM Compiler Tools 4.7.1 com.ti.cgt.tms470.4.7.win32.feature.group Texas Instruments
ARM Compiler Tools 4.6.6 com.ti.cgt.tms470.4.6.win32.feature.group Texas Instruments
C/C++ Development Tools 9.0.0.201606062011 org.eclipse.cdt.feature.group Eclipse CDT
C/C++ GCC Cross Compiler Support 9.0.0.201606062011 org.eclipse.cdt.build.crossgcc.feature.group Eclipse CDT
C/C++ Memory View Enhancements 9.0.0.201606062011 org.eclipse.cdt.debug.ui.memory.feature.group Eclipse CDT
C/C++ Remote Launch 9.0.0.201606062011 org.eclipse.cdt.launch.remote.feature.group Eclipse CDT
C2000 Compiler Help 17.6.0.20170627154926 com.ti.c2000.17.6.help.feature.group Texas Instruments
C2000 Compiler Help 17.3.0.20170328202014 com.ti.c2000.17.3.help.feature.group Texas Instruments
C2000 Compiler Help 16.12.0.20161215225050 com.ti.c2000.16.12.help.feature.group Texas Instruments
C2000 Compiler Help 16.9.0.20161026171152 com.ti.c2000.16.9.help.feature.group Texas Instruments
C2000 Compiler Help 15.12.0.20160412210842 com.ti.c2000.15.12.help.feature.group Texas Instruments
C2000 Compiler Help 6.4.0 com.ti.c2000.6.4.help.feature.group Texas Instruments
C2000 Compiler v6.1 Help 6.1.1.201211281204 com.ti.cgt.c2000.6.1.help.feature.group Texas Instruments
C2800 Compiler Tools 17.6.0 com.ti.cgt.c2000.17.win32.feature.group Texas Instruments
C2800 Compiler Tools 16.9.5 com.ti.cgt.c2000.16.win32.feature.group Texas Instruments
C2800 Compiler Tools 15.12.6 com.ti.cgt.c2000.15.win32.feature.group Texas Instruments
C2800 Compiler Tools 6.4.12 com.ti.cgt.c2000.6.4.win32.feature.group Texas Instruments
C2800 Compiler Tools 6.2.11 com.ti.cgt.c2000.6.2.win32.feature.group Texas Instruments
C2800 Compiler Tools 6.1.10 com.ti.cgt.c2000.6.1.win32.feature.group Texas Instruments
C2800 Compiler Tools 6.0.6 com.ti.cgt.c2000.6.0.win32.feature.group Texas Instruments
C2800 Compiler Tools 5.2.15 com.ti.cgt.c2000.5.2.win32.feature.group Texas Instruments
C2800 Compiler Tools 5.1.6 com.ti.cgt.c2000.5.1.win32.feature.group Texas Instruments
C5500 Compiler Tools 4.4.1 com.ti.cgt.c5500.4.4.win32.feature.group Texas Instruments
C6000 Compiler Help 7.4.0 com.ti.c6000.7.4.help.feature.group Texas Instruments
C6000 Compiler Tools 8.2.1 com.ti.cgt.c6000.8.2.win32.feature.group Texas Instruments
C6000 Compiler Tools 8.1.4 com.ti.cgt.c6000.8.1.win32.feature.group Texas Instruments
C6000 Compiler Tools 8.0.4 com.ti.cgt.c6000.8.0.win32.feature.group Texas Instruments
C6000 Compiler Tools 7.4.23 com.ti.cgt.c6000.7.4.win32.feature.group Texas Instruments
C6000 Compiler Tools 7.3.23 com.ti.cgt.c6000.7.3.win32.feature.group Texas Instruments
C6000 Compiler Tools 7.2.12 com.ti.cgt.c6000.7.2.win32.feature.group Texas Instruments
C6000 Compiler Tools 7.0.5 com.ti.cgt.c6000.7.0.win32.feature.group Texas Instruments
C6000 Compiler Tools 6.1.23 com.ti.cgt.c6000.6.1.win32.feature.group Texas Instruments
C6000 Compiler Tools 6.0.31 com.ti.cgt.c6000.6.0.win32.feature.group Texas Instruments
CCS and SAT Common Components Feature 7.2.0.201705101800 com.ti.tools.common.feature.group Texas Instruments
CCS Documentation 7.2.0.20170612 com.ti.ccstudio.doc.win32.feature.group Texas Instruments
CCS Launcher 7.0.0.20161020 com.ti.ccstudio.launcher.win32.feature.group Texas Instruments
CCS Utilities 1.0.0.20160210 com.ti.ccstudio.utils.cli.win32.feature.group Texas Instruments
CCStudio p2 Tool Feature 7.0.0.201611291427 com.ti.ccstudio.p2tool.feature.group Texas Instruments
Chromium Browser Feature 7.1.0.201705191300 com.ti.chromium.browser.feature.group Texas Instruments
Code Composer Studio Base Components 7.2.0.02057 com.ti.ccstudio.base.feature.group Texas Instruments
Code Composer Studio IDE Main Feature 7.2.0.201705101800 com.ti.ccstudio.idemain.feature.group Texas Instruments
Code Composer Studio IDE MSP430 Components 7.1.0.201705101800 com.ti.ccstudio.msp430.feature.group Texas Instruments
Code Composer Studio IDE Workflow 7.2.0.201705101800 com.ti.ccstudio.workflow.feature.group Texas Instruments
Compiler Tools On-line Documentation 1.1.5 com.ti.cgt.dmed.win32.feature.group Texas Instruments
Debug Server 7.2.0.2057 com.ti.ccstudio.debugserver.win32.feature.group Texas Instruments
Debug Server Flash 7.2.0.2057 com.ti.dsflash.win32.feature.group Texas Instruments
DVT - EnergyTrace 4.1.0.201705251038 com.ti.dvt.energytrace.feature.group Texas Instruments
DVT - Graph Visualization 4.1.0.201705251038 com.ti.dvt2.graph.visualization.feature.group Texas Instruments
DVT - Profiler Analysis Manager 4.1.0.201705251038 com.ti.dvt2.profileanalysismanager.feature.group Texas Instruments
DVT - Resource Explorer 4.1.0.201705251038 com.ti.dvt2.resource.explorer.feature.group Texas Instruments
DVT - System Analyzer 4.1.0.201705251038 com.ti.dvt2.uia.feature.group Texas Instruments
Eclipse Git Team Provider 4.4.0.201606070830-r org.eclipse.egit.feature.group Eclipse EGit
Eclipse Help System 2.2.0.v20160606-1100 org.eclipse.help.feature.group Eclipse.org
Eclipse Platform 4.6.0.I20160607-1100 org.eclipse.platform.ide Eclipse.org
Equinox p2, Discovery UI support 1.0.400.v20160504-1450 org.eclipse.equinox.p2.discovery.feature.feature.group Eclipse.org - Equinox
Equinox p2, Provisioning for IDEs. 2.2.200.v20160606-1311 org.eclipse.equinox.p2.user.ui.feature.group Eclipse.org - Equinox
EVE Compiler Tools 1.0.8 com.ti.cgt.arp32.1.0.win32.feature.group Texas Instruments
GCC MSP430 Compiler Tools 6.2.1.16 com.ti.gcc.msp430.win32.feature.group Texas Instruments
GCC MSP430 tool-chain 7.2.6 com.ti.msp430.gcc_support.feature.group Texas Instruments
GEF (MVC) 3.11.0.201606061308 org.eclipse.gef.feature.group Eclipse GEF
Graphical Modeling Framework (GMF) Runtime Third-Party Components 1.10.0.201606071959 org.eclipse.gmf.runtime.thirdparty.feature.group Eclipse Modeling Project
GUI Composer Backplane Feature 6.1.0.201705101800 com.ti.gc.backplane.feature.group Texas Instruments
GUI Composer Program Model Feature 7.2.0.201705101800 com.ti.gc.pm.feature.group Texas Instruments
IDE - Debug Server Integration Feature 6.0.1.201705101800 com.ti.debug.server.feature.group Texas Instruments
Image Analyzer 4.1.0.201705251038 com.ti.dvt2.via.ccs.feature.group Texas Instruments
LWInstaller 7.2.0.00013 com.ti.ccstudio.installer.win32.feature.group Texas Instruments
Marketplace Client 1.5.0.v20160608-1804 org.eclipse.epp.mpc.feature.group Eclipse Marketplace Client
MSP430 Compiler 4.1 Help 4.1.1.201211281203 com.ti.cgt.msp430.4.1.help.feature.group Texas Instruments
MSP430 Compiler Help 17.6.0.20170627155247 com.ti.msp430.17.6.help.feature.group Texas Instruments
MSP430 Compiler Help 17.3.0.20170328202321 com.ti.msp430.17.3.help.feature.group Texas Instruments
MSP430 Compiler Help 16.12.0.20161215224614 com.ti.msp430.16.12.help.feature.group Texas Instruments
MSP430 Compiler Help 16.9.0.20161026170630 com.ti.msp430.16.9.help.feature.group Texas Instruments
MSP430 Compiler Help 16.9.0.20161026170630 com.ti.cgt.msp430.16.9.help.feature.group Texas Instruments
MSP430 Compiler Help 15.12.0.20160412210259 com.ti.msp430.15.12.help.feature.group Texas Instruments
MSP430 Compiler Tools 17.6.0 com.ti.cgt.msp430.17.win32.feature.group Texas Instruments
MSP430 Compiler Tools 16.9.4 com.ti.cgt.msp430.16.win32.feature.group Texas Instruments
MSP430 Compiler Tools 15.12.6 com.ti.cgt.msp430.15.win32.feature.group Texas Instruments
MSP430 Compiler Tools 4.4.8 com.ti.cgt.msp430.4.4.win32.feature.group Texas Instruments
MSP430 Compiler Tools 4.3.8 com.ti.cgt.msp430.4.3.win32.feature.group Texas Instruments
MSP430 Compiler Tools 4.2.7 com.ti.cgt.msp430.4.2.win32.feature.group Texas Instruments
MSP430 Compiler Tools 4.1.9 com.ti.cgt.msp430.4.1.win32.feature.group Texas Instruments
MSP430 Compiler Tools 4.0.2 com.ti.cgt.msp430.4.0.win32.feature.group Texas Instruments
MSP430 Compiler v4.0 Help 4.0.1.201111151657 com.ti.cgt.msp430.4.0.help.feature.group Texas Instruments
MSP430 Compiler v4.4 Help 4.4.1.201501021554 com.ti.cgt.msp430.4.4.help.feature.group Texas Instruments
Node.js 6.9.1 com.ti.ccstudio.nodejs.win32.feature.group Texas Instruments
p2appf 7.2.0.201705101800 com.ti.ccstudio.p2appf.feature.group Texas Instruments
Pin Mux 4.0.1470 com.ti.ccstudio.pinmux.win32.feature.group Texas Instruments
PRU Compiler Tools 2.1.5 com.ti.cgt.pru.2.1.win32.feature.group Texas Instruments
Remote System Explorer End-User Runtime 3.7.1.201603211627 org.eclipse.rse.feature.group Eclipse TM Project
ROV 4.1.0.201705251038 com.ti.dvt2.rov.feature.group Texas Instruments
RTSC/XDCtools (IDE Client) 3.50.2.20 org.eclipse.rtsc.xdctools.product.ui.feature.group Texas Instruments
RTSC/XDCtools (Target Runtime Support) 3.50.2.20 org.eclipse.rtsc.xdctools.product_3.50.2.20.feature.group Texas Instruments
RTSC/XDCtools (Target Runtime Support) 3.32.2.25 org.eclipse.rtsc.xdctools.product_3.32.2.25.feature.group Texas Instruments
RXTX End-User Runtime 2.1.8.0_201606281300 gnu.io.rxtx.feature.group RXTX.org
TargetDB Default Props 6.0.0.20131206 com.ti.ccstudio.targetdb.props.default.win32.feature.group Texas Instruments
TI Cloud Agent 0.5.1351 com.ti.ccstudio.cloudagent.win32.feature.group Texas Instruments
TI MSP430 tool-chain 7.2.8 com.ti.msp430.build_debug.feature.group Texas Instruments
TI Target Content 1.0.0.201705101335 com.ti.targetcontent.feature.group Texas Instruments
TIREX Desktop 3.4.1.201706082019 com.ti.tirex.feature.group Texas Instruments
TM Terminal 4.1.0.201606052351 org.eclipse.tm.terminal.feature.feature.group Eclipse.org - Target Management
XDCtools Core Update Feature 3.32.2.25 com.ti.xdctools_3_32.update.feature.group Texas Instruments

  • Part Number: MSP430G2553

    Hi,

    I've been following BOOST-DRV8711 user guide.  In section 4, the guide describes executing BOOST-DRV8711_GUIvX.X.exe to start the GUI application.  Upon starting the application I get an error:

    ERROR: MSP430: Trouble Reading Memory Block at 0x2e8 on Page 0 of Length 0x2: Read timed out.

    I have little experience to fall back on to understand this error.  Any ideas.

    thx

    Matt

  • Hi Matt,

    Make sure you are using a similar compiler to what what natively used to build the project (TI v4.1.7) and perhaps even CCS version (5.5). Are you able to run the code without any issue if the BoosterPack is not connected? Does the code work standalone (outside of the debugger)? Are you evaluating with a LaunchPad or using a custom EVM? The Motor Drivers Forum may be able to provide further assistance as they developed this BoosterPack.

    Regards,
    Ryan
  • Hi

    I can report exactly the same as Matt:
    Following the instructions – downloaded from the links in the description – unpacked – flashed appProgram.out version 1.0 – running the BOOST-DRV8711_GUIv1.0 – Result: ERROR: MSP430: Trouble Reading Memory Block at 0x2e8…

    This repeats on a second launchpad (Both v1.4)
    Also downloading the downloaded appProgram.out using the Web based UniFlash results in the same problem.

    Rebuilding the project in CCC results in the same error.
    Disconnecting the Booster-DRV board; result in the same error message

    Equipment used:
    New Boost-DRV 8711 A
    2 LaunchPad V1.4
    Windows 10 PC

    Downloaded software:
    Zip file from: www.ti.com/.../boost-drv8711
    GUI Composer from: processors.wiki.ti.com/.../Category:GUI_Composer

    I’m quite sure this problem is related to the USB communication witch I have experience often isn’t working with TI demo boards, and requires some playing around with USB drivers to get going.

    Regards
    Bjarke
  • Hi Matt,

    What step in the user guide did you encounter this?

    What are you debugging? How are you debugging?

    The code is intended to be loaded and then operate with the GUI. It is not intended to be debugged.
  • Hi Bjarke,

    What compiler and CCS versions are you using? I created a new project and copied all of the resources into it and this did not reproduce the error during programming/debugging. I was not however able to confirm operation using the GUI as I do not have a BOOST-DRV8711 board. I have not experienced any issues with the eZ430 and at any rate this form of USB communication would not cause the error message described. As mentioned earlier, fairly outdated resources were used to create this BoosterPack.

    Regards,
    Ryan
  • Hi,

    I'm having a problem with step 4.2 #5 (method 2). I've copied the text for method 2 below. You'll notice the 5th bullet states to click the 'Debug' icon.

    I'm assuming the GUI interacts with the microcontoller via this code? I don't understand how the GUI interfaces. I'm trying to learn how to write C code to control a stepper motor. I really not interested in the gui and am worried the code may be more complicated than it needs to in order to interface with the GUI. Is there other code that may be better in demonstrating how to control a stepper?

    thx
    Matt


    Method 2: Flashing the project through CCS debugger
    • Open Code Composer Studio
    • Go to File → Import
    • Select Existing CCS Eclipse Projects under the Code Composer Studio tab (Figure 10)
    Figure 10. Existing CCS Eclipse Projects
    • Check the Copy projects into workspace option and then browse to the BOOSTDRV8711_FIRMWAREvX.X
    directory located with the Application folder within the BOOSTDRV8711
    Hardware and Software Files folder. The project should now show up in the
    Discovered Projects section. Ensure that it is checked and select Finish.
    • Select the BOOST-DRV8711_FIRMWAREv1.0 project in the Project Explorer and click the Debug
    icon
    • CCS will now build the project and load it onto the MSP430G2533
    • Close CCS
  • Hi Matt,

    Do you have the jumpers configured as shown in Figure 4?
    After loading the code is loaded into CCS, the mcu is not running until either F8 is pressed or the LaunchPad power is cycled.
    What did you do after closing CCS? Can you disconnect and reconnect the USB to cycle power?
  • Hi Matt,

    Sorry, I missed your other question. "I really not interested in the gui and am worried the code may be more complicated than it needs to in order to interface with the GUI. Is there other code that may be better in demonstrating how to control a stepper?"

    There is no other code. You can modify the project code or connect your own mcu.