This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Freezing of RTOS Tasks when using BLE Nordic UART services over android Bluetooth

Hi Everyone,

I have successfully configured RTOS and BLE alog with onboard LEDs blinking into an RTOS code.

Everyhting runs fine if i run only the 4 tasks of LED blinking but the code freezes after a while of working when i put in a task of ble in which i am sending a char over BLE to android app nrfConnect.

Does anyone here have any idea ,what might be the reason to this problem?

Thanks 

Rajat!

  • Hello Rajat,

    It's not easy to say what the exact problem could be, but are you able to see the log outputs from NRF_LOG? If so, can you try to define DEBUG in your preprocessor defines and check the output from the log?

    If you don't see the log, are you able to debug your project? In that case, can you also define DEBUG and see if it stops in the error_handler?

     

    Best regards,

    Edvin

Related