diff --git a/litex_boards/prog/openocd_netv2_rpi.cfg b/litex_boards/prog/openocd_netv2_rpi.cfg new file mode 100644 index 0000000..54bc2da --- /dev/null +++ b/litex_boards/prog/openocd_netv2_rpi.cfg @@ -0,0 +1,15 @@ +interface bcm2835gpio +transport select jtag +bcm2835gpio_peripheral_base 0x3F000000 +bcm2835gpio_speed_coeffs 100000 5 +bcm2835gpio_jtag_nums 4 17 27 22 +bcm2835gpio_srst_num 24 +reset_config none + +source [find cpld/xilinx-xc7.cfg] +adapter_khz 10000 + +proc fpga_program {} { + global _CHIPNAME + xc7_program $_CHIPNAME.tap +} \ No newline at end of file diff --git a/litex_boards/prog/openocd_xilinx_xc6.cfg b/litex_boards/prog/openocd_xilinx_xc6.cfg new file mode 100644 index 0000000..7c83233 --- /dev/null +++ b/litex_boards/prog/openocd_xilinx_xc6.cfg @@ -0,0 +1,14 @@ +interface ftdi +ftdi_vid_pid 0x0403 0x6010 +ftdi_channel 0 +ftdi_layout_init 0x00e8 0x60eb +reset_config none + +source [find cpld/xilinx-xc6.cfg] +source [find cpld/jtagspi.cfg] +adapter_khz 25000 + +proc fpga_program {} { + global _CHIPNAME + xc6_program $_CHIPNAME.tap +} diff --git a/litex_boards/prog/openocd_xilinx_xc7.cfg b/litex_boards/prog/openocd_xilinx_xc7.cfg new file mode 100644 index 0000000..b5eda4b --- /dev/null +++ b/litex_boards/prog/openocd_xilinx_xc7.cfg @@ -0,0 +1,14 @@ +interface ftdi +ftdi_vid_pid 0x0403 0x6010 +ftdi_channel 0 +ftdi_layout_init 0x00e8 0x60eb +reset_config none + +source [find cpld/xilinx-xc7.cfg] +source [find cpld/jtagspi.cfg] +adapter_khz 25000 + +proc fpga_program {} { + global _CHIPNAME + xc7_program $_CHIPNAME.tap +}