-
Notifications
You must be signed in to change notification settings - Fork 307
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
Openocd: write to memory with dmi_write before init #1038
Comments
Any use?
|
Hi, I want to clarify my question: I want to write memory before target creation. For example, do the following commands (in main script not in proc):
Thanks, |
@hananyasegal1 short answer - no. That's not how OpenOCD works. There are few issues:
Long answer - it depends on what your are trying to archive. If your design allows to initiate memory operations via a some TAP controller, you can do the following:
Also if you design have some targets that are functional, while others require some initialization procedure to be operational - usually you can skip their definition, but you still have to create the respected TAP |
Thank you very much for your detailed answer. |
Hi Anatoly,
Thanks, |
As far as I can see, most or all of this is covered in the OpenOCD documentation and nothing that you're asking about is really RISC-V specific. For example: |
Hi All,
I want to ask if there is any option to write to memory for example, to de-assert the reset line of the core before init/examine completion?
Thanks,
Hananya
The text was updated successfully, but these errors were encountered: