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.

cc2650 continuous advertising

Other Parts Discussed in Thread: CC2650, CC2640

How to advertise continuous using cc2650 instead of just advertising for some time. What are the things that should be changed in the sensor tag.c file

  • Change "#define DEFAULT_DISCOVERABLE_MODE GAP_ADTYPE_FLAGS_LIMITED" in SensorTag.c to "#define DEFAULT_DISCOVERABLE_MODE GAP_ADTYPE_FLAGS_GENERAL"
  • what about the advertising interval . should it remain 100 ms
  • and should the desired connection timeout be set to 0 rather that 100
  • I don't think you have to change advertising interval and desired connection timeout.
  • Hello
    whlie debugging it says there are these two errors main() at main.c:63 0x000094B0 and _c_int00() at boot.asm:254 0x00007F18 (_c_int00 does not contain frame information. When I check the first one it highlights the line PIN_init(BoardGpioInitTable); in main.c . and for the second error it highlights BITS [23:22] - CP11, [21:20] - CP10 in boot.asm . what should I do now
  • You can only debug application code not CC26xxware driver code.
  • at first we must build and debug the BIM_extflash project before the application project right? and when I debug it I have two errors again main() at bim_main.c:512 0x0001F44C and this takes me to
    void main(void)
    {
    // In case an imaged is flashed via debugger and no external image check should
    // be made, define NO_COPY.
    #ifdef NO_COPY
    Bim_checkImages();
    #endif //NO_COPY

    // Load address of reset function from the fixed location of the image's
    // reset vector and jump.
    asm(" MOV R0, #0x1014 ");
    asm(" LDR R0, [R0] ");
    asm(" BX R0 ");
    where asm(" MOV R0, #0x1014 "); is highlighted stating there is an error
  • Hello,

    You should only need to load the BIM once. Please see the OAD guide included in the Documents folder in the location where you installed the BLE stack.
  • hello sean
    I am not able to load the BIM . During debug it shows two errors that i have stated above
  • and while debugging should one remove the battery from the sensor tag or not . I am using a debug devpack
  • I generally remove the battery when debugging, there is a switch to protect against a power collision, but there are times that I believe the debugger can get into a bad state, so to avoid this I generally pop the battery out before debugging and use usb power.

    In terms of your other issue. What is your end use case? Are you trying to add OAD functionality to a project? What project is your code based off of?
  • Hi Shivaraman,

    What main() of the BIM is supposed to do is, to copy available new image(s) from the off-chip flash memory to the on-chip flash memory if any and to jump to the application. If there is no valid application code in either flash memory, the behavior will become unpredictable. Was there a valid application image when you were debugging the BIM?
    Also, please note that the off-chip flash memory on the SensorTag is not usable when debug interface is active because one of the SPI signals for the off-chip flash is multiplexed with one of the debug signals on that board.

    - Cetri

  • hello sean

    I would like the cc2650 to advertise continuously. I have bought a new sensor tag and I want it to advertise it continuously. What are the steps I ll have to do to make it advertise continuously. is there a software development guide for cc2650 . I find it only for cc2640. I refered to cc2650 sesnortag user guide.

    1. Open/Import the SensorTag project in IAR or CCS 1. CCS Only: Import the BIM_extflash project

    2. Build & download the BIM_extflash project
    3. Build & download the Application project
    4. Build & download the Stack project

    Theses are the steps that were given . I imported the BIM I am able to build it but I am not able to download it. when I download it shows the error as I stated above