| 12345678910111213141516171819202122 |
- # debug adapter
- interface jlink
- jlink serial 0
- transport select jtag
- adapter_khz 15000
- # 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
|