nt9856x/loader/Project/Model/LoadCode.ttl

29 lines
415 B
Turtle
Executable File

connect 'localhost:4444 /DS /T=1'
sendln 'halt'
wait '>'
sendln 'binit'
wait '>'
send 'load_image '
send param2
send '/Loader680_Data/'
send param3
sendln '/LD96680A.bin 0xF07F0000'
wait '>'
wait '>'
sendln 'reg pc 0xF07F0028'
strcompare param4 'Resume'
if result=0 then
sendln 'reg pc 0xF07F0028'
wait '>'
sendln 'resume'
wait '>'
endif
sendln 'exit'
disconnect 0