Comments (5)
Is the issue in static uint64_t dmi_read(struct target *target, uint16_t address)?
https://github.com/riscv/riscv-openocd/blob/riscv/src/target/riscv/riscv-013.c
There seem to be many other cases of 256 iteration loops that may not have any timeout/quit capability meaning that they too could lock up openocd if something goes wrong?
from riscv-openocd.
I cannot tell from this log where exactly the problem was. dmi_read() does not loop forever, as you point out. If there are infinite loops left we should fix them.
I assume you can't easily reproduce this with more logging.
from riscv-openocd.
Let me try with an up to date build of openocd.
from riscv-openocd.
What was the resolution/fix here?
I don't see any commit referenced.
from riscv-openocd.
I should've clarified:
Closed because I can't reproduce it.
Please feel free to reopen this with instruction on how to reproduce the problem.
from riscv-openocd.
Related Issues (20)
- Incorrect "valid" read of `menvcfg` CSR from HiFive1 board HOT 7
- The OpenOCD service cannot be killed by kill-9 HOT 11
- [riscv.cpu] Debug Module did not become active. dmcontrol=0x0 HOT 8
- `lt` trigger is not always available
- Tracking RISC-V Debug Spec v0.11 testing HOT 5
- Improve stability of riscv-tests for targets with low remotetimeout value HOT 5
- Failed to write to memory, connecting to spike HOT 7
- load_image returns error 'invalid command' HOT 6
- Q extension support HOT 3
- how to read v register if vslide1down instruction not present HOT 19
- Using the `info reg all` command within gdb returns an `remote failure reply 'E0E'` HOT 10
- Issues Flashing Baremetal Applications Directly with OpenOCD on MPFS HOT 2
- Cache information about abstract access availability on per-register basis
- Implement controls to adjust OpenOCD behavior during when it tries to detect which watch point was hit (riscv_hit_watchpoint)
- How can I build openocd with static libs? HOT 13
- Investigate the semantics of step/resume operations in context of HW trigger state.
- `read_memory_bus_v1()` is broken HOT 1
- RISC-V v0.11: Writes to register `x0` (`zero`) should not be cached.
- progbuf issue HOT 7
- Unnecessary calls to `select_dmi()`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from riscv-openocd.