Hi Nordic Team,
I am using board PCA10040 wtih nRF52832 SDK 11.
I have Added DFU code to ble_app_hrs_freertos example.
Once I will go for DFU from nrf Mobile Application, nRF board is not jumping to bootloader.
I am using Default Bootloader and softdevice.
I have Tested the DFU without FreeRTOS, DFU is working good.
Please let me know what is the issue in FreeRTOS example for DFU. Is it any Open issue regarding DFU in FreeRTOS ?
Please Let me know ASAP.
there are some known issues with freeRTOS and DFU in SDK v11.0.0, see the EDIT 6/5-16 : Added "buttonless" example based on SDK 11.0.0 (production) in this answer.
Thanks for the Information on Updated code.
I have downloaded nRF5_SDK_11.0.0_freertos_dfu_060516.zip file and I tried to do DFU, its working good.
Now, I am trying to add NUS service in it. But after compile and flashed, I am not able to see any of the Advertising behavior.
I don't know what is gone bad, Please let me know if you have done NUS in nRF5_SDK_11.0.0_freertos_dfu_060516.zip this code.
I have Added diff file of NUS service in nRF5_SDK_11.0.0_freertos_dfu_060516.zip.
But, I am not able to see the advertising behavior. even I am not able to see any of the print in console.
Please let me know if I am missing anything.
Can you debug the project and set a breakpoint in app_error_handler_bare() in app_error.c? If the breakpoint is hit, then take a look at the call stack to see where the error came from and report it here.
For the PCA10028 51822QFAC also have this problem, how to slove?