--
You received this message because you are subscribed to the Google Groups "RISC-V Debug Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debug+un...@groups.riscv.org.
To post to this group, send email to de...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/debug/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/debug/4dc9e9fd-6db5-4b74-a50c-ff3bab3306ee%40groups.riscv.org.

--
You received this message because you are subscribed to the Google Groups "RISC-V Debug Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debug+unsubscribe@groups.riscv.org.
To post to this group, send email to de...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/debug/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/debug/CAGDihenZD4zsApgT-PX%2B6j8dby8Le%3D2JWdS8S6CHKqrSQH41pA%40mail.gmail.com.
The upper two bits are the Interrupt and Halt Notification bits (if I am ignoring the Serial interface). These bits could be accessed elsewhere in the lower 32 bits (e.g. reflect them in the CONTROL register at lower locations). Then the upper 2 bits would become optional, and using them is just an efficiency. In systems that don't implement them they get tied to conservative values.
OpenOCD, etc would have to then implement two completely different protocols, so not sure how practical this suggestion is.
Megan
On Tue, Oct 25, 2016 at 10:32 AM, Tim Newsome <t...@sifive.com> wrote:
On Mon, Oct 24, 2016 at 7:35 PM, zhongho chen <zhong...@gmail.com> wrote:This is a hypothetical question, but it is likely to happen.Assuming my SoC has both RISC-V processors and ARM processors, how would I integrate debug debug subsystem?Since ARM processors use CoreSight architecture, all debug components are using APB interface.Is it possible to use APB interface as debug bus for RISC-V Debug Module?As it stands right now you could make it work, but it's not convenient. The problem is that the Debug Bus is 34 bits wide, which is not supported by APB. The reason that it's 34 bits wide is to keep the JTAG Debug Transport Module efficient and simple.In your scenario you could work around this by implementing a CoreSight Debug Transport module, which translates between 32-bit APB accesses and 34-bit Debug Bus accesses. The straightforward approach would be to keep a 34-bit register that CoreSight can access the lower 32 and upper 2 bits from.A different solution might be to spec an optional 18-bit Debug Bus, which includes 16 data bits. It might take some fiddling to figure out the appropriate behavior for the currently specced 32 registers, but none of them should have side effects so it might "just work."This is definitely an issue that could use some more thought, and at the least there ought to be a recommended way of solving this problem.Gajinder Panesar from UltraSoC might have some better insight here. I know he's been looking at making their components (which use APB) with the Debug Module.System overview for reference:Tim
--
You received this message because you are subscribed to the Google Groups "RISC-V Debug Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debug+un...@groups.riscv.org.
To post to this group, send email to de...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/debug/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/debug/CAGDihenZD4zsApgT-PX%2B6j8dby8Le%3D2JWdS8S6CHKqrSQH41pA%40mail.gmail.com.
Hi Tim,
Do you have quantitative comparison between 34-bit and 32-bit debug bus?Users are only sensitive to few debug operations, such as load program.Other debug operations are fine to have reasonable latency.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/debug/adf41e76-cfc4-4896-b6f8-a54cc163c2f9%40groups.riscv.org.
--
You received this message because you are subscribed to a topic in the Google Groups "RISC-V Debug Group" group.
To unsubscribe from this topic, visit https://groups.google.com/a/groups.riscv.org/d/topic/debug/gBmB06JlIYc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to debug+unsubscribe@groups.riscv.org.
To post to this group, send email to de...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/debug/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/debug/644db082-8b7e-c5d1-64f8-bef42c43d8f5%40wallentowitz.de.
--
You received this message because you are subscribed to a topic in the Google Groups "RISC-V Debug Group" group.
To unsubscribe from this topic, visit https://groups.google.com/a/groups.riscv.org/d/topic/debug/gBmB06JlIYc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to debug+unsubscribe@groups.riscv.org.
To post to this group, send email to de...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/debug/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/debug/84a19ea8-517c-bfa8-b043-fde57223c6d3%40wallentowitz.de.
Do you have quantitative comparison between 34-bit and 32-bit debug bus?
Users are only sensitive to few debug operations, such as load program.Other debug operations are fine to have reasonable latency.
To unsubscribe from this group and stop receiving emails from it, send an email to debug+unsubscribe@groups.riscv.org.
To post to this group, send email to de...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/debug/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/debug/adf41e76-cfc4-4896-b6f8-a54cc163c2f9%40groups.riscv.org.