Installed nrfutil with python 3.8 and pip3 20.0.2 on Windows 10
Trying to run dfu over usb-serial:
nrfutil dfu usb-serial -pkg FW.zip -p COM4 -b 115200
I get the following error:
Traceback (most recent call last):
File "nordicsemi_main_.py", line 1464, in
File "click\core.py", line 764, in call
File "click\core.py", line 717, in main
File "click\core.py", line 1137, in invoke
File "click\core.py", line 1137, in invoke
File "click\core.py", line 956, in invoke
File "click\core.py", line 555, in invoke
File "nordicsemi_main_.py", line 1001, in usb_serial
File "nordicsemi_main_.py", line 956, in do_serial
File "nordicsemi\dfu\dfu.py", line 121, in dfu_send_images
File "nordicsemi\dfu\dfu.py", line 90, in _dfu_send_image
File "nordicsemi\dfu\dfu_transport_serial.py", line 203, in open
AttributeError: 'exceptions.ImportError' object has no attribute 'strerror'
[33728] Failed to execute script main
I find it a bit odd that I would be seeing an ImportError, and not an OSError or something that would indicate a serial failure. Unfortunately the bare except is keeping me from seeing what the offending import is.