I'm working on MacOS 11 bigsur, and BBC microbit v2.2 (nfr52)
The specified serial port (/dev/tty.usbmodem14102) is correct and accessible.
python3.10
nrfutil 6.1.7
I encountered an issue while attempting to perform a Device Firmware Update (DFU) using the Nordic Semiconductor nRFutil tool. The update is being done over a USB serial connection using the following command:
nrfutil dfu usb-serial -pkg openhaystack.zip -p /dev/tty.usbmodem14102
However, during the update process, I received the following error messages:
`
openhaystack-zephyr % nrfutil dfu usb-serial -pkg openhaystack.zip -p /dev/tty.usbmodem14102
[------------------------------------] 0%2023-08-29 15:03:50,312 No trigger interface found for device with serial number: 990636020005282066217b1b4ded8f5e000000006e052820, Product ID: 0x204 and Vendor ID: 0xD28
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/bin/nrfutil", line 8, in
sys.exit(cli())
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/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 "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nordicsemi/main.py", line 988, in do_serial
dfu.dfu_send_images()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nordicsemi/dfu/dfu.py", line 127, in dfu_send_images
self._dfu_send_image(self.manifest.application)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nordicsemi/dfu/dfu.py", line 88, in _dfu_send_image
self.dfu_transport.open()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nordicsemi/dfu/dfu_transport_serial.py", line 217, in open
self.__get_mtu()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nordicsemi/dfu/dfu_transport_serial.py", line 366, in __get_mtu
self.mtu = struct.unpack('<H', bytearray(response))[0]
TypeError: cannot convert 'NoneType' object to bytearray
`