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.

TIVA WARE C libraries and CC2564B Bluetopia Stack incompatibilities?



Hi to all,


I've just bought the bluetooth development kit CC256MODAEM (CC2564B chip) and one of the suggested TIVA evaluation kit to use it, the DK-TM4C123G.

I'm using ccs 5.4.0

I'm setting up the development toolchain follwing the guidelines in CC256x M4 Bluetopia SDK which are reported in the wiki here (processors.wiki.ti.com/index.php

The Bluetopia stack and all the examples were tested using TivaWare Software 2.1.0.12573.

Now the TIVA Software library with such version seems not available anymore to download, the new version avaliable for download is TivaWare Software 2.1.2.111 which seems incompatible with Bluetopia stack libraries because is compiled with a newer version of the compiler.

I get the following linker error for several library objects (uart.obj, timer.obj, sysctl.obj, etc.)

#16004-D file "C:\ti\TivaWare_C_Series-2.1.2.111\driverlib\ccs\Debug\driverlib.lib<uart.obj>" has a Tag_PCS_config attribute value of "1" that is different than one previously seen ("0"); combining incompatible files    SPPLEDemo             C/C++ Problem

The DK-TM4C123G is shipped with a USB stick that contains TIVA Software as well but in version TivaWare Software 2.0.1.11577, which is older than the one suggested by Bluetopia stack complilation instructions.

I've tried to use the older TivaWare Software 2.0.1.11577 and the compilation succeeded but I'm not shure this is the rigth choice to start with.

I see to option to fix this problem:

1) Find TivaWare Software 2.1.0.12573

Do anyone knows where TivaWare Software 2.1.0.12573 can be downloaded?

2) Use a newer arm compiler compatible with last TivaWare Software

Which arm compiler version is compatible with TivaWare Software 2.1.0.12573?

Is this compiler/linker compatible with Bluetopia library binaries compiled with the older compiler?

May I install such newer arm compiler in ccs 5.4.0?

Any help on this topic is appreciated

Thanks

Claudio

  • Hello Claudio

    One of colleagues who has been working on the BT Stack will respond to your issue

    Regards
    Amit
  • Hello Claudio,

    TivaWare v2.1.0.12573 is two versions older to the current version of TivaWare (which has multiple bug fixes). We would not recommend using the older version of TivaWare for new designs.

    I have however been successful in building (with warnings about "Invalid project path"), the example "SPPDemo" from "TI dual-mode Bluetooth® stack on TM4C MCUs" version 1.2 R2 using TivaWare v2.1.2.111.

    I used CCS v6.1.2 and Arm Compiler v5.2.7. I did not run this example on my board so cannot comment if it works as expected.

    The following are the changes I had to make to the project to build.

    • Add TivaWare root directory to Compiler's include path
    • Add correct path of the library driverlib.lib to the Linker's search path. This path is "<TivaWare_Root>/driverlib/ccs/Debug"

    Thanks,

    Sai

  • Thank You Sai,

    I will test the configuration you suggested and I'll post the result in this thread.

    I'm actually interested in SPPLE Demo so I will try such software on the eval kits.

    Thanks

    Claudio

  • Sai,

    I've finally succeeded in running SPPLE demo, I'm using the following configuration:

    ccs version  Version: 6.1.2.00015

    bluetopia stack for tiva v1.2 R2 (CC256XM4BTBLESW-v1.2-R2-Setup.exe)

    TivaWare_C_Series-2.1.2.111

    I had to change TivaWare libraries path in bluetopia stack and compilation went fine.

    I've also succesfully tested the frimware with standard SPP and BlueTerm Android App and SPPLE and LightBlue IOS App.

    I'm having troubles using SPPLE with Android.

    I've tested several apps similar to IOS Lightblue without success, bleow the list of apps used

    BLE Scanner (play.google.com/.../details

    nRF Master Control Panel (play.google.com/.../details

    BLE Tool v2 (play.google.com/.../details

    The problem I encounter is the always the same, when I try to connect from the App to CC256B the connection drops immediately without showing the SPPLE properties.

    The demo console do not report the events etLE_Connection_Complete and etGATT_Connection_Device_Connection that indicate the successfull connection.

    Do You have any suggestion on this?

    Regards

    Claudio

  • Sai,

    I solved the problem following this suggestion e2e.ti.com/.../504959

    Thanks for your support.

    Claudio
  • Hello Claudio,

    Thanks for sharing the solution. It would help others with the some problem here.

    Sai