My environment:
- HW
- Macbook Pro Laptop
- nRF Dongle
- SW
- macOS: 12.4 (Monterey)
- Python: 3.10.5
Today, I installed nrfutil successfully by the command below:
pip3 install --ignore-installed six nrfutil
And I'm trying to DFU my device through a Nordic Dongle (connect to my Macbook Pro by a Type-C to USB adapter),
But when I run the command below:
nrfutil dfu ble -ic NRF52 -pkg tag_tb1_lib12_c_fw_dfu_v22.07.1.3.zip -n "LS_DFU" -f
There is an error occurred,
wanghao@Wangs-MBP-2020 tag-tools % nrfutil dfu ble -ic NRF52 -pkg tag_tb1_lib12_c_fw_dfu_v22.07.1.3.zip -n "LS_DFU" -f
Please select connectivity serial port:
0 : /dev/tty.usbmodemC521843F642E2 - C521843F642E
Enter your choice: : 0
Flashing connectivity firmware...
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/bin/nrfutil", line 33, in <module>
sys.exit(load_entry_point('nrfutil==6.1.5', 'console_scripts', 'nrfutil')())
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/click/core.py", line 1657, 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 1657, 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 1404, 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 760, in invoke
return __callback(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nordicsemi/__main__.py", line 1197, in ble
dfu = Dfu(zip_file_path=connectivity_firmware,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nordicsemi/dfu/dfu.py", line 69, in __init__
self.manifest = Package.unpack_package(zip_file_path, self.unpacked_zip_path)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/nordicsemi/dfu/package.py", line 630, in unpack_package
raise PackageException("Package {0} not found.".format(package_path))
nordicsemi.dfu.package.PackageException: Package /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pc_ble_driver_py/hex/sd_api_v5/connectivity_4.1.2_usb_with_s132_5.1.0_dfu_pkg.zip not found.
I have checked the directory below:
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pc_ble_driver_py/hex/sd_api_v5/
The file named "connectivity_4.1.2_usb_with_s132_5.1.0_dfu_pkg.zip" does not exist, but there is a file named "connectivity_4.1.4_usb_with_s132_5.1.0_dfu_pkg.zip"?
I'm not sure is it a bug? or something wrong?
