-
Notifications
You must be signed in to change notification settings - Fork 75
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
behavior of testbench #97
Comments
Now you can connect to it with openocd using one of the |
Hi @bluewww , I am trying to run this command
Is this expected or I am missing something. can you please help? |
Debug: 23 11 command.c:143 script_debug(): command - debug_level ocd_debug_level 4 We set the debug level to 4 in the openocd script. Maybe openocd changed the allowable ranges recentl, |
Hi @bluewww, I have changed the debug level to 2 and then run the script. Then it is giving an some other error like following:
How can I resolve this? |
Hi @ShraddhaDevaiya, See example in README.md. You should run the following command before running openocd:
If using csh/tcsh, you should use this command instead:
|
Hi @noytzach , I did the same as per your instructions. But still it is showing some error:
I think riscv target is unrecongnized, do I need to install some dependencies for this? |
You have to install riscv-openocd And run this one (using fullpath) and not the one you already have, which does not support riscv. |
Hi, Sorry for the delay.
Can you please help me? |
It looks like you did not use the -f option (as in the README) so openocd is looking for the default script (openocd.cfg).
|
Yeah got that. I am facing issue to install riscv target in openocd. Let me complete that, then will check again. Thanks for helping. |
@ShraddhaDevaiya (2)export OPENOCD_HOME=/opt/tools/riscv-openocd Process: finished dumping memory 2.open one new Terminal Debug: 65 1 command.c:146 script_debug(): command - target create riscv.cpu riscv -chain-position riscv.cpu -rtos riscv ############################################################# |
I also encountered the same problem. Which version of openocd should we used? |
Try this version for running the tests https://github.com/pulp-platform/riscv-openocd The problem is that upstream removed the built-in tests at some point so the whole setup is a bit obsolete, but atm it is the best we've got (until I find some time to clean up this mess). |
what is the commit id of openocd that was used to successfully setup? |
Hello,
I am trying to run testbench of riscv debug module. For that, I have run command
make veri-run
. For this it is just stopped at following flow:Is this in interactive mode, or all configurations and commands are passed in pulpissimo_debug.cfg file ?
Can anyone please put some light on this?
The text was updated successfully, but these errors were encountered: