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: Problems with BLE "sensortag " example on CC2650STK

Part Number: CC2650STK

I am working with a SensorTag (CC2650STK) with the BLE-STACK-2-2-1 (i.e. ble_sdk_2_02_01_18 and tirtos_cc13xx_cc26xx_2_20_01_08). I use a dev pack so I can successfully flash the pre-built firmware image (cc2650stk_sensortag_rel.hex) with Flash Programmer 2 and read data from the sensors using the Android app.

The problem occurs when I try out the BLE examples (C:\ti\simplelink\ble_sdk_2_02_01_18\examples\cc2650stk) with CCS. I am particularly interested in the sensortag example.

That is, I can successfully build the project in CCS and download it to the board, but afterwards nothing happens. The tag does not enter the advertisement mode (I tried pressing buttons and connecting/disconnection with Flash Programmer 2) and consequently I cannot read the data from the tag using the Android app. I have tried many configurations to build the sensortag example on several CC2650STK boards:

  1. Building the stack and app; then downloading the stack and app with CCS
  2.  Building the BIM (bim_extflash), stack and app; then downloading the BIM, stack and app with  CCS
  3. Building all with CCS: the stack and app; then combining the hex images with the hexmerge.py script and flashing the super hex with Flash Programmer 2.
  4. Building all with CCS: the BIM, stack and app; then combining the hex images with the hexmerge.py script and flashing the super hex with Flash Programmer 2.

After all, I still cannot make the sensortag example work. What I am missing there? Additionally what should be the functionality of the sensortag example? From the code it looks like it should do similar things as the app which is contained in the pre-built firmware image (cc2650stk_sensortag_rel.hex). Is that correct? Is there a source code for the app and stack from cc2650stk_sensortag_rel.hex?

P.S. While building, debugging and flashing I do not experience any errors. 

P.P.S. I managed to make other examples kind of work, e.g. sensortag_audio (at least the tag enters the advertisement mode and I can connect to the tag with the Android app).