21 lines
342 B
INI
21 lines
342 B
INI
# debug adapter
|
|
source [find ft2232c.cfg]
|
|
|
|
transport select jtag
|
|
adapter_khz 10000
|
|
|
|
# server port
|
|
gdb_port 3333
|
|
telnet_port 4444
|
|
|
|
# add cpu target
|
|
set _CHIPNAME riscv
|
|
|
|
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x04e4796b
|
|
|
|
set _TARGETNAME $_CHIPNAME.cpu
|
|
target create $_TARGETNAME riscv -chain-position $_TARGETNAME
|
|
|
|
# command
|
|
init
|
|
halt |