Logo
Explore Help
Register Sign In
lby/lk
1
0
Fork 0
You've already forked lk
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
208bae5feb2d4a3ee4115475ad01b66dc8a214a2
lk/scripts/xmd.tcl

22 lines
288 B
Tcl
Raw Normal View History

[scripts][do-*-xmd] create xmd.tcl file that takes argument refactor do-zybo-xmd and do-uzed-xmd to use the single xmd tcl file Change-Id: Ibf3f58127103ff563b617a0025a15815d2f28049
2015-03-18 14:41:38 -07:00
#puts "argc = $argc"
#puts "argv = $argv"
#puts "arg 1 is [lindex $argv 0]"
if { $argc != 1 } {
puts "not enough arguments to xmd script"
exit
}
[scripts][xmd.tcl] clean up a bit to allow nonzero offsets
2015-03-31 15:16:59 -07:00
set offset 0
set file [lindex $argv 0]
[scripts][do-*-xmd] create xmd.tcl file that takes argument refactor do-zybo-xmd and do-uzed-xmd to use the single xmd tcl file Change-Id: Ibf3f58127103ff563b617a0025a15815d2f28049
2015-03-18 14:41:38 -07:00
connect arm hw
rst
after 1000
stop
[scripts][xmd.tcl] clean up a bit to allow nonzero offsets
2015-03-31 15:16:59 -07:00
dow -data build-$file/lk.bin $offset
rwr pc $offset
[scripts][do-*-xmd] create xmd.tcl file that takes argument refactor do-zybo-xmd and do-uzed-xmd to use the single xmd tcl file Change-Id: Ibf3f58127103ff563b617a0025a15815d2f28049
2015-03-18 14:41:38 -07:00
con
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 313ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API