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: Debug version of the SensorTag CC2650STK

Part Number: CC2650STK
Other Parts Discussed in Thread: CC2640, CC2650

Tool/software: Code Composer Studio

Where is the debug version of the SensorTag CC2650STK ?

Import a project give only the Active Flash-ROM version which is not running with the debugger.

  • Hi Shlomo, 

    You should be able to debug with the software available in the CC2650BLE-Stack package. Could you describe a bit further what you are doing?

  • Hi  Joakim,

    I downloaded the sensortag_cc2650stk folders again and I can run it now via the debugger.
    I think the first download was freeze when it reached 100% and I forced it to stop, which resulted in missing files.
    At this point, the Sensortag runs (with the App) only when the debugger is connected to the USB.
    I did the OTA Firmware Upgrade (via the App), but it is not running as stand-alone  (with the battery only).
    Can you send me directions?
    FYI: I use nRF52 and it works as stand-alone after programming the firmware via the JLINK debugger.
    Thanks,
    Solomon Argoetti 
  • After erasing the Flash using the 'Smart RF flash programmer 2',

    I use the below link to get a working project, 

    C:\ti\simplelink\ble_sdk_2_02_03_08\examples\cc2650stk\sensortag\ccs

    But the application is not running via the debugger and not working if I program the hex file via the  'Smart RF flash programmer 2'

    I look forward to getting directions ...

  • Hello Shlomo,

    Did you first download the BIM? Its all explained in the link above.

    In addition to the dual Application & Stack images, the SensorTag uses a Boot Image Manager (BIM) to facilitate firmware upgrades via OAD (Over-the-Air Download). The BIM must be programmed first and must be present before programming the Application and Stack images. In the SensorTag IAR project, the BIM workspace is included, however for CCS, the BIM must be explicitly imported into the workspace. Refer to the "CC2640 BLE OAD User's Guide.pdf" located in Documents folder of the BLE 2.2.x SDK for more details on the BIM and OAD.

  • I added the bim_intflash_cc2640r2lp to the project but when I run the sensortag_cc2650stk_app it goes to the Hwi_excHandler below 
    Void Hwi_excHandler(UInt *excStack, UInt lr)
    {
        //return;
        Hwi_module->excActive[0] = TRUE;

        /* spin here if no exception handler is plugged */
        while (Hwi_excHandlerFunc == NULL) {
    ;
        }
        Hwi_excHandlerFunc(excStack, lr);
    }
    There are no clear directions about the BIM for the  sensortag_cc2650stk_app  , can you please direct me to the documentation for this type of board? 
  • Hi

    You need to have BIM, STACK and APP CCS projects at your wokspace. Rebuild all and make sure hex file generation is enabled. Then using Smart RF Flash Programmer 2, select the hex files in the order of BIM, STACK, APP. After that flash the hex files by click the program button. After that you can CCS debug the app project.

    -kel

  • Hi All,

    In debug mode, does the BIM hex is required?

    Each project has the app and the stack_library, what is the sequence to download and run the app in debug mode (with breakpoints)?

    Where is the  BIM project to generate the BIM hex file for the  SensorTag CC2650STK ?

    Is it the right FLASH programming sequence ( using Smart RF Flash Programmer 2)?

    1. Erase FLASH

    2. program SensorTag CC2650STK BIM hex file

    3. program BLE stack_library hex file

    4. program app  hex file

  • Hi Shlomo,

    The bim_extflash is located at \\src\examples\util\bim_extflash\cc2640. Refer to "Building the SensorTag Firmware" at this wiki http://processors.wiki.ti.com/index.php/CC2650_SensorTag_User%27s_Guide

    I do not have the CC2650 SensorTag HW to verify the procedure again. You should have these below at your CCS workspace

    bim_extflash, sensortag_cc2650stk_app, sensortag_cc2650stk_stack.

    -kel 

  • Hi All,

    I would like to thank you all.

    I can run now the debug and standalone 'SensorTag CC2650STK' application.

    Solomon Argoetti