nrf5340 ncs USB+DFU mcuboot_menuconfig

The MenuConfig page of SEGGER IDE (ncs1.9.1):

How should I configure this interface if I want to configure usb DFU and trigger upgrade mode via button: 1.boot_usb_dfu\Use gpio to detect whether to trigger dfu mode ,or   2.MCUBOOT_SERIAL\BOOT_SERIAL_DEVICE\BOOT_SERIAL_CDC_ACM  . Or check both of them. What's the difference between them? Because I think CDC ACM is a kind of USB. Do trigger GPIO need to be configured with the same pin?

Parents
  • Hi,

    There are some samples that might be useful. You could take a look at SMP Server Sample and USB DFU Sample in the documentation.
    SMP server sample requires MCUboot. When SMP server is running and mcumgr is  used for communication, DFU can be tested for both Bluetooth and UDP.
    USB DFU sample also uses MCUboot and is dependent on DFU image manager and partition layout.

    Best regards,
    Dejan

  • Thank you very much for your help. As you can see, picture 1 in question contains USB DFU and picture 2 contains CDC ACM. I would like to know the difference between them, or I need to select both of them if I want to configure USB DFU.

    And how can i use command "mcumgr" in windows10 system,  that command does not appear to exist in windows cmd.exe.

    Can I download and use command “mcumgr” directly on Windows?

    go get github.com/apache/mynewt-mcumgr-cli/mcumgr 
Reply
  • Thank you very much for your help. As you can see, picture 1 in question contains USB DFU and picture 2 contains CDC ACM. I would like to know the difference between them, or I need to select both of them if I want to configure USB DFU.

    And how can i use command "mcumgr" in windows10 system,  that command does not appear to exist in windows cmd.exe.

    Can I download and use command “mcumgr” directly on Windows?

    go get github.com/apache/mynewt-mcumgr-cli/mcumgr 
Children
Related