Virus-V / SmartOCD

Smart On-Chip Debugger
BSD 3-Clause "New" or "Revised" License
22 stars 6 forks source link

读写data0等寄存器问题 #2

Closed LIGHTss closed 2 years ago

LIGHTss commented 2 years ago

实验平台:riscv(bl602) 问题:在向data0寄存器写入数据时,通过dmi操作dm寄存器,写入值0xabcd1234,而读出数据为0x6bcd1234。 现象如下图所示: image 通过逻辑分析仪,读出的数据command的data位值为0xabcd1234,具体现象如下: image

Virus-V commented 2 years ago

提供一下测试代码,以及log