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.

SW-EK-TM4C1294XL: ARM CGT 5.2.x Doesn't work on macos

Part Number: SW-EK-TM4C1294XL
Other Parts Discussed in Thread: EK-TM4C1294XL, TM4C1294NCPDT

Tool/software:

Hello Everyone,

                               I am trying to intall  ARM CGT 5.2.x on macos sequoia. But it doesn't seem to install. 

This is needed since I am using CCS20.0 Thei IDE to import and compile EK-TM4C1294-XL example project. which seems to be using CGT 5.2.

Appreciate if anyone can help here. ?

Thanks

Harish

  • To the compiler experts - the issue that the Arm CGT 5.2.9 compiler installer downloaded from https://www.ti.com/tool/download/ARM-CGT/5.2.9 is not running on macOS Sequoia:

    unfortunately this version of ARM CGT failed to install on mac os Squoia . Enabled in security settings to allow this file to be installed, but it doesn't even open dialog for installer.

  • I can reproduce the issue on Sequoia

    It is some sort of verification error. The Arm CGT 20.2.7 installer does not have this issue. 

  • Even if you allow this app to install, by settings --> security--> allow app , this doesn't do anything. 

  • Version 5.2.9 was released in February 2017.  It was never tested with macOS Sequoia.  It is no longer supported.  Therefore, I have to unfortunately conclude that this combination ...

    using CCS20.0 Thei IDE to import and compile EK-TM4C1294-XL example project. which seems to be using CGT 5.2

    ... is not supported.

    Thanks and regards,

    -George

  • so there is no way to port these TM4C1294 projects  to latest CGT 20 ? 

  • so there is no way to port these TM4C1294 projects  to latest CGT 20 ? 

    I am not a device expert so I can't comment on what version of the compiler is recommend. But I have been able to build TivaWare examples using newer 20.2.7 compiler on my macbook M1 running Sequoia.

    https://www.ti.com/tool/download/ARM-CGT/20.2.7.LTS

    After install, make sure it is discovered: https://www.youtube.com/watch?v=1jkpPGcbxxA&list=PL3NIKJ0FKtw75d_K8G0JBJHB9zIm8_YQL&t=5s

  • Hi Ki, did you make any changes to includes etc. since I am getting following, even though I can confirm directories and files exist at the location compiler is complaining about.

    [5]>> Compilation failure
    [6]utils/subdir_rules.mk:7: recipe for target 'utils/uartstdio.obj' failed
    [7]"/Users/XXXXXXX/ti/tivaware_c_series_2_1_4_178/utils/uartstdio.c", line 28: fatal error #1965: cannot open source file "inc/hw_ints.h"
    [8]1 catastrophic error detected in the compilation of "/Users/XXXXXXX/ti/tivaware_c_series_2_1_4_178/utils/uartstdio.c".
    [9]Compilation terminated.
    [10]gmake: *** [utils/uartstdio.obj] Error 1
    [11]"/Users/XXXXXXX/ti/tivaware_c_series_2_1_4_178/examples/boards/ek-tm4c1294xl/drivers/pinout.c", line 27: fatal error #1965: cannot open source file "inc/hw_gpio.h"
    [12]1 catastrophic error detected in the compilation of "/Users/XXXXXXX/ti/tivaware_c_series_2_1_4_178/examples/boards/ek-tm4c1294xl/drivers/pinout.c".
    [13]Compilation terminated.
    [14]gmake: *** [drivers/pinout.obj] Error 1
    [15]"../startup_ccs.c", line 26: fatal error #1965: cannot open source file "inc/hw_nvic.h"
    [16]1 catastrophic error detected in the compilation of "../startup_ccs.c".
    [17]Compilation terminated.
    [18]gmake: *** [startup_ccs.obj] Error 1
    [19]"../hello.c", line 27: fatal error #1965: cannot open source file "inc/hw_memmap.h"
    [20]1 catastrophic error detected in the compilation of "../hello.c".
    [21]Compilation terminated.
    [22]gmake: *** [hello.obj] Error 1
    [23]Building file: "/Users/XXXXXXX/ti/tivaware_c_series_2_1_4_178/examples/boards/ek-tm4c1294xl/drivers/pinout.c"
    [24]Invoking: Arm Compiler
    [25]"/Applications/ti/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Users/XXXXXXX/Library/Application Support/Texas Instruments/CCS/.ccs-server/workspaces/f38b2a03d8aa10faff745e62d28e2148/hello" --include_path="/Applications/ti/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="drivers/pinout.d_raw" --obj_directory="drivers" "/Users/XXXXXXX/ti/tivaware_c_series_2_1_4_178/examples/boards/ek-tm4c1294xl/drivers/pinout.c"

    [26]>> Compilation failure
    [27]drivers/subdir_rules.mk:7: recipe for target 'drivers/pinout.obj' failed
    [28]Building file: "../startup_ccs.c"
    [29]Invoking: Arm Compiler
    [30]"/Applications/ti/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="/Users/XXXXXXX/Library/Application Support/Texas Instruments/CCS/.ccs-server/workspaces/f38b2a03d8aa10faff745e62d28e2148/hello" --include_path="/Applications/ti/ti-cgt-arm_20.2.7.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="startup_ccs.d_raw" "../startup_ccs.c"

  • Hi Ki, did you make any changes to includes etc

    No, just used as-is with the compiler change. Here is the timers example:

    tiva.txt
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    [0]**** Build of configuration Debug for project timers ****
    [1]/Applications/ti/ccs2000b4/ccs/utils/bin/gmake -k all
    [2]Building file: "../startup_ccs.c"
    [3]Invoking: ARM Compiler
    [4]"/Applications/ti/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="/Applications/ti/ti-cgt-arm_20.2.7.LTS/include" --include_path="/Users/sdoapps/ti/tivaware_c_series_2_1_4_178" --advice:power=all -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="startup_ccs.d_raw" "../startup_ccs.c"
    [5]"../startup_ccs.c", line 237: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    [6]"../startup_ccs.c", line 255: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    [7]"../startup_ccs.c", line 273: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    [8]Finished building: "../startup_ccs.c"
    [9]Building file: "../timers.c"
    [10]Invoking: ARM Compiler
    [11]"/Applications/ti/ti-cgt-arm_20.2.7.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="/Applications/ti/ti-cgt-arm_20.2.7.LTS/include" --include_path="/Users/sdoapps/ti/tivaware_c_series_2_1_4_178" --advice:power=all -g --gcc --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=TARGET_IS_TM4C129_RA0 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="timers.d_raw" "../timers.c"
    [12]"../timers.c", line 113: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    [13]"../timers.c", line 114: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    [14]"../timers.c", line 148: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    [15]"../timers.c", line 149: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
    [16]"../timers.c", line 257: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • include_path="/Users/XXXXXXX/Library/Application Support/Texas Instruments/CCS/.ccs-server/workspaces/f38b2a03d8aa10faff745e62d28e2148/hello"

    How did this get in your include search path?

  • I think its here in pics.

  • I am going to start from scratch and reinstall everything , seems like default settings might have been altered while troubleshooting.