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

How to add bootloader to device

Hi all,

I am started my project using the softdevice S130 v2.0.1 and the ble_app_uart example(SDK11) on a custom board with the nRF51822. I had to made some changes for the clock source because of the custom board, but I am able to connect to the device with the SD+app.

I wanted for the next step include the Bootloader so the device can be updated via DFU. For the bootloader I started with the example single_bank_serial_s130 from SDK11.

But when I load the 3 parts (SD+app+BL) the device doesn't advertise.

I had to made the same changes on the clock on the bootloader code, but I am still not able to connect to the device after loading the bootloader.

I thought it was the IRAM settings as I posted this question, but this seems to not being the case.

1- How should I debug this, start the debug session with the app code?

2- Do i need to press any button to go for the app?

3- Do I need to add something more to the bootloader?

Edit 1:

I tested everything on the DK51 board and when I load the bootloader the app stops advertising. Is there any specific order to load the parts (BL, SD and app)?

The bootloader example using single bank should work without any change on the DK51 board, correct?

Related