Hello!
I’m trying to use the “var” command in the following way:
var myfunction 0x810000ec
reg pc myfunction # this don't work
reg pc 0x810000ec # this works
Does anybody have an example how to properly use the “var” command?
Hello!
I’m trying to use the “var” command in the following way:
var myfunction 0x810000ec
reg pc myfunction # this don't work
reg pc 0x810000ec # this works
Does anybody have an example how to properly use the “var” command?
The ‘var’ command currently only works with the low-level JTAG subsystem:
(use a config file without a “target …” line or any other target specific config statement)
endstate rti
irscan 0 0xe
var id 32
drscan 0 id
var id
This enters the IDCODE JTAG command, declares a variable “id” with one 32-bit field, executes a data-register scan that loads “id”, and displays the content of “id”.
Regards,
Dominic