summaryrefslogtreecommitdiff
path: root/platform/wavelet3d/openocd.cfg
blob: 6042359d5d7916b0f690d37fc40f82c0eca92f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
debug_level 0
adapter speed 10000

adapter driver remote_bitbang
remote_bitbang host localhost

remote_bitbang port 1234

# we don't have srst
reset_config trst_only

set _CHIPNAME riscv
set _TARGETNAME $_CHIPNAME.cpu

jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10002FFF
target create $_TARGETNAME.0 riscv -chain-position $_TARGETNAME

riscv set_reset_timeout_sec 2000
riscv set_command_timeout_sec 2000
riscv set_prefer_sba on

init
#halt

riscv.cpu.0 arm semihosting enable

echo "Ready for Remote Connections on port 3333."