Add support for "Sipeed RV Debugger" (OCD-304) #142
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
I asked support on the platformio forum to get this JTAG debugger working.
maxgerhardt, from that forum, helped me and asked me to make a pull request to add this file to this repository.
Note that i was using the ESP32-WROOM-32D.
Along with that i have to note that you folks are probably able to add proper support for that debugger with this file?
I intended to use this with:
in platformio but that currently doesn't work. The way i have it working now is with this platformio config:
And in a command line from within the folder:
~/.platformio/packages/tool-openocd-esp32/
i'm running:Then it works and allows me to step through ESP code. Awesome!
The ESP32 pins i'm using to connect the debugger are:
GPIO12 — TDI
GPIO15 — TDO
GPIO13 — TCK
GPIO14 — TMS
As per the espressif documentation.
Lastly, i haven't done a compile test for this change. I followed how other config files were added and just adding the file seemed to be the way to go. Please let me know if more testing is required. If that is the case, please do tell me what and how to test that. Personally, i'd also love to have that
debug_tool = sipeed-rv-debugger
working in platformio. So if someone could help me a bit in understanding what needs to change to get that working?Cheers,
Mark