55 lines
849 B
INI
55 lines
849 B
INI
|
|
|
|
|
|
adapter driver remote_bitbang
|
|
remote_bitbang host localhost
|
|
remote_bitbang port 44853
|
|
|
|
|
|
# transport select jtag
|
|
|
|
|
|
# set _ENDIAN little
|
|
# set _TAP_TYPE 1234
|
|
|
|
if { [info exists CPUTAPID] } {
|
|
set _CPUTAPID $CPUTAPID
|
|
} else {
|
|
# set useful default
|
|
set _CPUTAPID 0x10001fff
|
|
}
|
|
|
|
# adapter_khz 800
|
|
# adapter_nsrst_delay 260
|
|
# jtag_ntrst_delay 250
|
|
|
|
set _CHIPNAME murax
|
|
set _TARGETNAME $_CHIPNAME.tap
|
|
|
|
jtag newtap $_CHIPNAME tap -expected-id $_CPUTAPID -irlen 4
|
|
|
|
target create $_TARGETNAME riscv -chain-position $_TARGETNAME
|
|
# vexriscv readWaitCycles 12
|
|
# vexriscv cpuConfigFile $MURAX_CPU0_YAML
|
|
|
|
|
|
# Be verbose about GDB errors
|
|
gdb_report_data_abort enable
|
|
gdb_report_register_access_error enable
|
|
|
|
|
|
#poll_period 50
|
|
|
|
# Conclude OpenOCD configuration
|
|
init
|
|
|
|
# Halt the target
|
|
halt
|
|
|
|
|
|
# init
|
|
# #echo "Halting processor"
|
|
# soft_reset_halt
|
|
# sleep 1000
|
|
|