Hemachandra Ramanath Bhat
unread,Oct 7, 2025, 10:07:00 AM (3 days ago) Oct 7Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.