As well as marking hardware registers read-only, write-only etc, allow destructive-read
It would be very helpful when debugging hardware to be able to NOT read some locations unless I ask. You already have the Force-read command to perform an additional read. What I want is for you to NOT read if the register is marked DestructiveRead and only read if Force-read is chosen.
Consider the case of debugging SPI input where the device has an input FIFO. If I have the register displayed, each time I step the register gets read, eating data, which messes up debugging.
Please sign in to leave a comment.
Comments
0 comments