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.

  • TI Thinks Resolved

CCS/MSP-EXP430F5529LP: BOOSTXL-BATPAKMKII

Expert 2645 points

Replies: 16

Views: 2109

Part Number: MSP-EXP430F5529LP

Tool/software: Code Composer Studio

Can anyone point me to a working example of using these two boards together (BOOSTXL-BATPAKMKII & MSP-EXP430F5529LP)? I downloaded the one for the 432, but am finding it almost impossible to import or open with CCS. I've found oodles of content, but hardly any useful information.

  • Hi,

    To my knowledge TI doesn't provide a software example for this specific booster pack and launchpad combo. I double checked the BoosterPack Compatibility Checker and verified that these two devices will work together.

    Now, regarding CCS, what kind of issues are you experiencing when trying to import the MSP432 example project into CCS? I believe you'll need to download and install DriverLib for MSP432 (SimpleLink SDK) as well as the MSP432 header and support files required by CCS to get this project working in CCS. you can download the SimpleLink SDK here. To install the necessary header and support files in CCS you can navigate to Help --> Install New Software --> Select "--All Available Sites--" from the drop down --> Scroll down and select the MSP432 tool-chain.

    Finally, if the above steps don't work, you can always view the example in a text editor such as Notepad++. The example source files can be found in the Firmware --> Source --> BOOSTXL-BATPAKMKII_FuelGauge_MSP432P401R folder of the code found here.

    I hope this helps! Let me know if you have any questions. 

    Best regards, 
    Caleb Overbay

  • In reply to Caleb Overbay:

    I installed a bunch of SDKs via the resource explorer and I think the MSP432 stuff is there, although I couldn't find the battery pack example through the resource explorer tree.

    I downloaded the "MSP-EXP432P401R_Software_Examples_windows.zip" file from here:
    software-dl.ti.com/.../index_FDS.html

    There is a CCS folder in that zip that seems like a good starting point, but I'm completely lost on how to open this example in CCS short of starting a new project and adding the files one by one.
    MSP-EXP432P401R_Software_Examples_windows.zip\Firmware\Source\BOOSTXL-BATPAKMKII_FuelGauge_MSP432P401R\CCS

    If I open CSS and "Open Projects From File System" and select MSP-EXP432P401R_Software_Examples_windows.zip\Firmware\Source\BOOSTXL-BATPAKMKII_FuelGauge_MSP432P401R, it loads 2 things that look like projects in the project explorer. The problem is when I select either project and click build project nothing happens. If I click debug, it gives me "the selection cannot be launched, and there are no recent launches" So obviously what appears to be a CCS project in the zip file isnt, and its not entirely obvious where I went wrong.

    Some other posts say you need to "import" the project, which I suppose maybe CCS cant save a portable project folder for some reason (I hope I'm wrong on that). So I tried creating a new empty CSS project by selecting the processor (MSP430F5529, which is the processor I actually have, whereas the example code seems to be targeting the MSP432). When I try to import it as a CCS project I get this error:
    >>>Error: Import failed for project 'BOOSTXL-BATPAKMKII_FuelGauge_MSP432P401R' because its meta-data cannot be interpreted. Please contact support.

    Apparently the other posts say I need to drill down and import from the file system. So I try that a bunch of different ways because the usual software "hints" as to whether or not I'm on the right path are not there. When I finally get the files imported I get a slew of compiler errors, mostly about missing source files. Fortunately I can deal with that, because at least compiler messages are more useful than any messages CCS provides. But I must be doing something fundamentally wrong. There is no way it should be this difficult to open and run an example project.

    Please tell me its something simple.
  • In reply to spanky:

    Hi,

    In your file path "MSP-EXP432P401R_Software_Examples_windows.zip\Firmware\Source\BOOSTXL-BATPAKMKII_FuelGauge_MSP432P401R\CCS", I see that you still have the .zip extension on the original download. You need to unzip(extract) the compressed files before attempting to import the project via CCS. I think this may be what is causing the issue.

    After unzipping the file, you should then import the project in CCS via Project --> Import CCS Projects... --> Select search-directory --> Browse to the Firmware\Source\BOOSTXL-BATPAKMKII_FuelGauge_MSP432P401R\CCS directory and then you should be able to select the project and import it to CCS.

    Best regards,
    Caleb Overbay
  • In reply to Caleb Overbay:

    Sorry, I copied the wrong path in the 2nd. I'm importing from the folder not the zip (actually, CCS wont let me import from the zip as its only recognized folders).


    Just recapping the complex series of operations here
    1) I create a new empty CSS project. I suppose this is because there is apparently no way to edit the target processor after you create a project?
    2) Then I import (NOT CCS Projects, because even though that's obviously what I'm doing, why would it be that simple). I have to right click on the project "Import", then "Import" again on the context menu (which is below CCS Projects....)
    For what its worth, if I try to import as a CCS project, I get this error (in case anyone else gets this helpful message):
    >>> Error: Import failed for project 'CCS' because its meta-data cannot be interpreted. Please contact support.
    But if I import->import->filesystem, I do get files in the project created in #1. It gives me the option to overwrite the ".project" folder. If I overwrite that folder, the "build project" operation does nothing (literally nothing... no errors or warnings). So obviously I'm not supposed to overwrite the ".project" folder.
    3) Hit build and watch the compiler errors stack up.
    If I import from BOOSTXL-BATPAKMKII_FuelGauge_MSP432P401R I get 62 compiler errors (again, most of those are path issues, which I could deal with, but I'm clearly doing something wrong)
    If I import from BOOSTXL-BATPAKMKII_FuelGauge_MSP432P401R\CCS, I only get 4 errors stemming from a missing msp.h file.
  • In reply to spanky:

    Hi,

    Thanks for the clarification. The process you've outlined above doesn't seem correct. Which version of CCS are you currently using? I recommend using the latest version which can be downloaded here:

    Then you should be able to follow these steps to import the project to CCS:

    1. Select "Project" along the ribbon at the top of the CCS window
    2. Select "Import CCS Projects..."
    3. Select the "Select search-directory" radio button
    4. Click "Browse..."
    5. Browse to the project directory we've been referencing
    6. Select the CCS project in the "Discovered projects" pane
    7. Click finish

    Best regards, 
    Caleb Overbay

    Best regards,

    Caleb Overbay

  • In reply to Caleb Overbay:

    I'm using CCS 7.4. Is this problem as simple as 7.4 cant read older projects?

    Project->Import CCS Project yields this error:
    >>>Error: Import failed for project 'BOOSTXL-BATPAKMKII_FuelGauge_MSP432P401R' because its meta-data cannot be interpreted. Please contact support.

    I get the same result from the main folder and from the CCS folder although that doesn't really seem to matter. If I try to import way up in the directory, it enumerates all the projects.
  • In reply to spanky:

    Hi,

    Hmmm, I've seen this issue with several projects before. Sometimes creating a new workspace and attempting to import into the new one fixes the issue. Can you try this for me and let me know the results?

    If this doesn't work, we'll try constructing a new project and manually adding the necessary files.

    Best regards,
    Caleb Overbay
  • In reply to Caleb Overbay:

    I already did that through the convoluted steps I outlined above.

    I can go through and manually add the files or fight compiler errors about the missing files, but at that point, I might as well just go through and write my own project from the ground up. I was hoping to see the thing run and quickly evaluate where to go from there. Shouldn't this be much simpler?


    By the way, I do appreciate you working through this despite my extreme level of frustration.

    I just switched from the esp32 modules and had a phenomenal experience with their documentation and clean, easy to run examples. Coming over to the TI ecosystem, I just feel like I'm drowning in useless content taking days to do the most basic of things.
  • In reply to spanky:

    Hi,

    I completely understand your frustration and I'd like to thank you for your patience so far! This process is typically much simpler and very quick but this seems to be a particularly difficult case. It's made even more difficult by the fact that I'm unable to reproduce the errors you're observing on my machine.

    So far everything you've mentioned leads me to believe that something is incorrectly installed/setup on your PC. Maybe something didn't fully install correctly such as CCS, the SimpleLink SDK, or the MSP432 support files. In this situation it may be best to start fresh and delete CCS and reinstall. During the reinstall process ensure you download the MSP432 and the MSP430 support files. Then uninstall and re-install the SimpleLink SDK for MSP432.

    I understand this process is time consuming and can be a hassle but I feel this is the best chance at getting things back on track. Thanks again for your patience while we work to solve this problem.

    Best regards,
    Caleb Overbay
  • In reply to Caleb Overbay:

    Just uninstalled, deleted the ti folders, reinstalled and the same results (and rebooted).

    I also tried creating a new project targeting an MSP432 (instead of my 430), but am still getting the same compiler errors.

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.