2742335d8437d34d15fc8a9161a9c9a74c10d3d4
[riscv-tests.git] / debug / targets / spike32 / openocd.cfg
1 adapter_khz 10000
2
3 interface remote_bitbang
4 remote_bitbang_host $::env(REMOTE_BITBANG_HOST)
5 remote_bitbang_port $::env(REMOTE_BITBANG_PORT)
6
7 set _CHIPNAME riscv
8 jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10e31913
9
10 set _TARGETNAME $_CHIPNAME.cpu
11 #target create $_TARGETNAME riscv -chain-position $_TARGETNAME -rtos riscv
12 target create $_TARGETNAME riscv -chain-position $_TARGETNAME
13
14 gdb_report_data_abort enable
15
16 init
17 reset halt
18
19 echo "Ready for Remote Connections"