FPGA - EECS-NTNU/rocket-chip GitHub Wiki

exisiting projects

parallella-riscv

  • https://github.com/eliaskousk/parallella-riscv
  • updated for zynq
  • zedboard & parallella
  • apparently rocket changed from using HTIF to new debug protocol - making new versions incompatible
    • why could it be updated in 2018?? New fesvr version??

changes needed for pynq

linux image??

uboot??

bitstream??

versions used

  • rocket: 04.2018
  • testchipip: 04.2018

PYNQ-Z1 docu

Alternative

  • build simple system with only uart, jtag and axi-ram

Advantages:

  • jtag seems to be using the new debugging interface => possibly able to track rocket repository
  • no need to deal with linux on zynq - only uboot necessary for ram
  • uart and jtag should be mappable to gpio - use external jtag tool for debugging
  • might be less work than figuring out how to deal with all the deprecated stuff needed for fesvr

Things to figure out:

Is booting over jtag possible??

freedom zybo

  • seems to work

JTAG connection

JTAG signal ftdi 2232H Pin PYNQ-Z1 Pin ZYNQ Pin color
GND GND GND GND brown
JTAG_TCK AD0 IO37? Y7 orange
JTAG_TMS AD3 IO1 U12 blue
JTAG_TDI AD1 IO2 U13 yellow
JTAG_TDO_data AD2 IO3 V13 green
JTAG_TDO_driven - IO4 V15 -
JTAG_reset AC2 IO5 T15 purple
UART_txd IO6 R16
UART_rxd IO7 U17

https://www.instructables.com/id/ESP32-Cheap-Solution-for-in-Circruit-Debug/