nrfutil / flashing firmware to Nordic chips

未关闭
#1,795 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
python

调研方向

从 nRF52 dongle 帮助页面 [1] 以及其中链接的 nrfutil 参考资料 [2]-[4] 开始。确定现有工具是否能够生成可用的 DFU 镜像,以及应由哪个 NuttX 工作流负责刷写该镜像。完成的标准是确定一条可复现的 DFU 路径,或者记录相关限制并相应更新帮助页面。

由索引模型根据 Issue 内容生成。

描述

This is an issue to note DFU firmware flash possibility to Nordic Chips (like nRF52) as noted in https://github.com/apache/nuttx-apps/pull/1794#issuecomment-1591769020 when @raiden00pl provided USB Console patch.

  • Our help page [1] states that flashing is not possible without a debug probe. This could be done over DFU with nrfutil [2] [3].. at least not that long ago.. when dongle is plugged to USB port RESET switches it to DFU mode :-)
  • Nordic abandoned development of the Open-Source utility nrfutil [3] that allowed DFU images generation at version 6. The repository if marked frozen and obsolete, utility does not work anymore on Python 3.8 and 3.9. Even worse they switched to a new utility nrfutil with the same name version 7 that is NOT Open-Source anymore (see comments in [4]) :-( Does this mean that Nordic is limiting Open-Source support for their MCUs?
  • Question is DFU image generation is still possible? It would be a great feature for NuttX to quickly flash this device with no debug probes and cables attached. Especially that we will have Console over USB with @raiden00pl patch :-)

[1] https://nuttx.apache.org/docs/latest/platforms/arm/nrf52/boards/nrf52840-dongle/index.html
[2] https://academy.nordicsemi.com/flash-instructions-for-nrf52840-dongle/
[3] https://github.com/NordicSemiconductor/pc-nrfutil
[4] https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-util-unified-command-line-utility

主要语言
C
星标
475
派生
811
平均合并
1 天 11 小时
30 天内合并 PR
181

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/nuttx-apps 的其他 Issue

查看 apache/nuttx-apps 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。