diff options
Diffstat (limited to 'tcl/board/at91cap7a-stk-sdram.cfg')
-rw-r--r-- | tcl/board/at91cap7a-stk-sdram.cfg | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tcl/board/at91cap7a-stk-sdram.cfg b/tcl/board/at91cap7a-stk-sdram.cfg index 8a371e0..182a406 100644 --- a/tcl/board/at91cap7a-stk-sdram.cfg +++ b/tcl/board/at91cap7a-stk-sdram.cfg @@ -32,8 +32,7 @@ $_TARGETNAME configure -event reset-start { } proc peek32 {address} { - mem2array t 32 $address 1 - return $t(0) + return [read_memory $address 32 1] } # Wait for an expression to be true with a timeout |