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: inconsistent support for CCS, IT-RTOS/SYSBIOs and support files

Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

I have a lot of confusion about finding the latest firmware and supporting documentation for CCS, TI-RTOS/SYSBIOS and related firmware. I see download pages (on the IT site) for SYSBIOS, but I thought SYSBIOS is wrapped into TI-RTOS.

 

I was running CCS rev 8, but recently I installed CCS Version: 9.3.0.00012, but now I get this build error: xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.        .xdchelp

 

But I have xdctools_3_50_07-20_core on my computer.

 

I’ve tried using the help on CCS, but can never seem to find the answers to my questions. For example: I suspect CCS is searching the wrong path for XDCtools (since I installed CCS 9).  But I’m not sure how to repath CCS.

 

I sometimes find dead links like this one: https://processors.wiki.ti.com/index.php/How_is_SYS/BIOS_related_to_XDCtools_and_RTSC%3F

 

I never know if I’m reading documentation in the IT site that is up to date.

 

I was watching a video on the IT site about how to install CCS related firmware. There speakers talked for about 5 minutes about how important it is to install the latest firmware, but never explained how to do it. 

 

I find this inconsistent support. Is there a more consistent support?

  • Hi George,

    What device are you using? Hopefully this page can help: https://e2e.ti.com/support/processors/f/791/t/820708

    Todd

  • Hello Todd,

    Thank you for your time!

    I'm using Tiva C

    I've been to that link before.  I now have TI-RTOS rev 2.16.00.08, but that web page shows a newer one.  I downloaded to my computer, but when I open the file it asks me what application to use to open it.  Is that supposed to happen?

    Thanks George

  • Hi George,

    2.16.01.14 is a patch release to 2.16.00.08. It fixed a Mac issue and a small installation problem. You can stick with 2.16.00.08. Either version cannot be used with XDCtools 3.50 (or later). I'd stick with the versions recommended in the TI-RTOS for TivaC release notes. I'd also stick with the version of compiler recommended in the release notes. There is a boot issue when you use newer versions of the TI compiler.

    Todd

  • Hello Todd,

    And thank you again for your help.

    However I still don't understand. 

    You write that I should use TI-RTOS 2.16.00.08, but that it will not work with XDCtools 3.50 or later.  However, the TI-RTOS 2.16.00.08 release notes say "XDCTools 3.32.00.06 or higher".  As shown in this link...

    C:\ti\tirtos_tivac_2_16_00_08\release_notes_tirtos_tivac_2_16_00_08.html

    I recently installed CCS 9.3.0.00012, and according to it; it is using, TI-RTOS for TivaC 2.16.0.8, bios 6.45.01.29, XDCtools 3.60.2.34 (which is in a subdirectory of ccs930 and seems to have been installed with CCS 9.3.0.00012) and  TivaWare_C_Series 2.1.1.71B.  I'm not sure of the compiler, but I think it's 19.6.0.sts.

    All of this is how CCS 9.3.0 seems to have installed itself.  Is any of this not right?

    George

  • George,

    The "or higher" was too optimistic. You must use a pre-3.50 XDCtools with TI-RTOS for TivaC. You can get the 3.32 version here: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/index.html

    I'd highly recommend getting an older compiler version also. There have been some compatibility issues with TI-RTOS for TivaC and the newer TI Arm compilers. 

    Todd

  • I believe I now have the flowing set on CCS930:

    TI-RTOS 2.16.00.08

    Tivaware_C_Services 2.1.1.71b

    Bios 6.45.01.29

    XDCtools 3.32.0.06

    Compiler 19.6.0.STS

    But I still have the same problem

     

    Clean and then Rebuild shows this warning “statement is unreachable” for three lines in empty_pem4f.c

    However an incremental build shows no errors or warnings.

     

    When running, the following line seems to cause the abort shown below.

    //

       // Set PWM clock rate by deviding the system clock.

       //

       PWMClockSet(SYSCTL_PERIPH_PWM0, PWM_SYSCLK_DIV_2);

     

     

    __attribute__((section(".text:abort")))

    void abort(void)

    {

    #if defined(EMBED_CIO_BP)

       __asm("         .global C$$EXITE");

    #if defined(__32bis__)

       __asm("C$$EXITE:.word 0xDEFED0FE");

    #else

       __asm("    .align 4");

    #if defined(__big_endian__)

       __asm("C$$EXITE:.half 0xDEFE");

    #else

       __asm("C$$EXITE:.half 0xD0FE");

    #endif /* __big_endian__ */

    #endif /* __32bis__     */

     

    #else /* !EMBED_CIO_BP */

       __asm("       .global C$$EXIT");

       __asm("C$$EXIT: nop");

    #endif

     

       for (;;);   /* SPINS FOREVER */

    }

     

    FSR = 0x0000

    HFSR = 0x40000000

    DFSR = 0x0000000a

    MMAR = 0xf0004fc8

    BFAR = 0xf0004fc8

    AFSR = 0x00000000

    Terminating execution...

  • George,

    I'd highly recommend getting an older compiler version also.

    Todd

  • Thanks Todd,

    How much older?  Could you give me a version number?

    BTW, Am I to understand that IT releases non-functional firmware in contrarily to their release notes?

    Thanks George

  • I'd use the 5.2.9 version: http://software-dl.ti.com/codegen/non-esd/downloads/download_archive.htm#ARM.

    Unfortunately we have not had a new release of TI-RTOS for TivaC for several years and it is not practical for us to validate every new software component against that release. That's why we are recommending to use the version of the tools specified in the release notes.

    Todd