From bf6049ed15c8a96472ad33dc9a1ad666ed2cba68 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Mon, 15 May 2017 15:36:34 -0700 Subject: [PATCH] Don't use the RTOS, and do "reset halt" This is the most reliable way to run the tests for now. --- debug/targets/spike/openocd.cfg | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/debug/targets/spike/openocd.cfg b/debug/targets/spike/openocd.cfg index 29f5040..2742335 100644 --- a/debug/targets/spike/openocd.cfg +++ b/debug/targets/spike/openocd.cfg @@ -8,11 +8,12 @@ set _CHIPNAME riscv jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10e31913 set _TARGETNAME $_CHIPNAME.cpu -target create $_TARGETNAME riscv -chain-position $_TARGETNAME -rtos riscv +#target create $_TARGETNAME riscv -chain-position $_TARGETNAME -rtos riscv +target create $_TARGETNAME riscv -chain-position $_TARGETNAME gdb_report_data_abort enable init -halt +reset halt -echo "Ready for Remote Connections" \ No newline at end of file +echo "Ready for Remote Connections" -- 2.30.2