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

Use of UrJTAG #2

Open
hexxor opened this issue Dec 25, 2023 · 1 comment
Open

Use of UrJTAG #2

hexxor opened this issue Dec 25, 2023 · 1 comment

Comments

@hexxor
Copy link

hexxor commented Dec 25, 2023

I wanted to know wether the JTAG HAT can be used with urJTAG and if yes, what is the configuration required? I assume it could be helpful to identify the target if not known. Like described in 3.1.3 under http://urjtag.org/book/_usage.html

The contents of the config file .jtag/rc could look like:

cable gpio tck=10 tms=9 tdi=11 tdo=25 detect discover

Any pointers or experience?

@cibomahto
Copy link
Member

I haven't tried it!

The only issue that I see is that because the signal pins are buffered, if you want to switch the direction of the TMS pin, you need to pull a separate pin (GPIO 16) high or low (see the schematic)

We added support for this in OpenOCD, but I don't see it in the urJTAG gpio cable driver.

I think this is only an issue with SWD targets, though.

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

No branches or pull requests

2 participants