From 03e9729043cb51c6c384d29b97a039660705e170 Mon Sep 17 00:00:00 2001 From: "Sergey A. Borshch" Date: Fri, 22 Nov 2013 12:16:41 +0200 Subject: [PATCH 1/1] at91sam7sx.cfg: fix use $_TARGETNAME as target identifier, not '0' warning all other at91 cfg files already has this fix. It also fix "No flash at address 0x...." error when JTAG chain consist of more than one at91sam7sx cores during attempt to flash other than first mcu in chain. Change-Id: I7785d9103d0fc494b6a823e2c73f850373ffe112 Signed-off-by: Sergey A. Borshch Reviewed-on: http://openocd.zylin.com/1812 Tested-by: jenkins Reviewed-by: Spencer Oliver --- tcl/target/at91sam7sx.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcl/target/at91sam7sx.cfg b/tcl/target/at91sam7sx.cfg index 20e468999..4b3cab43c 100644 --- a/tcl/target/at91sam7sx.cfg +++ b/tcl/target/at91sam7sx.cfg @@ -50,4 +50,4 @@ $_TARGETNAME configure -work-area-phys 0x00200000 -work-area-size 0x4000 -work-a #flash bank [ ] set _FLASHNAME $_CHIPNAME.flash -flash bank $_FLASHNAME at91sam7 0 0 0 0 0 0 0 0 0 0 0 0 18432 +flash bank $_FLASHNAME at91sam7 0 0 0 0 $_TARGETNAME 0 0 0 0 0 0 0 18432 -- 2.30.2