RegWatch
Turn on/off register snooping
- RegWatch
Shortest form:
rw.Log every SDK read or write of a register. The log goes to the
TESTSdebug source, so enable it withdebug soc TESTS info(the command reminds you). Whilesyncdis running this can produce a lot of output. It does not change the hardware.Grammar:
regwatch <REGISTER | *> <read | write | off> regwatch delta <on | off>
The built-in help shows
[Reg=<Reg>] [write] [read] [off]; the shell actually takes the register name itself as the first word, followed by exactly one ofread,writeoroff.*watches all registers.regwatch delta on|offswitches a delta mode that the help does not mention.Unvalidated
drivshell> debug soc TESTS info drivshell> regwatch CLMAC_CTRL.ce0 write
Unvalidated — Stop watching
drivshell> regwatch CLMAC_CTRL.ce0 off- RegWatch delta <on | off>
Turn the delta mode on or off. Any word other than
onturns it off.Unvalidated
drivshell> regwatch delta on
Built-in help
Parameters: [Reg=<Reg>] [write] [read] [off] Reg specifies which reg to watch Write - specify to start watching writing operations on register Read - specify to start watching reading operations on register Off - specify to stop watching all operations on register