On Thu, Dec 2, 2010 at 1:05 PM, Drasko DRASKOVIC <[email protected]> wrote: > Hello, > is there a way to store a value of some memory location in a variable > in Jim Tcl scrip. > > I tried like this : > > set UART_EN_HWRSTN 0x20004109 > set UART_EN_HWRSTN_CUR [mdb $UART_EN_HWRSTN] > > but it gives me just an empty string for UART_EN_HWRSTN_CUR (current > value of UART RESET register) > > Many thanks, > Drasko
OK, I found the procedures in tcl/mem_helper.tcl and similar. Thanks, Drasko _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
