Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

NICLA SENSE ME (nRF52832) Undefined Behavior in Bootloader

HI,

Following is the procedure to flash application we have tried:

  1. Mass Erase
  2. Write bootloader start address
  3. Flash soft device
  4. Flash bootloader 
  5. Flash application 

The application loads perfectly when we follow the above procedure. I can re-flash application / bootloader when the board is on with application running.

We have implemented push button press to switch to boot mode. Once the board switches to boot mode, that is with ble_dfu_bootloader and if I try to flash application or re-flash the bootloader itself the bootloader crashes with signal interrupt.  The signal interrupt is randomly getting generated in bootloader. 

A reference screenshot is given below.

Also observed that, an led is kept ON to indicate boot mode. That led keeps glowing even if i flash application or re-flash bootloader. Button press is configured as interrupt, that also does not work in this scenario. The only way to get out is power cycle the board.

But if I power cycle the board, the recently flashed application get loaded successfully. 

Any suggestion would be really appreciated. Thanks.

Regards,

Ijaz  

Related