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

Application does not start after OTA DFU

Hi,

I am struggling to find out why my device will not immediately start my application after an OTA DFU upgrade.

I am using buttonless DFU on a custom nrf51822 board with soft device s130 and SDK10.0.0.

My application enters DFU fine and the application is loaded correctly. However, upon finishing DFU, the bootloader does not jump straight to the application. In order to get the application running I have to power cycle the device. This is not possible in the field and I was wondering how I could fix this?

Thanks in advance,

Parents
  • Hi Hung,

    1. I have modified the bootloader slightly to see my button and LED pins and to add an extra constraint on entering DFU mode in the first place. No code was modified after the DFU initiation.
    2. On the first time I do a DFU install it does enter directly, after this it does not.
    3. I see nothing after I finish DFU, no advertising or anything. I have tried to debug if it does jump to the application and from what I can tell it does not.

    Thanks,

Reply
  • Hi Hung,

    1. I have modified the bootloader slightly to see my button and LED pins and to add an extra constraint on entering DFU mode in the first place. No code was modified after the DFU initiation.
    2. On the first time I do a DFU install it does enter directly, after this it does not.
    3. I see nothing after I finish DFU, no advertising or anything. I have tried to debug if it does jump to the application and from what I can tell it does not.

    Thanks,

Children
Related