Error message using nRF Connect DFU Programmer

I have used the Programmer previously with success. I am attempting to program the Dongle (10059) with a slightly modified version of ble_nusc_usb_dongle. Although it claims to have completed successfully in 14 seconds, it halts with an error message in red in the log. Also I note that the memory map shown in the Programmer does not change.

0:09:18.298
Hash is generated by SHA256
10:09:18.303
Performing DFU. This may take a few seconds
10:09:29.455
Getting serial port options from the persistent store for C5946A55E568.pc-nrfconnect-programmer
10:09:29.456
Wait For Device was successful
10:09:29.851
Getting serial port options from the persistent store for C5946A55E568.pc-nrfconnect-programmer
10:09:32.407
All dfu images have been written to the target device
10:09:33.136
Getting serial port options from the persistent store for C5946A55E568.pc-nrfconnect-programmer
10:09:33.136
Wait For Device was successful
10:09:33.550
Getting serial port options from the persistent store for C5946A55E568.pc-nrfconnect-programmer
10:09:34.053
Error when fetching device versions: Error: Failed with exit code 1. One or more set mcu state tasks failed: * C5946A55E568: No matching plugin found for operations to execute, code: UnsupportedDevice. Message: Failed to set mcu state on C5946A55E568, No matching plugin found for operations to execute.
Parents
  • Hello,

    What kind of USB device does the dongle enumerate as if you unplug and reinsert it after the upload is complete? Does it indicate if the update was successful or not? I don't reckognize the error message at the end (the full message is not shown either).

    Best regards,

    Vidar

  • It enumerates as USB CDC, but that may be what it was previously programmed.

    Device Descriptor:
    bcdUSB:             0x0200
    bDeviceClass:         0x00
    bDeviceSubClass:      0x00
    bDeviceProtocol:      0x00
    bMaxPacketSize0:      0x40 (64)
    idVendor:           0x1915
    idProduct:          0x521A
    bcdDevice:          0x0100
    iManufacturer:        0x01
    0x0409: "Nordic Semiconductor"
    iProduct:             0x02
    0x0409: "nRF52 USB CDC BLE Demo"
    iSerialNumber:        0x03
    0x0409: "C5946A55E568"
    bNumConfigurations:   0x01

    Let's try again for the full text of the error message. I have inserted a newline after each colon, since this web interface doesn't seem to handle automatic line wraps gracefully.

    09:20:06.034    Error when fetching device versions:
     Error:
     Failed with exit code 1. One or more set mcu state tasks failed:
     * C5946A55E568:
     No matching plugin found for operations to execute, code:
     UnsupportedDevice. Message:
     Failed to set mcu state on C5946A55E568, No matching plugin found for operations to execute.

  •  Failed to set mcu state on C5946A55E568, No matching plugin found for operations to execute.

    Thanks. This makes sense if you're reconnecting to the dongle after updating it with the NUS demo as the app does not have any plugin to interface with this type of device. The error would not have occured if the new app had support for buttonless DFU (nRF5 SDK DFU), or MCUBoot.  

  • Please point me to a document showing how to add that functionality, as I'd like to have it in this and a couple other applications, one of which is in a large-scale pilot deployment.

  • What functionality, buttonless dfu support with nRF5 SDK bootloader?

  • I'm probably not asking the question correctly. For now I jsut need to be able to run the USB CDC demo without getting an error message every time I download new firmware, and with some confirmation that it loaded correctly.

Reply Children
No Data
Related