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

Bootloader shutdown after DFU instead of resetting

Hi ,

I am using the secure bootloader example (SDK 15) as a template for my DFU solution. 

I am experiencing issue with the update process as the device shuts down after the update instead of reset. 

I tried to debug and saw that it reach the function bootloader_reset and run the NVIC_SystemReset function however it then shutdown. 

I am using a LDO for the voltage regulation in the circuit and initially i thought that it is related however i am using an app on the board that uses the same function to reset in order to go to the bootloader and that works fine. 

 

I verified it with the example in the SDK  without changes as well as my modified version. 

Please assist as i dont have any solid lead here.

 thanks in advance, 

Ibrahim

Parents
  • I tried to debug and saw that it reach the function bootloader_reset and run the NVIC_SystemReset function however it then shutdown. 

     There is no shutdown feature in nRF chips, the closest is the System OFF mode and calling NVIC_system reset should not make it go into that mode. Are you sure that this behavior happens due to the call NVIC_SystemReset? I highly doubt it.

Reply
  • I tried to debug and saw that it reach the function bootloader_reset and run the NVIC_SystemReset function however it then shutdown. 

     There is no shutdown feature in nRF chips, the closest is the System OFF mode and calling NVIC_system reset should not make it go into that mode. Are you sure that this behavior happens due to the call NVIC_SystemReset? I highly doubt it.

Children
Related