projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test debug authentication.
[riscv-tests.git]
/
debug
/
targets
/
RISC-V
/
spike-rtos.cfg
diff --git
a/debug/targets/RISC-V/spike-rtos.cfg
b/debug/targets/RISC-V/spike-rtos.cfg
index 5a70f523d56afee94c668c68399e21d3f7a2a38d..159a70fac42c7ffcaa6af1f1371ef43f0f73fdce 100644
(file)
--- a/
debug/targets/RISC-V/spike-rtos.cfg
+++ b/
debug/targets/RISC-V/spike-rtos.cfg
@@
-18,4
+18,8
@@
gdb_report_data_abort enable
riscv expose_csrs 2288
init
-reset halt
+
+set challenge [ocd_riscv authdata_read]
+riscv authdata_write [expr $challenge + 1]
+
+halt