nRF Connect Dektop Application "Enable MCUBoot" button application

Hi Team,

I am using nRF5340 dev kit and NCS(Nordic connect SDK 2.0.2)for my DFU POC purpose. I want to perform DFU update of nRF5340 through nRF USB port instead of the interface MCU USB port.

I can do USB DFU using the command line utility "dfu-util". However, I want to perform USB DFU through NRF Connect desktop application.

So far I have tried through nRF programmer application(part of NRF connect Desktop application). From the nRF documentation, I found that we can update USB DFU-enabled devices using the nRF programmer through "Enable MCUboot". However, In my case, USB DFU-supported device shows up in the select device list with an unknown name.

Please find attached screenshots for more reference.

Image 1: nRF5340 connected through Jlink USB port(J2). The device flashed with USB DFU support firmware. On connection, we can able "write" a zip file to the device with "Enable MCUboot".

Image 2: nRF5340 connected through nRF USB port(J3). The device flashed with USB DFU support. On connection, the write option remains to disable with or without "Enable MCUboot".

Based on this, I have a few queries for the same.

1. What is the exact use case for the "Enable MCUboot" button in the nRFProgrammer application?

2. How to perform DFU of USB DFU supported nRF5340 using nRFProgrammer(Part of nRF Connect Desktop application)?

Best Regards,

Neel Oza

Parents
  • Hi Neel Oza,

    MCUboot and dfu-util are two different things, and the Programmer app does not use dfu-util. In order to be able to update the device through nRF USB in Programmer you must enable MCUboot in your application instead.

    See this example by a colleague of mine for how to get MCUboot over USB: MCUBoot Serial Recovery Sample over USB CDC.

    Best regards,

    Marte

  • Hi Marte,

    Thank you for your response.

    CDC ACM interface is already integrated in my existing application. The device is able to upgrade using Jlink serial using the mcumanager utility and Over nRF USB using dfu-utils. Both command line utility able to update over serial and USB respectively.

    However, as I mentioned earlier in my post, I am more curious about device update/flash using the nRF USB port through the NRF Connect Desktop application. Here are the basic question, I have for the Enable MCUboot and nRF connect desktop application.

    1. What is the exact use case for the "Enable MCUboot" button in the nRFProgrammer application?

    2. How to perform DFU of USB DFU supported nRF5340 using nRFProgrammer(Part of nRF Connect Desktop application)?

    Best Regards,

    Neel

Reply
  • Hi Marte,

    Thank you for your response.

    CDC ACM interface is already integrated in my existing application. The device is able to upgrade using Jlink serial using the mcumanager utility and Over nRF USB using dfu-utils. Both command line utility able to update over serial and USB respectively.

    However, as I mentioned earlier in my post, I am more curious about device update/flash using the nRF USB port through the NRF Connect Desktop application. Here are the basic question, I have for the Enable MCUboot and nRF connect desktop application.

    1. What is the exact use case for the "Enable MCUboot" button in the nRFProgrammer application?

    2. How to perform DFU of USB DFU supported nRF5340 using nRFProgrammer(Part of nRF Connect Desktop application)?

    Best Regards,

    Neel

Children
No Data
Related