nf52 fota

Hi,

I'm trying to run some example with ble fota

I've read

http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf52.html#fota-upgrades

and 

http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html#smp-svr-sample

I did the following steps in my repository

C:\NRF_Connect\v1.7.1> west build -b nrf52dk_nrf52832 -d build_mcuboot bootloader/mcuboot/boot/zephyr
C:\NRF_Connect\v1.7.1> west flash -d build_mcuboot

C:\NRF_Connect\v1.7.1\zephyr> west build -b nrf52dk_nrf52832 samples/subsys/mgmt/mcumgr/smp_svr -- -DOVERLAY_CONFIG=overlay-bt.conf -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE=\"bootloader/mcuboot/root-rsa-2048.pem\"
C:\NRF_Connect\v1.7.1\zephyr> west flash --bin-file build/zephyr/app_update.bin

Like You can see above I'm using nrf52dk_nrf52832 and the newest sdk version.

After flashing nrf52dk, it looks like bootloop... 

I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
I: Bootloader chainload address offset: 0xc000
▒*** Booting Zephyr OS build v2.6.99-ncs1-1  ***
*** Booting Zephyr OS build v2.6.99-ncs1-1  ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
I: Bootloader chainload address offset: 0xc000
▒*** Booting Zephyr OS build v2.6.99-ncs1-1  ***
*** Booting Zephyr OS build v2.6.99-ncs1-1  ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
I: Bootloader chainload address offset: 0xc000
▒*** Booting Zephyr OS build v2.6.99-ncs1-1  ***
*** Booting Zephyr OS build v2.6.99-ncs1-1  ***
I: Starting bootloader
I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
I: Boot source: none
I: Swap type: none
I: Bootloader chainload address offset: 0xc000
▒*** Booting Zephyr OS build v2.6.99-ncs1-1  ***

What am I doing wrong?

Related