-
Notifications
You must be signed in to change notification settings - Fork 337
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
Error: Check JTAG interface, etc #877
Comments
Whatever JTAG dongle is being used here seems to have TDO stuck at 1 so nothing is going to work in terms of OpenOCD/JTAG communication with the target. I don't really understand the nature of the JTAG dongle you're using with OpenOCD here. Maybe you can explain in more detail? Explaining the schematics and setup of this may help. Also, the output of BTW log output is preferable to screenshots for the purposes of diagnosis and analysis. |
The idea is as follows: I want to synthesize the NEIRV32 on a NEXYS A7. I have been able to do this (including generating the bitstream and programming the device). Once this is done, the next step I want to take is to enable debugging using the JTAG HS2 probe. For this, on the one hand, I need to download GDB and configure it with my IDE (if I understood correctly), and on the other hand, configure OpenOCD. Currently, I am working on the latter but encountering the errors I mentioned earlier. You can find a schematic of the problem below. file:///home/claudia/Downloads/IMG_9138.jpg Also, here are the results of the 'lsusb' command.
Finally, initially, I took inspiration from your HS2 config file. However, I had to add underscores ('_') in some of the commands. I was wondering if this was due to an older version of FTDI, or because I'm in a Linux environment, or something else. Thank you in advance. |
I don't really understand your points here. If you want to use the latest OpenOCD with RISC-V support then build it as follows:
Your main problem is that TDO is stuck at 1 so no communication with your target is going to work.
Again you are not explaining the issue here clearly enough.
Sorry - I meant |
In case there's anything useful here... |
By executing the configuration file of the hs2 ( which can be found in riscv-openocd/tcl/interface/ftdi) an error occurs:
Configuration file:
Whereas if a do the following modification , this error disappears. My question is if there is a mistake in the original file or my Linux environment is supposed to know those commands and he actually don't. New configuration file:
The error disappears:
|
You seem to have a mismatch of OpenOCD version and script version. |
It is the first time I am doing this, that is why is quite frustrating sometimes... I am going to keep looking why it is stuck at 1. Also, I forgot to precise on the last message that I used the latest OpenOCD with RISC-V support as you told me to. Finally, concerning the results of the
|
OK - my recommendations:
|
Thank you very much for your help! I am going to follow you recommendations step by step and erase the older openocd that I downloaded. Again, thank you for your time, all your answers have been very useful! |
You're welcome. |
Hello again! I managed to successfully install the latest version of OpenOCD and I verified the debug block. Nevertheless, I noticed that by erasing the command Here you can see the error before erasing this command:
And here afterwards:
Finally, this is the configuration file I am using:
|
What happens if you use the string from the earlier
This may also be relevant: Either way, I don't think that the You still have the original problem - i.e. that TDO is stuck at 1. BTW you shouldn't have to use Usually this involves something like this:
|
Isn't this a (the?) known good implementation of neorv32 on the Nexus A7 board? Did you try it making sure to follow the instructions to the letter? You might be better asking about debug issues with this combination of soft IP and FPGA board over at the neorv32 project? FWIW here are some other people having problems with TDO: I guess that you should double check the pin mappings and attributes for your JTAG signals and check the physical setup using a probe and/or logic analyser if possible. |
Indeed I am implementing the NEORV32 on the Nexus A7 board. Thank you very much! I did what you told me ( concerning the user privileges) and look at the doubts posted by other users and I forgot to put the reset jtag signal at high ( as it is optional i did not think about putting it at a high level). I manage to solve all my problems ! Thank you very much for your time and patience . |
Glad you got things sorted in the end. |
Hi, I have encountered a technical issue working on a project in the NEXYS A7 100t board. Specifically, I am facing difficulties in establishing a connection with the JTAG interface with OPENOCD.
Due to the fact that J10 ports are not being recognized by Vivado, I have resorted to using a PMOD to extract the signals for JTAG. I have connected the JTAG HS2 and modified the OpenOCD configuration file accordingly. However, I am currently unable to establish a successful connection.
I have thoroughly reviewed my setup and configuration to ensure that all connections and settings are correct. Despite my efforts, I have been unable to resolve the connectivity issue. I have also consulted relevant documentation and online resources, but the problem persists.
Here you can see the error and the configuration files.
Thank you in advance for your time.
The text was updated successfully, but these errors were encountered: