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/CC2650STK: Problem running OOTB examples

Other Parts Discussed in Thread: CC2650STK, CC2640

Hi Marie,

I am currently working on validating the behavior of two example project from ble_sdk_2_02_01_18.

Project-1. TI\simplelink\ble_sdk_2_02_01_18\examples\cc2650stk\sensortag\ccs

Project-2. TI\simplelink\ble_sdk_2_02_01_18\examples\cc2650stk\simple_peripheral\ccs

we have followed the debug procedure as mentioned in the document swru393.

1. Set the stack project as the active project.

2. Select Project→ Build All to build the stack project.

3. Set the application project as the active project.

4. Select Project→ Build All to build the application project.

5. Select the stack project as the active project.

6. Select Run→ Debug to download the stack.

7. Select the application project as the active project.

8. Select Run→ Debug to download the application.

we are able to see the simple-peripheral(Project-2) sensortag device from RPi. With same compiler, we have tried to test the sensortag(Project-1) , but RPi could not able to see the sensortag device at all.

Also we have installed the TI ARM Compiler v. 5.2.6 and cleaned all the projects and repeated same work, but we are able to see same behavior (sensortag with Project-1 binaries)  is not working).

Then I have listed the running task from each of the project mentioned and found that task with priority-1 (i.e., application task) is not alive in the Project-1

  • For sensortag project, you will also need to program the BIM project, which can be found here : C:\ti\simplelink\ble_sdk_2_02_01_18\examples\util\bim_extflash\cc2640

    You can find the procedure in sensortag user's guide
    processors.wiki.ti.com/.../CC2650_SensorTag_User's_Guide
  • Hi Christin,

    Just Now, Even I have tried with bim_extflash project (i.e., 1.bim_extflash 2. stack 3. app), but it is clear that we are not able to see the sensortag from RPi. If that is the case, even simple_peripheral project also should not work right? but it is working even without bim_extflash binary.

    Regards,

    Gopi

  • Hi Christin,

    It was because of different compiler used by CCS instead of TI-ARM-compiler 5.2.6. After changing to the mentioned compiler and then cleaning the project and ensure binaries are compiled by TI-ARM-compiler 5.2.6 (check hex file properties of modified time of bim,stack, app), example program started working.

    we generated combined hex file using merge.bat (sensortag_cc2650stk_all.hex, sensortag_cc2650stk_app_stack_oad.hex) flashed sensortag_cc2650stk_all.hex via Flash programmer. Without debugger, changes are reflected in the binary and we are able to see the sensortag from RPi

    If we are debugging the compiled program, debugger is not stopping at any of the (include hardware) breakpoints as well as sensortag is not visible in RPI.

    Regards,

    Gopi