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.

CCS: 64bit support

Other Parts Discussed in Thread: CC3220SF, SYSBIOS

Tool/software: Code Composer Studio

Catalina will be out in October. Will ccs be compatible by then?

  • Michael,

    The main CCS application has been 64bit from day one on Mac.  The compilers bundled with 9.0 are also 64bit.  In CCSv9.0 there was still an MSP430 package and a MSP432 package that were 32bit.  This could trigger macOS to report that Eclipse was 32bit.  Those issues should both be corrected in CCSv9.1.0 which will be available for download later today.  Please let me know if you still see warnings from the OS with 9.1.

    Regards,

    John

  • Michael,

    Have you been able to give CCSv9.1 a try?

    Regards,

    John

  • Thank you John! Will work the whole day today it. Will let you know.

  • Thanks Michael

  • So, so far I haven't had any warning and I don't have any process running in 32bit under Activity Monitor. However CCS 9.1 broke everyone of my projects. I can't build anymore. These are projects that were building fine under ccs 8. It says it can't find mode_t which is defined in types.h which is included in various base libraries like Simplelink and the compiler. Her is the error:

    >> Compilation failure
    Build of libraries failed.
    subdir_rules.mk:10: recipe for target 'build-1948194527-inproc' failed
    "/Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/source/ti/posix/tirtos/mqueue.c", line 173: error: identifier "mode_t" is undefined
    "/Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/source/ti/posix/tirtos/mqueue.c", line 188: error: identifier "mode_t" is undefined
    "/Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/source/ti/posix/tirtos/mqueue.c", line 188: error: expected an expression
    3 errors detected in the compilation of "/Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/source/ti/posix/tirtos/mqueue.c".
    gmake[1]: *** [makefile:61: BIOS.obj] Error 1
    gmake: *** [/Users/michafuhrmann/Dev/FluidBaseStation_Gen2/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/makefile.libs:57: /Users/michafuhrmann/Dev/FluidBaseStation_Gen2/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios/sysbios.aem4] Error 2
    error: xdc.cfg.SourceDir: "/Applications/ti/xdctools_3_51_01_18_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

    js: "/Applications/ti/xdctools_3_51_01_18_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake: *** [package.mak:201: package/cfg/release_pem4.xdl] Error 1
    gmake: *** Deleting file 'package/cfg/release_pem4.xdl'
    gmake: *** [package/cfg/release_pem4.xdl] Deleting file 'package/cfg/release_pem4.h'
    gmake: *** [package/cfg/release_pem4.xdl] Deleting file 'package/cfg/release_pem4.c'
    js: "/Applications/ti/xdctools_3_51_01_18_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1948194527-inproc] Error 1
    Building file: "../release.cfg"
    Invoking: XDCtools
    "/Applications/ti/xdctools_3_51_01_18_core/xs" --xdcpath="/Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/source;/Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4 -p ti.platforms.simplelink:CC3220SF -r release -c "/Applications/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.1.5.LTS" "../release.cfg"
    configuring release.xem4 from package/cfg/release_pem4.cfg ...
    generating custom ti.sysbios library makefile ...
    Starting build of library sources ...
    making /Users/michafuhrmann/Dev/FluidBaseStation_Gen2/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios/sysbios.aem4 ...
    clem4 /Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/kernel/tirtos/packages/ti/sysbios/BIOS.c ...

    >> Compilation failure
    Build of libraries failed.
    subdir_rules.mk:10: recipe for target 'build-1948194527-inproc' failed
    "/Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/source/ti/posix/tirtos/mqueue.c", line 173: error: identifier "mode_t" is undefined
    "/Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/source/ti/posix/tirtos/mqueue.c", line 188: error: identifier "mode_t" is undefined
    "/Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/source/ti/posix/tirtos/mqueue.c", line 188: error: expected an expression
    3 errors detected in the compilation of "/Applications/ti/simplelink_cc32xx_sdk_3_10_00_04/source/ti/posix/tirtos/mqueue.c".
    gmake[1]: *** [makefile:61: BIOS.obj] Error 1
    gmake: *** [/Users/michafuhrmann/Dev/FluidBaseStation_Gen2/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/makefile.libs:57: /Users/michafuhrmann/Dev/FluidBaseStation_Gen2/tirtos_builds_CC3220SF_LAUNCHXL_release_ccs/src/sysbios/sysbios.aem4] Error 2
    error: xdc.cfg.SourceDir: "/Applications/ti/xdctools_3_51_01_18_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

    js: "/Applications/ti/xdctools_3_51_01_18_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake: *** [package.mak:201: package/cfg/release_pem4.xdl] Error 1
    gmake: *** Deleting file 'package/cfg/release_pem4.xdl'
    gmake: *** [package/cfg/release_pem4.xdl] Deleting file 'package/cfg/release_pem4.h'
    gmake: *** [package/cfg/release_pem4.xdl] Deleting file 'package/cfg/release_pem4.c'
    js: "/Applications/ti/xdctools_3_51_01_18_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[2]: *** [build-1948194527-inproc] Error 1
    gmake[1]: *** [build-1948194527] Error 2
    gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
    gmake: *** [all] Error 2
    subdir_rules.mk:7: recipe for target 'build-1948194527' failed
    makefile:125: recipe for target 'all' failed

    **** Build Finished ****

  • Michael,

    I will loop in a TI-RTOS expert to see if they know what can trigger that.  In the meantime I will try to reproduce the issue.  Which version of CCSv8 were you previously using?  

    Regards,

    John

  • Hi Michael,

    mode_t is typedef'd in mqueue.h. Can you include the full build log? Please attach in a file instead of just copy/pasting to keep the thread readable. I want to see what include paths you are using. Could you also zip up the Debug directory in the kernel project and attach it also. This will contain some of the compiler options used to build the kernel.

    As a test, can you try using xdctools_3_55_00_11_core (which comes in CCS 9.1). To do so, go to Project Properties->General->Products. There is a drop down to select the XDCtools version. Does this version work?

    Todd

  • Michael, 

    according to cc32xx_sdk_3_10_00_04 release notes you should use xdctools_3_51_02_21 or later. 

    power_measurement example uses mqueues.
    Try to build it. It would let us isolate your application specific settings from a general config needed by a TI example.

  • Thanks to both of you. I got it to compile yesterday by switching between sdk and compiler and xdc.Here are my findings:

    - SDK 3.20.0.6

    - XDCTools 3.55.2.22

    - Compiler 18.12.2

    I'm getting the following error:

    "/Applications/ti/ccs910/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include/libcxx/atomic", line 1730: error #306: no instance of overloaded function "std::__2::__c11_atomic_exchange" matches the argument list
    argument types are: (volatile std::__2::__gcc_atomic::__gcc_atomic_t<bool> *, int, std::__2::memory_order)

    - Compiler 18.1.6

    I'm getting the following error:

    "/Applications/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.6.LTS/include/sys/types.h", line 164: error #258: invalid redeclaration of type name "mode_t" (declared at line 87 of "/Applications/ti/simplelink_cc32xx_sdk_3_20_00_06/source/ti/posix/ccs/mqueue.h")

    - Compiler 18.1.5

    Compiles fine...

    I'm finding it odd that just by switching compiler I'm getting such different results, curious how that can be...

    If you still need me to send you something let me know

  • Michael,

    That is quite odd.  I tried reproducing with the 18.12.2 and 18.1.6 compilers with a couple of the examples from the SDK but had no luck.  Was there an example project that you started with that I could try?

    Regards,

    John

  • John, I can't seem to be able to replicate with sample projects either.

  • John,

    I still get a warning about 32bit processes 

  • Michael,

    If you are using the 18.1.x compiler then that is expected.  Only the newer 18.12.x compiler is 64bit.

    Regards,

    John

  • Humm... yes of course. So I've finally got the project to build under 18.12.2, by adding the following in atomic :

    #ifdef true
    #undef true
    #endif
    #ifdef false
    #undef false
    #endif

    A def in hw_types.h was messing things up with __c11_atomic_exchange:

    #ifndef true
    #define true 1
    #endif
    
    #ifndef false
    #define false 0
    #endif

  • Great.  I am chasing this down with our SDK team to get our header files fixed.

  • I installed Catalina on an external HD. The CCS installer doesn't start. I guess I'll wait until everything's ironed out.

  • Thanks Michael. We are attempting to get access to the Catalina preview to try this out.

    Regards,

    John