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 errors

Hi everyone,

 I have deleted my older CCS and installed the latest version. However, when I try to import example projects from BLE-SDK 2.20 , I get many errors. No matter which project I import (they are all from BLE-SDK ver 2.20 examples folder), I always get the the same errors. What might be the reason ?

Here are my instalation details;

ARM Compiler Tools Version: 15.12.3.LTS

TI RTOS for CC13xx and 26xx version: 2.20.0.06

CC26xx Device Support Version: 2.0.0.00

I have attached a screen shuts below.

Many thanks

  • Please take a look at our software developer's guide section 2.6.3.1 page 29
  • Thank you Christin, I did everything step by step but I could not figure out how to get it work. Can you give me some pointers..

    Regards
  • Hi,

    If you looked into the software developer's guide more carefully, you will see
    1. You need to use TI-ARM compiler version >=5.2.6
    2. The TI-RTOS version should be 2.18 instead of 2.20.

    Can you make sure at least what I pointed out are corrected?
  • Hi Christin,

    I carefully examined developer's guide and I thought that a later version would be compatible with the previous one. In my case, it is TI-RTOS version 2.20 and 2.18..
    I could not install TI Arm Compiler version 5.2.6 as it did not exist under "Code Generation Tools Update". Thus, I installed version 5.2.8 .

    I have also installed TI RTOS version 2.18 and now it seems like it is working but there is something really strange happening here. CCS automatically creates a folder named "tirex-content" under "C:\ti\ " and it is searching there for drivers belong to TI-RTOS 2.18. I have manually copied the RTOS 2.18 folder to "tirex-content" folder and then it worked.

    Do you have any comment on this issue ?

    Many thanks
  • Hi,

    As long as your TI-ARM compiler version in higher the 5.2.6, then it's fine.

    The ble stack 2.2 which you imported from resource explorer classic should not try to look for things under tirex folder.

    Can you delete the content inside tirex and compile again?

    I would like to see the error msg if it's actually a problem.
  • Hi Christin,

    Now I have another problem, I succesfully compile and download the code but the resume and suspend buttons on the debug window are not active. Only the terminate button is active. When I press the terminate button it somehow stops and other two buttons become active. But it is not running the code, I can never get in main and execute the code line by line.

    Do you have any idea about this issue ?

    many thanks
  • I have removed everything (that I manually copied inside tirex folder as CCS was warning me about some invalid project path) inside tirex folder and this is what I am getting now ;

    Many thanks,

  • You imported the project zero from CCS cloud/simplelink academy right?
    For simplelink academy to work on CCS 6.2, you do need to manually copy the TI-RTOS into tirex folder. We are working on fixing this now, sorry for the inconvenience.

    However, for simple_peripheral which comes from BLE stack 2.2, you should not need to copy TI-RTOS into tirex folder.
    Can you try to compile simple_peripheral and show me the log if it fails?
    Thanks!
  • Hi Christin,

    I have manually imported Project Zero from simplink academy install directory which is under "C:\Ti\.." 

    For the simple peripheral example under ble-sdk 2.2 folder, no error generated after I deleted tirex folder. However, when I downlaoded the code to Launchpad, the resume and suspend buttons are not working as can seen below ;

    Do you have any idea why buttos are inactive ?

    Many thanks

  • Thanks for letting us know. We have seen that problem and found a solution. There will be a ccs update later tonight which fixes the problem.
  • Actually in ccs forum, they are already providing the fix there. If you can't wait for the software update, the please go to :
    e2e.ti.com/.../1972312
  • Hi,

    I have updated it, now the example project runs well. However, when I add the pwm drivers to TI-RTOS 2.18's driver folders. I am getting error like this ;

    What is the reason ? I am using BLE-SDK 2.02 simple_peripheral example. I just added PWM2.h , PWM2.c, PWMCC26XX.h, PWMCC26XX.c and GPTimerCC26xx.h, GPTimerCC26xx.c files to driver folders as told in pre-release pwm library guide (e2e.ti.com/.../474000)

    I have also made all the configuratinos being told in that site but still getting errors..

    Does it have to do with RTOS version ? I want to use the official release of pwm library for TI-RTOS 2.20 but simple_peripheral example for BLE-SDK 2.02 does not work with TI-RTOS 2.20, I am stuck with this and really driving me crazy. How can I get this working ?

    Many thanks