| 123456789101112131415161718192021 |
- # debug adapter
- interface jlink
- transport select jtag
- adapter_khz 3000
- # 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
|