I want to accessing registers using abstract command,
1.According to the part Debugger Implementation of RISC-V External Debug Support Version 0.13,but I don’t understand what do “S0” and “matatus” mean? They are just register’s name?
2.And I also want to know how can I write a specified value into a specified physical address such as 0x8000_0000, But I look at the “S0” use the GPRs whose value is 0x1008,and the “mstatus” is 0x300? Why mstatus ‘s GPRs is 0x300, It already exceed the GPRs’ range.
3.And I also have a question that why the bit of write is 0 when read “S0” using abstract command, it means that Copy data from the register specied by regno into the arg0 region of data, if write is clearand transfer is set. What dose “arg0 region of data” means? How can I read a specifed address such as 0x8000_0004 by using Abstract command by JTAG simulation. What should I pass the address such as 0x8000_0004 into DM?
That’s all .Sincerely waiting for your reply.