Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRST# support in jtag-openocd #516

Merged
merged 1 commit into from
Jan 21, 2024
Merged

Conversation

neuschaefer
Copy link
Contributor

Sometimes it's useful to trigger a DUT reset from within JTAG-adjacent logic. For example OpenOCD uses this feature as part of its remote-bitbang protocol, and the ARM 20-pin JTAG connector includes an SRST# pin. This PR adds SRST# support to the jtag-probe and jtag-openocd applets.

Alternatives

  • The SRST pin could be added to jtag-openocd only, as it's not strictly part of a JTAG interface.
  • SRST could be renamed RESET, but I think that would be more ambiguous.

@neuschaefer neuschaefer changed the title Draft: SRST support in jtag-probe and jtag-openocd SRST# support in jtag-probe and jtag-openocd Jan 15, 2024
@whitequark
Copy link
Member

It's unclear to me whether SRST# should be a part of the generic JTAG probe applet. It is not a part of IEEE 1149.1.

@neuschaefer
Copy link
Contributor Author

I'm unsure myself, I'm fine with either way (having SRST in jtag-probe or only in jtag-openocd)

@neuschaefer
Copy link
Contributor Author

I'll probably change it to jtag-openocd only, because it is more easily correct that way.

@whitequark
Copy link
Member

Happy to merge that right away.

The SRST# pin is not specified in IEEE 1149.1, but it can be used to
reset the DUT in configurations that have it.
@neuschaefer neuschaefer changed the title SRST# support in jtag-probe and jtag-openocd SRST# support in jtag-openocd Jan 20, 2024
Copy link
Member

@whitequark whitequark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@whitequark whitequark added this pull request to the merge queue Jan 21, 2024
Merged via the queue into GlasgowEmbedded:main with commit 5987eaf Jan 21, 2024
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants