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

Add support for OpenOCD #20

Open
zoobab opened this issue Jan 3, 2018 · 11 comments
Open

Add support for OpenOCD #20

zoobab opened this issue Jan 3, 2018 · 11 comments

Comments

@zoobab
Copy link
Collaborator

zoobab commented Jan 3, 2018

Add support for OpenOCD.

@jeanthom
Copy link
Collaborator

jeanthom commented Mar 9, 2020

Work happening here: https://github.com/jeanthom/openocd-dirtyjtag

@FFY00
Copy link

FFY00 commented Jan 29, 2021

Hi, sorry to bother! How is this going? Is it still a WIP/unstable, or something that could be possibly upstreamed?

@jeanthom
Copy link
Collaborator

Hi, no worries! :) Unfortunately it is currently in an unstable state... @brainstorm had success with an ESP32-S2 but I'm still struggling to get it to work with ECP5 (jeanthom/openocd-dirtyjtag#2)

@FFY00
Copy link

FFY00 commented Jan 29, 2021

Okay, thanks, I will keep an eye out. If I have time, I will try to help out, but I doubt I will for the next few months 😕

@brainstorm
Copy link

Fast moving target, see jeanthom/openocd-dirtyjtag#3 ;)

@jeanthom
Copy link
Collaborator

jeanthom commented Dec 2, 2022

Upstream in progress: https://review.openocd.org/c/openocd/+/7344

@jonas-s-s-s
Copy link

Upstream in progress: https://review.openocd.org/c/openocd/+/7344

No update on this in years? Still no way to use this with openOCD?

@zoobab
Copy link
Collaborator Author

zoobab commented Oct 12, 2024

In the meantime I will try to make a static build of this OpenOCD branch.

@jeanthom
Copy link
Collaborator

@jonas-s-s-s Unfortunately no progress. Getting things into mainline OpenOCD is not that easy (the codebase is not that easy to get in, high expectations of the maintainers) which explains why there are tons of vendor forks (eg. ESP32, Raspberry Pi, RISC-V, STMicroelectronics, Infineon, Texas Instruments, etc.).

@jonas-s-s-s
Copy link

If this project had working OpenOCD then as far as I'm aware it'd be the only true JTAG debugger firmware compatible with RP2040.

My plan was to use the RP2040 to debug an RPi Zero, as it uses an older chip which doesn't support Serial Wire Debug. However I already gave up as it seems that using Qemu will be better than trying the hardware debugger approach.

@zoobab
Copy link
Collaborator Author

zoobab commented Oct 13, 2024

"If this project had working OpenOCD"

We have a working OpenOCD, you just have to compile it yourself :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants