debug: checkpoint of trying to get simulation tests working
[riscv-tests.git] / debug / targets / freedom-u500-sim / openocd.cfg
index 767d22963de48571f4efe9bfa35bce9350897f94..0ce11d80eb4f96323b9237e99ade74a9ee223a27 100644 (file)
@@ -1,19 +1,16 @@
 adapter_khz     10000
 
 source [find interface/jtag_vpi.cfg]
+#jtag_vpi_set_port $::env(JTAG_VPI_PORT)
+jtag_vpi_set_port 46401
 
 set _CHIPNAME riscv
 jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10e31913
 
 set _TARGETNAME $_CHIPNAME.cpu
-target create $_TARGETNAME riscv -chain-position $_TARGETNAME
+target create $_TARGETNAME riscv -chain-position $_TARGETNAME -rtos riscv
 
-#reset_config trst_and_srst separate
-# Stupid long so I can see the LEDs
-#adapter_nsrst_delay 2000
-#jtag_ntrst_delay 1000
-#
 init
-#reset
 
 halt
+echo "OK GO NOW"