栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

macOS上安装nrfutil

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

macOS上安装nrfutil

在mac上安装nrfutil

macOS版本已经为12.4的Monterey

python3 -V

显示python版本为3.10.5。

参考文档:https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrfutil%2FUG%2Fnrfutil%2Fnrfutil_intro.html

pip3 install --ignore-installed six nrfutil

执行命令

nrfutil --help


貌似OK了

执行

nrfutil dfu ble --help

试着dfu一把

nrfutil dfu ble -ic NRF52 -pkg tag_tb1_lib12_c_fw_dfu_v22.07.1.3.zip -n "LS_DFU" -f


输入0,回车。

居然报错了!错误日志: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.?

Google了一圈,最终在DevZone找到了一篇帖子。说是要把-f参数去掉,改为:

nrfutil dfu ble -ic NRF52 -pkg tag_tb1_lib12_c_fw_dfu_v22.07.1.3.zip -n "LS_DFU"
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/1009435.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号