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: trouble when trying to import "SimpleBLEPeripheral" from TI Cloud

Other Parts Discussed in Thread: BLE-STACK, FLASH-PROGRAMMER

Tool/software: Code Composer Studio

Hello Community,

I've developed a BLE project based on the SimpleBLEPeripheral sample project on the CC2650dk-7id evaluation board.

When I started, I easily imported this project (this time it worked) by

Ressourc Explorer -> CC26xx Bluetooth Smart v:2.01.00.44423 -> CC2650dk-7id -> Examples -> Simple BLE Peripheral -> Install on Desktop.

Now I tried to install this sample project on another pc with the same software installed. This time the import failed what ever I did:

under Linux (this worked some time ago but now it doesen't): CCS version 6.2.0.00050, tirtos_cc13xx_cc26xx_2_20_01_08 OR tirtos_cc13xx_cc26xx_2_18_00_03, ble_sdk_2_02_00_31 OR ble_sdk_2_02_01_18

AND under Windows (same CCS nearly the same TI-RTOS and BLE stack)

=> The Ressource Explorer showed the Simple BLE Peripheral project but downloading the Project launched the error "There was an error downloading the files. Please try again later". But "trying again later" does not fix the problem.

=> Other BLE Projects included in the BLE stack did not even compile. I managed to get the "Stack Project" of examples/cc2650em/simple_peripheral be compiled but the "App Project" still refused to work.

under Windows with the v 7.1.xx, I neither found CC26xx Bluetooth Smart v:2.01.00.44423 nor Simple BLE Peripheral. TI-RTOS and BLE Stack were installed with current versions.

=> I managed to get the project example/cc2650em/simple_peripheral to work but neither the display worked nor my PC received advertising data.

During the test process my working example project broke. Now i desperately try to get it work again.

Is there any possibility to get the source files of this sample project (the ccs project with the links  to the files still exist)?

What could be the reason for this? Did I miss that the support for this sample was ceased?

Please help me!

Best regards

...

  • Hi,

    I tested a few scenarios mentioned by you.

    user4825571 said:
    => The Ressource Explorer showed the Simple BLE Peripheral project but downloading the Project launched the error "There was an error downloading the files. Please try again later". But "trying again later" does not fix the problem.

    I got the same error as you when trying to install the CC26xx Bluetooth Smart v:2.01.00.44423 from the TI Resource Explorer on my CCSv6.2.0 on Windows. As a temporary workaround, you can try to download and install the standalone version from here. On Linux I don't think this ever worked, as this BLE Stack is not officially supported by this OS (check this reference).

    Given the BLE Stack version available on the Resource Explorer was never updated, I personally prefer to download and install version 2.2.1 and follow the instructions shown at this post to properly browse its examples. This thread also explains the absence of BLE Stack support in CCSv7.x releases.

    user4825571 said:
    => Other BLE Projects included in the BLE stack did not even compile. I managed to get the "Stack Project" of examples/cc2650em/simple_peripheral be compiled but the "App Project" still refused to work.

    user4825571 said:
    => I managed to get the project example/cc2650em/simple_peripheral to work but neither the display worked nor my PC received advertising data.

    Unfortunately I am not the most experienced with the BLE Projects, but I don't recall any of them having severe build failures. I also recall running the simple_peripheral project working in the past. Perhaps this may be caused by the previous errors installing the BLE Stack. In this case please try to start fresh with the install of the BLE Stack and see if you are able to properly build your code.

    I apologize for the inconvenience,

    Rafael

  • Thanks for fast reply, Rafael.

    I immediately read the post but did not find the time to write. Sorry for that.

    Rafael > I got the same error as you when trying to install the CC26xx Bluetooth Smart v:2.01.00.44423 from the TI Resource Explorer on my CCSv6.2.0 on Windows.

    => good to know. It seems to be a global problem.

    Rafael > On Linux I don't think this ever worked, as this BLE Stack is not officially supported by this OS (check this reference).

    => I know this but Cloud project did work. That's why it's a pity that it does not work anymore. It means lower Linux support.

    Rafael > This thread also explains the absence of BLE Stack support in CCSv7.x releases.

    => not what I hoped to hear.


    Raphael > As a temporary workaround, you can try to download and install the standalone version from here. [...] I also recall running the simple_peripheral project working in the past. Perhaps this may be caused by the previous errors installing the BLE Stack. In this case please try to start fresh with the install of the BLE Stack and see if you are able to properly build your code.

    => I did this. The hex-file cc2650em_simple_peripheral_rel.hex (@ simplelink/ble.../examles/hex) was successfully flushed.

    Compiling the project now works without errors but flashing it on the device is not quit easey. Nevertheless I found a solution.
    In orde to be usefull for others facing the same problem, I'll describe the complete workflow:

    0. uninstall all erroneous Software components

    1. install CCS (tested with version 6.2.0, might work with 7.x as well)

    2. install ble-stack ble_sdk_2_02_01_18

    3. restart eclipse and import the provided software packages

    4. install the flash-programmer 2-1.7.5
    (you should be able to flash the example project now: C:\ti\simplelink\ble_sdk_2_02_01_18\examples\hex\cc2650em_simple_peripheral_rel.hex)

    5. import the project "simple_peripheral"
    select "File->Import->CCS-Project" and choos the directory "C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650em\simple_peripheral"

    import app and stack copying them to workspace

    6. adabt the compilor versions of the projects to V15.12.03
    Project -> Properties -> Compilor Version V15.12.03

    7. compile the stack project

    8. Adapt the app project. You may want to replace the linked files with copies to build a stand alone version.

    9. Compile the app project.

    10. copy the *.hex files form <ProjectName>/FlashRom/*.hex to a new folder, say its name is "hex"

    11 Select both *.hex files in the flash-programmer by:
    -> select device
    -> Multiple -> <dir>/hex/<both *.hex-files> -> <flash device>



    flashing the mcu and using the debug mode did not work for me. Did I miss some adaptions in Project configuration?

    For me this topic is closed, but in case other people need to debug their apps could you provide how to change the project settings for debug the project, Raphael?

    Thanks for the help!

    p.s.: I didn't find the "verify answer" button. Is it already closed?