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

Getting error 0x0f while running two tasks parallelly on ble_app_hrs_freertos.

I have two tasks and I want to run those tasks one after the other.

currently when I comment on one of the task, the firmware running without any error.

if run those two parallelly I'm getting error APP_ERROR_HANDLER(NRF_ERROR_FORBIDDEN); error code 0xf.

Please suggest to me the proper method to run two tasks simultaneously.

Thanks in advance.

  • if run those two parallelly I'm getting error APP_ERROR_HANDLER(NRF_ERROR_FORBIDDEN); error code 0xf.

     Where did you get this error exactly? I mean what was the context and what was the function that returned this error?

  • I'm getting an error at  line number 43

  • vTaskStartScheduler should never have returned. Are you sure that two of your tasks are sucessfully created?

  • would help to show the code for  BLETASK and poll TASK as well

  • yes created successfully.

1 2 3