Hi,
I have a problem using Secure DFU Bootloader available in SDK 12.1 on nRF51822_xxAA SoC.
Initilaly i was using nRF51 DK board and Secure Bootloader example in SDK 12.1. I fallowed instruction on Nordic InfoCenter. I compiled project in Keil uVision 5 and downloaded secure dfu bootloader to SoC. Then i created zip with new program and uploaded it with nRF Connect application on Android System. Everything worked properly.
Next i wanted to program external custom board with nRF51822_xxAA SoC. On this board there is lack of external LFCLK cristal source. So to initilize correct the SoftDevice S130 i create custom_board.h and change NRF_CLOCK_LFCLKSRC to Synthesized LFCLK from HFCLK.
#define NRF_CLOCK_LFCLKSRC {.source = NRF_CLOCK_LF_SRC_SYNTH, \
.rc_ctiv = 0, \
.rc_temp_ctiv = 0, \
.xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_250_PPM}
I compiled program and downloaded it to nRF51822_xxAA SoC. And then start the problem. The SoC in secure bootloader mode wasn't advertising. When i start Debug in Keil uVision, the program go instantly to