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.

Trying to find MSP430v3 source files

Other Parts Discussed in Thread: DLPC300, MSP430F2232

I'm following TI guide to update the firmware of DLP Lightcrafter 3000 evaluation module. This one (page 54) --> http://www.ti.com/lit/ug/dlpu006e/dlpu006e.pdf

On point 3.2 - "Compiling the MSP430 Firmware Using Code Composer" it says to browse for the downloaded MSP430v3 source files, however I can't find these files neither on the DLP LightCrafter Firmware and Software Bundle, nor anywhere else... is it just me not knowing how to identify these files or is it something else?

Thank you

  • Hi User,

    Thanks for your question and welcome to the DLP Forums. The source code for the MSP430 can be found in the software bundle. Do you have the latest version of the SW bundle?

    The other thing I would recommend is that you use the "import" functionality of CCS. You just have to point it to the folder where the files are, which on my system is {installed directory}/DLPLCRSoftwareBundle-3.0/DLP3000-C300REF-MSP430-SourceCode-v3.0

    Hope that answers your question!
    Paul
  • Hi Paul,
    I downloaded the windows bundle dated from 12/5/2013. That's the thing, when I do that I point it to that folder and nothing shows up on the 'Projects:' white area. Here's a list of the files that I know are inside that folder:

    .ccsproject
    .cdtbuild
    .cdtproject
    .cproject
    boot.h
    cfg_map.h
    common.h
    dlpc300.c
    dlpc300.h
    dlpc300_LightCrafter.c
    dlpc300_LightCrafter.h
    dlpc300_LightCrafter_pins.h
    i2c_master.c
    i2c_master.h
    lnk_msp430f2232
    MSP430_BOOT.hex
    MSP430BIN
    MSP430F2232.ccxml
    Readme_first
    version.h

    and the folder '.settings' which inside has the file:

    org.eclipse.cdt.managedbuilder.core.prefs

    Is there anything missing or are the files not showing up for some reason?

    Thanks
  • Hi jmfras,

    It appears that there is a .project file which should have been included but was not. I'll look into how to get that updated online.

    In the meantime, here is what I recommend. Create a new project in CCS, selecting the target as MSP430x2xx Family and the device as MSP430F2232. Once the project is created, you can right click on the project and select "add files." Navigate to the directory with the MSP430 source code and select all the files.

    It will tell you that it can't import the .ccsproject file and some others, but that is okay. Once you have all the files into a project, you should be able to build without any issue. Details on those files can be found here: processors.wiki.ti.com/.../Projects_and_Build_Handbook_for_CCS and you can see that they are not crucial for the project to operate properly.

    Let me know if that doesn't work.
    -Paul
  • Hi Paul,

    Thanks again for the reply. I'm new to this and as such I really don't know what I'm doing, so I've attached some screenshots of the menus that have popped while trying to go through your instructions.

    at this point I pressed finish and went for the target

    I couldn't find the MSP430x2xx Family, am I doing this right?

    Also, attempted to build with those definitions but an error occured due to a failed attempt to open msp430f2232.h

    Regards

  • Hi Jmfras,

    It appears that I have a different version of CCS than you do. It does look what you are doing is correct. I won't be able to exactly assist with some of the CCS errors, so I would post a question into that forum to get help on why the msp430f2232.h is missing from your system. Likely it is just not having the system set up to point to that file.

    One thing that might be easier is to make sure you're using the latest version of CCS so that you can get the best help.

    -Paul
  • I've checked and the file is in my system, I'll try to get it accessible.
    I've been using CCS4 to avoid possible compatibility issues regarding the instructions on the guide.
    Thank you
  • I managed to get the system to open the file, and the build was successful, however I don't seem to be able to find any new .hex file, as I expected it to have been created...
  • Hi Jmfras,

    For a detailed answer on this, I would go to the CCS forum for better help but in order to build a new output FW file, there are some project settings that need to be enabled. More than likely a search will pull up an answer to your question because I'm sure it has been asked before.

    If you're looking to modify the FW for the Lightcrafter, the Lightcrafter GUI accepts a .txt file created from CCS.

    -Paul
  • I'll try that forum, thank you.
  • Thanks for posting back! Glad it got solved.