X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftcl%2Fchip%2Fatmel%2Fat91%2Faic.tcl;fp=src%2Ftcl%2Fchip%2Fatmel%2Fat91%2Faic.tcl;h=1fe4514b635b1b4f9206f4354c8510d75617d7c5;hb=6c0553c8c504d4c6da20857abeec80648d841b72;hp=245224a5f135dd8fb16033d1cc747cf2e5088645;hpb=42501f0ef0beb573fcbe904320b9a0fba02dcc3b;p=openocd diff --git a/src/tcl/chip/atmel/at91/aic.tcl b/src/tcl/chip/atmel/at91/aic.tcl index 245224a5..1fe4514b 100644 --- a/src/tcl/chip/atmel/at91/aic.tcl +++ b/src/tcl/chip/atmel/at91/aic.tcl @@ -54,7 +54,7 @@ proc show_AIC_IMR_helper { NAME ADDR VAL } { proc show_AIC { } { global AIC_SMR - if [catch { mem2array aaa 32 $AIC_SMR [expr 32 * 4] } msg ] { + if [catch { ocd_mem2array aaa 32 $AIC_SMR [expr 32 * 4] } msg ] { error [format "%s (%s)" $msg AIC_SMR] } puts "AIC_SMR: Mode & Type" @@ -71,7 +71,7 @@ proc show_AIC { } { incr x } global AIC_SVR - if [catch { mem2array aaa 32 $AIC_SVR [expr 32 * 4] } msg ] { + if [catch { ocd_mem2array aaa 32 $AIC_SVR [expr 32 * 4] } msg ] { error [format "%s (%s)" $msg AIC_SVR] } puts "AIC_SVR: Vectors"