Skip to content

Commit aa17fe2

Browse files
committed
update ram cfg
1 parent 9596e5d commit aa17fe2

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed
Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
lassign [split [mdw 0x20000000] ":" ] RAM BASE
2-
set BASE [string trim $BASE]
3-
puts $BASE
4-
load_image ${filename} 0x$BASE bin
1+
reset_config srst_only srst_push_pull
2+
3+
init
4+
reset
5+
halt
6+
resume
7+
sleep 500
8+
9+
lassign [split [mdw 0x20000000] ":" ] ram base
10+
set base [string trim $base]
11+
puts $base
12+
load_image ${filename} 0x$base bin
13+
sleep 500
14+
resume
15+
shutdown

0 commit comments

Comments
 (0)