TCL scripts: update to current "flash bank" syntax
[fw/openocd] / tcl / board / digi_connectcore_wi-9c.cfg
index ad40d537fe8b477bf43e73a4cc22f82b190ddf50..096af1b66d67c05e823b3effb836e1d8d1153f0b 100644 (file)
@@ -125,6 +125,6 @@ $_TARGETNAME configure -work-area-phys 0x00000000 -work-area-size 0x1000 -work-a
 #####################
 
 #M29DW323DB - not working
-#flash bank cfi <base> <size> <chip width> <bus width> <target#>
+#flash bank <name> cfi <base> <size> <chip width> <bus width> <target>
 set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME cfi 0x50000000 0x0400000 2 2 0
+flash bank $_FLASHNAME cfi 0x50000000 0x0400000 2 2 $_TARGETNAME