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.

CC3200 Code Composer Studio: armcl not recognized

Other Parts Discussed in Thread: CC3200SDK, CC3200

Hi everybody,

I have a problem in CCS 6.1.0.00104 running on Windows 7 64bit.

When I try to build a project an error appers in the console:

""C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl"" is not recognized as an internal or external command, operable program or batch file.

What should I do? I've performed all the steps specified in CC3200-Getting_Started_Guide (CCS installation, ti-rtos update, target configuration import,...), but it doesn't work.

thanks for help,

Simone Riccardi

  • Hi Simone,

    Do you have the armcl.exe file at location: C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/ ?

    Regards,
    Gigi Joseph.
  • Yes, the exe file is present in the indicated path.
    I also tried to uninstall and reinstall the CCS, but without success.

    Simone Riccardi
  • Is there a specific CCS version for 64 bit Windows?

    thanks,
    Simone Riccardi
  • nobody can help me?

    regards,
    Simone
  • Hi Simone,

    Apologies for the delayed response.
    There isn't a different installer for 64 and 32 bit windows.

    Are you able to build the example project provided in the SDK?

    Regards,
    Ankur
  • Hi Ankur,

    no, I'm not able to build example projects.

    I followed the CC3200-Getting_Started_Guide, but when I start with the build of the first project/library mentioned (i.e. simplelink) the error occurs. Also if I try to build the wlan_station project the same happens.

    thanks for help,

    Simone

  • Are you getting the same error as mentioned above while building the SDK example projects?

    While installing the CCS did you make sure that the firewall is turned off during the installation (required when online installer is used)?

    Regards,
    Ankur
  • What do you mean with "SDK example projects"?
    For example, the wlan_station project?
    I tried this, and also other SDK projects, with the same error.

    As regards the firewall I tried both online and offline installation, in both cases with the firewall turned off.


    regards,
    Simone

  • Hi Simone,

    Yes, I am referring to examples provided in the SDK.

    Can you please share you complete console logs while building the example provided in SDK?
    I will suggest to first try and build the 'blinky' example.

    Regards,
    Ankur
  • Hi!

    This is the complete console log while building the blinky example.

    Unfortunately the error description is in italian, however the translation is the one provided in my first post.

    thank you,

    Simone


    **** Build of configuration Release for project blinky ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/gpio_if.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=fpalib --abi=eabi -me -Ooff --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/inc" -g --gcc --define=ccs --define=NON_NETWORK --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="gpio_if.pp" "C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/gpio_if.c"
    ""C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl"" non Š riconosciuto come comando interno o esterno,
    un programma eseguibile o un file batch.
    gmake: *** [gpio_if.obj] Error 1
    'Building file: ../main.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=fpalib --abi=eabi -me -Ooff --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/inc" -g --gcc --define=ccs --define=NON_NETWORK --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp" "../main.c"
    ""C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl"" non Š riconosciuto come comando interno o esterno,
    un programma eseguibile o un file batch.
    gmake: *** [main.obj] Error 1
    'Building file: ../pinmux.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=fpalib --abi=eabi -me -Ooff --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/inc" -g --gcc --define=ccs --define=NON_NETWORK --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="pinmux.pp" "../pinmux.c"
    ""C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl"" non Š riconosciuto come comando interno o esterno,
    un programma eseguibile o un file batch.
    gmake: *** [pinmux.obj] Error 1
    'Building file: C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/startup_ccs.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=fpalib --abi=eabi -me -Ooff --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/inc" -g --gcc --define=ccs --define=NON_NETWORK --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="startup_ccs.pp" "C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/startup_ccs.c"
    ""C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl"" non Š riconosciuto come comando interno o esterno,
    un programma eseguibile o un file batch.
    gmake: *** [startup_ccs.obj] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

  • According to log in above post the CCS is looking for ARM compiler at ""C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl"" but the correct path should be "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl"

    Can you please share the image of your project properties showing the list of linked resources?
    Project properties->Resources->Linked Resources

    Regards,
    Ankur
  • Do you have other version of compiler?
    If yes, can you please try the later version. You can change the compiler from the 'General' section in project properties.

    Regards,
    Ankur
  • Hi,
    i installed the ti-cgt-arm_5.2.4 from the app center, and selected it from the general properties, but the same error occurs. Of course the log now is related to this compiler:


    **** Build of configuration Release for project blinky ****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
    'Building file: C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/gpio_if.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl" -mv7M4 --code_state=16 --float_support=fpalib --abi=eabi -me -Ooff --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/include" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/inc" -g --gcc --define=ccs --define=NON_NETWORK --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="gpio_if.pp" "C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/gpio_if.c"
    ""C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl"" non Š riconosciuto come comando interno o esterno,
    un programma eseguibile o un file batch.
    gmake: *** [gpio_if.obj] Error 1
    'Building file: ../main.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl" -mv7M4 --code_state=16 --float_support=fpalib --abi=eabi -me -Ooff --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/include" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/inc" -g --gcc --define=ccs --define=NON_NETWORK --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp" "../main.c"
    ""C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl"" non Š riconosciuto come comando interno o esterno,
    un programma eseguibile o un file batch.
    gmake: *** [main.obj] Error 1
    'Building file: ../pinmux.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl" -mv7M4 --code_state=16 --float_support=fpalib --abi=eabi -me -Ooff --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/include" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/inc" -g --gcc --define=ccs --define=NON_NETWORK --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="pinmux.pp" "../pinmux.c"
    ""C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl"" non Š riconosciuto come comando interno o esterno,
    un programma eseguibile o un file batch.
    gmake: *** [pinmux.obj] Error 1
    'Building file: C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/startup_ccs.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl" -mv7M4 --code_state=16 --float_support=fpalib --abi=eabi -me -Ooff --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/include" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/driverlib" --include_path="C:/ti/CC3200SDK_1.1.0/cc3200-sdk/inc" -g --gcc --define=ccs --define=NON_NETWORK --define=cc3200 --display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile --preproc_dependency="startup_ccs.pp" "C:/ti/CC3200SDK_1.1.0/cc3200-sdk/example/common/startup_ccs.c"
    ""C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl"" non Š riconosciuto come comando interno o esterno,
    un programma eseguibile o un file batch.
    gmake: *** [startup_ccs.obj] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

    regards,
    Simone
  • Hi Simone,

    I think this post is not related to CC3200, but to Code Composer Studio. I am moving this thread there. You will get better response there.

    Regards,
    Gigi Joseph.
  • Simone,

    Could you try opening a command prompt, and typing the following:

    C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl

    If this also does not work then it could be related to permissions or something else not allowing the executables to run.

  • Hi!
    Yes, the same error occurs even if I try to call the armcl from the command prompt.

    Reagrds,
    Simone
  • Simone Riccardi said:
    Yes, the same error occurs even if I try to call the armcl from the command prompt.

    In that case there must be some other issue with your system or installation. Are you able to run any .exe executable from within the CCS installation directory (there are some in C:\ti\ccsv6\utils\bin and other places). If not, then this is a broader issue than just not being able to run the compiler.

  • Hi,

    for example if I try the gmake.exe it seems that it is recognised.

    C:\ti\ccsv6\utils\bin>dir
    Il volume nell'unità C è OS
    Numero di serie del volume: FEB7-D2DE

    Directory di C:\ti\ccsv6\utils\bin

    21/07/2015 13:54 <DIR> .
    21/07/2015 13:54 <DIR> ..
    15/05/2014 15:35 800.824 dpinst32.exe
    15/05/2014 15:35 935.480 dpinst64.exe
    26/03/2012 18:12 208.896 gmake.exe
    03/01/2009 14:34 3.668 LICENSE
    26/03/2012 18:12 1.564.560 make-3.81.tar.gz
    19/04/2009 21:51 204.800 unzip.exe
    12/07/2008 17:50 290.816 zip.exe
    7 File 4.009.044 byte
    2 Directory 40.356.597.760 byte disponibili

    C:\ti\ccsv6\utils\bin>gmake.exe
    gmake.exe: *** No targets specified and no makefile found. Stop.

    C:\ti\ccsv6\utils\bin>

    As regards the previous attempt to run the armcl from the command prompt, if I open the command prompt and type the command line as you suggested to me, the error appears.

    Instead it seems that I'm able to launch armcl with this different command:

    C:\Users\Nier>cd C:\ti\ccsv6\tools\compiler\ti-cgt-arm_5.2.4\bin

    C:\ti\ccsv6\tools\compiler\ti-cgt-arm_5.2.4\bin>armcl.exe

    In this case a long list of options appears, so it seems that the command is recognised.

    Regards,

    Simone