Firmware update with serial interface nrf9160

Hi,

We're using the nrf9160 SoC for our application and we need a way to program both the modem and microprocessor during production. In development we've used a JLink with a JTAG interface to program the modem and processor, but we've read it is recommended to use a serial connection in production. We could use some help implementing this. This is what we currently did:

Firstly, the flash is partitioned to to include a space for the MCUBoot bootloader

Then the MCUBoot config is added to prj.conf:

 

CONFIG_BOOTLOADER_MCUBOOT=y

This should enable the bootloader. Then, to flash the firmware mcumgr is used:

mcumgr image upload app_update.bin --conntype=serial --connstring="dev=COM5,baud=115200"

But the update is never started and is stuck on 0 B:

We've also tried to hold down the reset button before starting the update. What are we missing?

Parents Reply Children
No Data
Related