openocd: tinyriscv.cfg: add halt cmd
Signed-off-by: liangkangnan <liangkangnan@163.com>pull/1/head
parent
de9a978417
commit
69484de8b2
|
@ -7,8 +7,16 @@ interface cmsis-dap
|
||||||
|
|
||||||
transport select jtag
|
transport select jtag
|
||||||
|
|
||||||
|
#debug_level 3
|
||||||
|
|
||||||
set _CHIPNAME riscv
|
set _CHIPNAME riscv
|
||||||
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x1e200a6f
|
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x1e200a6f
|
||||||
|
|
||||||
set _TARGETNAME $_CHIPNAME.cpu
|
set _TARGETNAME $_CHIPNAME.cpu
|
||||||
target create $_TARGETNAME riscv -chain-position $_TARGETNAME
|
target create $_TARGETNAME riscv -chain-position $_TARGETNAME
|
||||||
|
|
||||||
|
riscv set_reset_timeout_sec 1
|
||||||
|
|
||||||
|
init
|
||||||
|
|
||||||
|
halt
|
||||||
|
|
Loading…
Reference in New Issue