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.

CC2650STK: Compiling and Building Latest Firmware Source Code Problem

Other Parts Discussed in Thread: BLE-STACK, CC2650STK, CC2640

Hello Forum,

I am playing with CC2650STK for few days. I am trying to compile and build the firmware source code using BLE-STACk 2.0 and v2.1. Here is the steps I have followed:

1. I installed the BLE-STACK v2.1 and imported the firmware sourc code from location  C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Projects\ble\SensorTag\CC26xx into CCS V6.1. There are two project named SensorTag and SensorTagStack.


2. Then I right clicked on the SensorTag project and selected Properties. Then I changed the Connection to Texas Instruments XDS110 USB Debug Probe in General tab.

3. Then I opened the windows command prompt as Administrator and Change the Directory (CD) to C:\ti\ccsv6\ccs_base\common\uscif\xds110 and run the following 2 commands:

xdsdfu -m

xdsdfu -f firmware.bin -r

4. Then I select SensorTag project on CCS and press F11 (Debug). Then I stepped over some functions call in the main.c file until it reached  BIOS_start(); Then I stopped the debugging.

5. Then I connected the sensortag with android phone. It was not showing any sensor data. Then I disconnected the sensortag from devPack debugger and inserted a new battery. But It was not advertising or blinking at all. And still it is not advertising or blinking.

I am wondering weather I am missing something or some steps during building the source code of the firmware or any other things. I am kindof new to CCS and It's kindof very general quesiton. However, I appreciate your help.

Thanks,

Adam

  • Hi Adam,
    I am not sure what you are trying to do with step 3. but please refer to a document called "SWRU393_CC2640_BLE_Software_Developer's_Guide.pdf" which can be found usually (if you are using the default install path of BLE-Stack v2.x) at: C:\ti\simplelink\ble_cc26xx_2_01_00_44423\Documents

    You can find the detailed information to compile and download the example codes in chapter 2.5.3 if you are using CCS, escpecially chapter 2.5.3.2.3 "Compiling and download"