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

Error connect openocd to debug pulpissimo #399

Open
namnguyen269 opened this issue Oct 24, 2023 · 1 comment
Open

Error connect openocd to debug pulpissimo #399

namnguyen269 opened this issue Oct 24, 2023 · 1 comment

Comments

@namnguyen269
Copy link

i am implementing Pulissimo project SoC on FPGA. I use Zedboard. I got an error when trying to use openocd to conig jtag for debugging. Please follow the instructions in the readme https://github.com/pulp-platform/pulpiss...nd-openocd
I git clone and execute the post-build commands
$ git clone https://github.com/pulp-platform/riscv-openocd
$ ./bootstrap
$ ./config --enable-ftdi
$ ./make
$ ./make install

I then use the command to connect core riscv to the server
$ openocd -f openocd -zedboard-ftdi2232.cfg
I received the following error code:
$openocd -f openocd-zedboard-ftdi2232.cfg
Open On-Chip Debugger 0.10.0+dev-00830-ga88cc98a0 (2023-10-24-16:32)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 1000 kHz
Warn : There are no enabled taps. AUTO PROBING MIGHT NOT WORK!!
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Warn : Bypassing JTAG setup events due to errors
Warn : gdb services need one or more targets defined

Then I switched to another FPGA. specifically the kintex kc705. I received the following error again:
$ openocd -f openocd-kc705.cfg
Open On-Chip Debugger 0.10.0+dev-00830-ga88cc98a0 (2023-10-24-16:32)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
openocd-kc705.cfg:21: Error: invalid command name "ftdi"
in procedure 'script'
at file "embedded:startup.tcl", line 26
at file "openocd-kc705.cfg", line 21

How to configure openocd debugging pulpissimo when developed on FPGA. And I want to develop Pulissimo down to Kintex 7 KC705 FPGA. Can I do it? I'm having trouble

@namnguyen269
Copy link
Author

@bluewww @christian-lanius @meggiman please help me:((

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

1 participant