diff --git a/tools/openocd/openocd.exe b/tools/openocd/openocd.exe new file mode 100644 index 0000000..21daae7 Binary files /dev/null and b/tools/openocd/openocd.exe differ diff --git a/tools/openocd/tinyriscv.cfg b/tools/openocd/tinyriscv.cfg new file mode 100644 index 0000000..a3b2dc5 --- /dev/null +++ b/tools/openocd/tinyriscv.cfg @@ -0,0 +1,14 @@ +adapter_khz 1000 + +reset_config srst_only +adapter_nsrst_assert_width 100 + +interface cmsis-dap + +transport select jtag + +set _CHIPNAME riscv +jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x1e200a6f + +set _TARGETNAME $_CHIPNAME.cpu +target create $_TARGETNAME riscv -chain-position $_TARGETNAME