Jumping to Bootloader failed.

Rudra Sagar gravatar image

asked 2017-05-19 08:03:07 +0100

updated 2017-05-19 14:58:12 +0100

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.

NOTE: 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.


edit retag flag offensive close delete report spam

1 answer

Sort by » oldest newest most voted
bjorn-spockeli gravatar image

answered 2017-05-19 10:36:43 +0100

Hi Rudra,

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.

Best regards


edit flag offensive delete publish link more


Hi Bjorn,

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.

Thanks, Rudra Sagar

Rudra ( 2017-05-19 12:56:35 +0100 )editconvert to answer

Hi Bjorn,

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.

Thanks, Rudra sagar

Rudra ( 2017-05-19 14:59:25 +0100 )editconvert to answer

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.

Bjørn Spockeli ( 2017-06-06 16:04:57 +0100 )editconvert to answer

Hi Bjorn, For the PCA10028 51822QFAC also have this problem, how to slove?

fzlee ( 2017-07-09 09:17:47 +0100 )editconvert to answer

The issues should be addressed in this answer.

Bjørn Spockeli ( 2017-07-10 10:53:42 +0100 )editconvert to answer

But that answer is for board PCA10040 with nRF52832 , it's the same issue with 51822? I'm using SD130 v2.00 with SDK11.0. Thanks in advance.

fzlee ( 2017-07-10 14:09:52 +0100 )editconvert to answer

Yes, the source code fixes should be applicable to the nRF51 as well. However, I recommend that you move to the latest SDK version, i.e. v12.2.0 where many of the FreeRTOS issues have been fixed.

Bjørn Spockeli ( 2017-07-10 16:20:48 +0100 )editconvert to answer

No, I've tried it and can not work, I use keil 5.23 . There's no freeRTOS with dfu project in SDK12.3.0. Can you send me a project use FreeRTOS with dfu for 51822QFAC. Our product need to be massed production in September.

fzlee ( 2017-07-10 16:47:39 +0100 )editconvert to answer

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

User menu

    or sign up

Recent questions

Question Tools

1 follower


Asked: 2017-05-19 08:03:07 +0100

Seen: 96 times

Last updated: mai 19 '17