2021-07-13 04:21:16 +08:00
|
|
|
adapter driver remote_bitbang
|
|
|
|
remote_bitbang_host localhost
|
|
|
|
remote_bitbang_port 9824
|
|
|
|
transport select jtag
|
|
|
|
|
|
|
|
set _CHIPNAME hazard3
|
|
|
|
jtag newtap $_CHIPNAME cpu -irlen 5
|
|
|
|
set _TARGETNAME $_CHIPNAME.cpu
|
|
|
|
target create $_TARGETNAME riscv -chain-position $_TARGETNAME
|
|
|
|
|
2021-07-17 22:08:00 +08:00
|
|
|
$_TARGETNAME configure -rtos hwthread
|
|
|
|
|
2021-07-13 04:21:16 +08:00
|
|
|
gdb_report_data_abort enable
|
|
|
|
init
|
|
|
|
halt
|
2021-07-17 22:08:00 +08:00
|
|
|
|
|
|
|
|
|
|
|
riscv test_compliance
|