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

JTAG #13

Open
Fishwaldo opened this issue Apr 1, 2024 · 3 comments
Open

JTAG #13

Fishwaldo opened this issue Apr 1, 2024 · 3 comments

Comments

@Fishwaldo
Copy link

Has anyone had any success getting JTAG working?
I've got the sipeed SLOGIC and setup the pinmux for JTAG, but it can't be detected....

@Fishwaldo
Copy link
Author

Just a update - The Pull Up resisters attached to GPIOA_18, GPIOA_19, GPIOA_28, GPIOA_29 (which are used for JTAG) cause JTAG to fail.

I'm not sure why these were added. The SOC has the ability to do PU/PD on GPIO pins itself, and these resisters are not present on the MilkV Duo256 (which works fine with JTAG).

This makes JTAG debugging on the LicheeRVNano impossible. :(

@fzi-haxel
Copy link

I do not have a SLOGIC, but I tried it with the "Blue Pill" board with the cklink-lite firmware and a JLINK with openocd and both worked. The only problem I had, was (as mentioned in #650) that the TMS and TCK signals are switched on the diagram.

@0x754C
Copy link
Collaborator

0x754C commented Apr 28, 2024

You need reset the c906 core:

  1. connect jtag
  2. hold reset button
  3. release reset button, then open DebugServer

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

3 participants