case about nRF5340 DFU

Hi,

1.In ncs v3.0.0, can both USB DFU and UART DFU be enabled simultaneously on the nRF5340 DK board?
2. If USB and UART DFU can be enabled simultaneously, then how should they be configured?
3. The following example has been tested and can support BLE DFU,UART DFU and USBDFU, but cannot support both USBDFU and UART DFU simultaneously. How should it be modified to support both USBDFU and UART DFU simultaneously?

1_peripheral_lbs_dfu.zip

Kind regards,
Peter.Min

Parents
  • Hi Peter, 

    I haven't tried but as far I know it should be possible to have dual transport to do MCUMGR DFU.

    Which error do you have when you try to do dual USB + UART ? 

    I looked at the sample and saw you used CONFIG_MCUMGR_TRANSPORT_USB=y . But as far as I know this configuration doesn't exist. 
    I assume it's CONFIG_BOOT_SERIAL_CDC_ACM=y that what decide if USB should be supported or not. 

    Please let us know the issue when you try both UART and USB CDC ACM. 

Reply
  • Hi Peter, 

    I haven't tried but as far I know it should be possible to have dual transport to do MCUMGR DFU.

    Which error do you have when you try to do dual USB + UART ? 

    I looked at the sample and saw you used CONFIG_MCUMGR_TRANSPORT_USB=y . But as far as I know this configuration doesn't exist. 
    I assume it's CONFIG_BOOT_SERIAL_CDC_ACM=y that what decide if USB should be supported or not. 

    Please let us know the issue when you try both UART and USB CDC ACM. 

Children
No Data
Related