hi all:
2011/1/8 loody <milo...@gmail.com>: > Hi all: > I remember there is an instruction called COP which can used for > taking look at coprocessor registers. > But I cannot find out the usage. > From the help message, if I want to take a look at coprocessor 13 > select 0, it should use "cop cp 13 0", > but I always get error message as below: > >> help cop > cop cp index select [value] > Set or display 32-bit co-processor register values > mips1.cpu cop cp index select [value] > Set or display 32-bit co-processor register values >> cop cp 13 0 > Invalid command argument > cp option value ('cp') is not valid > Command handler execution failed > in procedure 'cop' called at file "command.c", line 650 > called at file "command.c", line 361 >> cop cp 9 0 > Invalid command argument > cp option value ('cp') is not valid > Command handler execution failed > in procedure 'cop' called at file "command.c", line 650 > called at file "command.c", line 361 >> I found out the correct usage: cop 0 12 0 the first 0 means co-processor 0. Regards, miloody _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development