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.

RTOS/LAUNCHXL-CC2650: BIOS_start() only works when debugging

Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650

Tool/software: TI-RTOS

Hi all,

I'm working with the simple_peripheral example (and other examples) from ble_sdk_2_02_00_31 using IAR Embedded Workbench.

My issue is that all interrupts/task functions/callback functions that occur after BIOS_start() is called only work when debugging in IAR, and not when flashed to my CC2650 LaunchPad using SmartRF Flash Programmer 2.

Everything within main() BEFORE calling BIOS_start() works, but after that it seems as if the board is totally asleep. Everything works well when debugging.

Any advice would be greatly appreciated :)

  • Hello Adam,

    Have you completed the check items from the HW bring up guide listed on the TI BLE Wiki? What is the current consumption when the board is 'totally asleep'? Does it advertise when the debugger is attached and on system power?

    Best wishes
  • Hello JXS,

    Thank you for replying!

    1. I have completed the check items on the TI BLE Wiki (I assume this means the steps here: processors.wiki.ti.com/.../CC2650_LaunchPad_User's_Guide_for_Bluetooth_Smart

    2. I'm unable to measure the sleep current at the moment, because my multimeter does not even detect any current. I will measure it with some proper equipment and post again soon.

    3. Yes, it does advertise when the debugger is attached. While debugging, I have been able to connect to my advertising LaunchPad using the TI SensorTag app.

    Also, all of the examples in the \simplelink\ble_sdk_2_02_00_31\examples\cc2650lp\ directory exhibit the same issue: All work fine when debugging, not when flashed.
    When flashing the LaunchPad using SmartRF Flash Programmer 2, I flash the stack and then app hex files, and everything works (e.g. I can flash the LEDs) until the point that BIOS_start() is called.
  • Hi AdamLB,

    Why do you know your device go to sleep? I dont think BIOS_start have any problem.

    Can You enable to blink a gpio (Led) in simple_peripheral task to check the status of RTOS continuously ? If led doesn't blink, it means there is a problem to make the suspensed RTOS.