Fail to upgrade nRF52840 dongle via USB (MSD issue?)

Hello

I am trying to upgrade a nRF52840 dongle via USB but it fails every time. I tried with my Ubuntu laptop and with a Raspberry pi 4 with same failure. 

nrfutil dfu usb-serial -pkg zephyr.zip -p /dev/ttyACM0
[##############----------------------] 40% 00:00:43
Traceback (most recent call last):
File "/home/pi/.local/bin/nrfutil", line 8, in <module>
sys.exit(cli())
File "/usr/lib/python3/dist-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/pi/.local/lib/python3.9/site-packages/nordicsemi/__main__.py", line 1032, in usb_serial
do_serial(package, port, connect_delay, flow_control, packet_receipt_notification, baud_rate, serial_number, False,
File "/home/pi/.local/lib/python3.9/site-packages/nordicsemi/__main__.py", line 988, in do_serial
dfu.dfu_send_images()
File "/home/pi/.local/lib/python3.9/site-packages/nordicsemi/dfu/dfu.py", line 127, in dfu_send_images
self._dfu_send_image(self.manifest.application)
File "/home/pi/.local/lib/python3.9/site-packages/nordicsemi/dfu/dfu.py", line 100, in _dfu_send_image
self.dfu_transport.send_firmware(data)
File "/home/pi/.local/lib/python3.9/site-packages/nordicsemi/dfu/dfu_transport_serial.py", line 301, in send_firmware
response['crc'] = self.__stream_data(data=data, crc=response['crc'], offset=i)
File "/home/pi/.local/lib/python3.9/site-packages/nordicsemi/dfu/dfu_transport_serial.py", line 474, in __stream_data
response = self.__calculate_checksum()
File "/home/pi/.local/lib/python3.9/site-packages/nordicsemi/dfu/dfu_transport_serial.py", line 412, in __calculate_checksum
raise NordicSemiException('Did not receive checksum response from DFU target. '
pc_ble_driver_py.exceptions.NordicSemiException: Did not receive checksum response from DFU target. If MSD is enabled on the target device, try to disable it ref. https://wiki.segger.com/index.php?title=J-Link-OB_SAM3U

The upgrade starts only if I keep the RESET button pressed and kick the upgrade while I release the RESET button. Then it randomly stops and the error above is shown.

I don't understand why the MSD could be an issue as there is not Segger JLink hardware in the dongle, right?

Could you please help?

Thank you

Parents Reply Children
No Data
Related