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.

Debug and load problem - MPS430 LaunchPad

Other Parts Discussed in Thread: MSP430G2231

I just received the LaunchPad for the MSP430 line.  I followed the step-by-step instructions for compiling and loading sample LED blinking code onto the MSP430G2231 that came with the LaunchPad.  I followed the instructions word for word but am having problems at the debug and load stage.  I get this error in the console tab:

**** Build of configuration Debug for project LaunchPadLED ****

C:\TI\ccsv4\utils\gmake\gmake -k all 

'F:\DOCUME~1\J' is not recognized as an internal or external command, operable program or batch file. The system cannot find the path specified.

C:\TI\ccsv4\utils\gmake\gmake: *** [m.obj] Error 1

C:\TI\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.

Build complete for project LaunchPadLED

 

And I got this pop-up error:

The gmake file is in the specified folder and I'm able to run the same line from a command line ("C:\TI\ccsv4\utils\gmake\gmake -k all") without getting that error.

I got a lead from another site that the "is not recognized as an internal or external command, operable program or batch file. The system cannot find the path specified." meant that I needed to add the C:\TI\ccsv4 to the system variables path - so I did that but it did not fix the problem.

I also tried loading CCS on my laptop (which also has Windows XP, like the desktop I'm on now) - but got the same error.

The Code Composer Studio version is 4.1.3.00038 

  • Hi Jeff,

    Your system tries to get data from drive F, but can't get access. Have you specified F:\ somewhere?

    Just to make sure you're not running into a setup issue:Have you installed CCS over another old CCS version?

    To make sure that there's no issue with CCS could you please try:

    1. Create a new workspace (new directory) when you launch CCS
    2. Click Project --> Import exisiting CCE/CCS Eclipse project
    3. Browse to <CCS install dir>\ccsv4\msp430\examples and click ok
    4. Check "Copy Projects into Workspace" and click Finish
    5. One the left side, set one of the two F2xx examples as "Active Project" (in the context menu - right click)
    6. Open to project properties (right click) and select your device (G2231) in "CCS Build - Project Settings"
    7. Click Target --> Debug Active Project (or the little green bug icon)

    Now everything should work. If not, I suggest installing the latest version fo CCS (v4.2) on you machine (make sure that you either install it into a new directory or that you uninstalled/deleted the old version of CCS).

    Hope this helps,
    Markus

  • Hey Markus,

    Thanks very much for the reply and the suggestions.  Unfortunately, I still wasn't able to get it to work.

    I did not install CSS over an old version.  I tried your 7 steps (importing an existing project, etc) and then tried installing the latest version v4.2 (after uninstalling the old) - but still got the same error both times.

    My OS and "Program Files" are installed on F:\ which I think is the reason that the error reads like it does.  I've also installed CCS on the F:\ drive but get the same error:

    **** Build of configuration Debug for project Test ****

     

    F:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all 

    'F:\DOCUME~1\J' is not recognized as an internal or external command,

    operable program or batch file.

    The system cannot find the path specified.

    F:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [main.obj] Error 1

    F:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.

    Build complete for project Test

     

    Thanks again for the suggestions,

    Jeff 

     

  • This is puzzling me: 'F:\DOCUME~1\J' is not recognized as an internal or external command,

    I don't see CCS passing that to the command line anywhere.  One thought is that it is a garbled version of your temporary directory.  i.e. your OS is on F: and DOCUME~1 is probably the 8.3 format for "Documents and Settings" and J could be your user name or short for Jeff.  If you change your windows temporary directory to something like C:\temp does the problem go away?

    John

     

  • John,

    That did it.  Thanks!  I changed my user TEMP and TMP variables to what they are for the System ("F:\WINDOWS\TEMP").  I restarted CCS and it compiled and loaded just fine.

    Thanks again,
    Jeff 

  • Excellent!