Bootloader MCUBoot and dfu serial

I managed to setup a Demo App on the base on zephyr that uses MCUBoot as bootloader in multi image build, using the nRF Connect SDK.

Upload via SMP DFU with mcumgr is working.

But I would like to use nrfutil dfu  protocol via serial/uart. I found several CONFIG flags but none worked for me.

Any suggestions what CONFIG is missing or did I need to choose a other bootloader, the open_bootloader?

I'm using the nRF52 DK (PCA10040), nrf52dk_nrf52832.

I used this MCUBoot config child_image/mcuboot.conf

Fullscreen
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Kind regards,

Matthias

Parents
  • Hi, 

    Try to add the following config into child_image/mcuboot.conf:

    CONFIG_USB_DEVICE_VID=0x1915
    CONFIG_USB_DEVICE_PID=0x5300

    -Amanda H.

  • Thank you for answering. But maybe I missed some points for details. I tried to use the nrfutil dfu via serial, no USB.

    I'm using a FTDI 3V3 UART converter.

    Maybe you have also some comments.

    Kind regards,

    Matthias

  • Hi, 

    From the team, the nRF Util currently only supports known Nordic kits/samples like thingy:53 etc for DFU updates via UART. We are working to support more use cases in the next release. Sorry for the inconvenience. 

    -Amanda H.

  • Hi,

    so it's possible to use the "old" nrf sdk DFU in the new nrfconnect MCUboot bootloader. That support the SMP DFU protocol and the nrf DFU? It's only not possible to test with the command line tool?

    Kind regards,

    Matthias

  • Hi, 

    MatthiasJ said:
    so it's possible to use the "old" nrf sdk DFU in the new nrfconnect MCUboot bootloader. That support the SMP DFU protocol and the nrf DFU?

    The current nRF Util can support only known Nordic kits/samples like thingy:53. 

    MatthiasJ said:
    It's only not possible to test with the command line tool?

    No, nRF Command Line Tool cannot support updating DFU. 

    -Amanda H.

  • Hi,

    my question was more about the MCUBoot and not the nRF Util.

    Does the MCUBoot support also the "old" nrf sdk DFU protocol. So that its behaving like the bootloader examples from the nrf sdk 17 or older?

  • Hi,

    MatthiasJ said:
    Does the MCUBoot support also the "old" nrf sdk DFU protocol.

    The mcuboot doesn't support the nRF5 SDK DFU protocol. Their roles are the same, but they are different protocols. The nRF5 SDK bootloader cannot support SMP DFU, and the mcuboot cannot support nRF5 SDK DFU. 

    -Amanda

Reply
  • Hi,

    MatthiasJ said:
    Does the MCUBoot support also the "old" nrf sdk DFU protocol.

    The mcuboot doesn't support the nRF5 SDK DFU protocol. Their roles are the same, but they are different protocols. The nRF5 SDK bootloader cannot support SMP DFU, and the mcuboot cannot support nRF5 SDK DFU. 

    -Amanda

Children
No Data