adapter speed     10

interface remote_bitbang
remote_bitbang_host localhost
remote_bitbang_port 16666

set _CHIPNAME riscv
set WORK_AREA 0x1212340000
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x00001

set _TARGETNAME $_CHIPNAME.cpu

target create $_TARGETNAME riscv -chain-position $_TARGETNAME

$_TARGETNAME configure -work-area-phys $WORK_AREA -work-area-size 8096 -work-area-backup 1

riscv set_command_timeout_sec 20



init


halt

