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

Start dfu bootloader from MBR

On my own board based on 51822, I developped an HTS-like application with SD8.0.0.

Now, I would like integrate the DFU bootloader.

I follow the "Running the BLE bootloader example" .

Programming the DFU bootloader

  1. Erasing the device OK

  2. Program the SoftDevice OK

  3. Compile the project dfu_dual_bank_ble_s110_pcaNNN OK NNN is my board with 1 led and 1 button

  4. Select ... (I don't use Keil, but eclipse, arm-gcc toolchain and cygwin as dev environment) NO IN MY CASE

  5. Program the DFU bootloader. OK

Updating the device firmware

  1. Create a firmware file or use one provided within example POSTPONED

  2. Make sure that you are using Master Control Panel v3.8 or later. OK (3.10.0.14)

  3. Start the device in bootloader mode. FAILED

As there is no existing application on the device, the device should be started in bootloader mode.

This step fails...

My checks are:

  • UICR in 0x10001014 is programmed with 0x0003C000

  • the debugger doesn't stop on the main() breakpoint.

Have you an idea what happens ?

Thanks for your support !

Related