dubhe_olimex-openocd_s5.cfg 720 B

123456789101112131415161718192021222324252627282930313233
  1. adapter driver ftdi
  2. ftdi device_desc "Olimex OpenOCD JTAG ARM-USB-TINY-H"
  3. ftdi vid_pid 0x15ba 0x002a
  4. #Uncomment line below and change to your machine's Dubhe Olimex JTAG serial number if your FPGA is connecting to more than 1 daughter card
  5. #ftdi serial "OLDBAA13"
  6. transport select jtag
  7. adapter speed 20000
  8. ftdi layout_init 0x0808 0x0a1b
  9. ftdi layout_signal nSRST -oe 0x0200
  10. ftdi layout_signal nTRST -data 0x0100 -oe 0x0100
  11. ftdi layout_signal LED -data 0x0800
  12. set _CHIPNAME riscv
  13. jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x00000cfd
  14. set _TARGETNAME $_CHIPNAME.cpu
  15. target create $_TARGETNAME riscv -chain-position $_TARGETNAME
  16. riscv set_command_timeout_sec 20
  17. #gdb_report_data_abort enable
  18. init
  19. halt