[scripts][xmd.tcl] clean up a bit to allow nonzero offsets

This commit is contained in:
Travis Geiselbrecht
2015-03-31 15:16:59 -07:00
parent 45d32abd7b
commit 2f44d34266

View File

@@ -7,12 +7,15 @@ if { $argc != 1 } {
exit
}
set offset 0
set file [lindex $argv 0]
connect arm hw
rst
after 1000
stop
dow -data build-[lindex $argv 0]/lk.bin 0
rwr pc 0
dow -data build-$file/lk.bin $offset
rwr pc $offset
con