Clarification RISC-V debug spec page 107

6 views
Skip to first unread message

Hemachandra Ramanath Bhat

unread,
Oct 7, 2025, 10:07:00 AM (3 days ago) Oct 7
to RISC-V SW Dev
Hi ,
I was going through the RISC-V Debug Specifications. In the page 107 where it is shown how to write to a block of memory using program buffer (Section that starts with   
"Write block of memory using program buffer:") I see that there is some issue. The second instruction should have been
addi s0,s0,4
instead of
addi s1,s0,4
Here as s1 contains the data and s0 contains address. s0 should be updated with s0+4. As I understand the program buffer will be continuously executed by the processor to write to memory when debug host writes to Data0. Please clarify.
Reply all
Reply to author
Forward
0 new messages