Complete the Segger J-Link driver
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- docker, python
- 領域
- embedded-iot, tooling
調査の方向性
Start with public/prism/drivers/segger/Segger.py and hwdrv_segger.py, then compare hwdrv_nrfjprog.py, hwdrv_stlinkv3mods.py, NRFProg, and STLINKprog for discovery and subprocess patterns. Check the a08 Dockerfile for the bundled J-Link path and docs/source/prism_drivers.rst for the current listing. Done means probe discovery, tool version checking, driver commands, coexistence guidance, README, example script, and driver documentation are complete and validated with a J-Link and powered target in the Prism container.
索引モデルが issue の本文から書いたものです。
説明
public/prism/drivers/segger/ is an unfinished placeholder. Split out of #58.
Current state
Segger.pyhas an emptySeggerclass.__init__callsself._get_version(), which does not exist, so creating the driver raisesAttributeError.hwdrv_segger.pyfinds probes byID_SERIALcontainingSEGGER_J-Link_, but does not create ahwdrvobject or check the tool.README.mdsays to install the J-Link.debon the host. That's out of date.- No example script uses this driver.
What's already in place
- J-Link is installed in the Prism Docker image at
/opt/SEGGER/JLink(a08Dockerfile,ARG JLINK_VER). No host install, nothing underpublic/tools/. - The image stays on V8.72. nrfprog's nrfjprog 10.24.2 has errors and is about 7 s slower with J-Link V9.x (a08 c424856), so test any J-Link bump against nrfprog too.
Work
-
Segger.py: runJLinkExe(/opt/SEGGER/JLink/JLinkExe) per probe serial (-USB <sn>) with a command file, e.g. connect, erase,loadfile, verify, reset. Returnsubprocess.runresults likeNRFProgandSTLINKprogdo. -
hwdrv_segger.py: followhwdrv_nrfjprog.py/hwdrv_stlinkv3mods.py. Check the tool version indiscover_channels()and return-1with an ERROR notice on failure. Build one entry per probe serial, sorted by USB path. - Decide how this driver and nrfprog coexist. Both claim SEGGER probes, so a script should list only one of them.
- Rewrite
README.md: J-Link is in the image, debugging steps,docker exec prism /opt/SEGGER/JLink/JLinkExe .... - Add an example script under
public/prism/scripts/example/. - Test with a J-Link and a powered target in the Prism container.
- Update
docs/source/prism_drivers.rst(the driver is listed as "placeholder, not complete").
- 主要言語
- C++
- スター
- 4
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sistemicorp/scripts のほかの issue
-
bug documentation
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
sistemicorp/scripts#59 ·
-
Add P1150 Hardware Driver再び着手できるかも @sistemicorp が 190 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
sistemicorp/scripts#52 · 担当者 1 名 ·
-
[BOND] Changes for rev3再び着手できるかも @sistemicorp が 379 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
sistemicorp/scripts#26 · 担当者 1 名 ·
sistemicorp/scripts の issue をすべて見る
似ている issue
-
Shell: serve the home app's Cookie Policy on a hard reload対応中かも @2001anshkaushik が今日担当しました。 オープンfeature module:ai
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
rocketride-org/rocketride-server#2899 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
rice-solar-physics/HYDRAD#113 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 3 日以内に返信
-
status:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
PX4/PX4-Autopilot#29496 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
madskristensen/FileIcons#385 ·