pyocd / pyocd/pyOCD

Support user selection of JTAG protocol

Open
#593 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backlog new feature
Dominant language
Python
Stars
1.5k
Forks
560
Avg merge
1h 41m
Merged PRs (30d)
3

Description

Allow the user to select between SWD and JTAG, and to control the JTAG scan chain.

  • Add a user option to select between SWD or JTAG. Must work with both CMSIS-DAP and STLink.
  • Add a command line option to easily select the protocol.
  • Add user options to adjust the JTAG device count and IR length. The default IR length should be 4, with 1 device. These options only apply to CMSIS-DAP since STLink uses scan chain auto detection.
  • Fully support JTAG protocol with STLink.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the command-line option handling and the CMSIS-DAP and STLink protocol implementations; then trace how scan-chain settings are represented. Done means users can select SWD or JTAG, configure CMSIS-DAP device count and IR length, and use JTAG with both CMSIS-DAP and STLink.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.