Skip to content

Commit

Permalink
Add FTDI disable script
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Dudek <[email protected]>
  • Loading branch information
mtdudek committed Apr 6, 2023
1 parent 82a6f39 commit c539dab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ ifeq ($(TARGET),zcu104)
@exit 1
else
openFPGALoader --board $(OFL_BOARD) build/$(TARGET)/gateware/$(TOP).bit
openocd -f openocd_scripts/openocd_xc7_ft4232_reset.cfg
endif

flash: FORCE
Expand All @@ -79,6 +80,7 @@ else ifeq ($(TARGET),lpddr4_test_board)
else
openFPGALoader --board $(OFL_BOARD) build/$(TARGET)/gateware/$(TOP).bit --write-flash
endif
openocd -f openocd_scripts/openocd_xc7_ft4232_reset.cfg

srv: FORCE
litex_server --udp --udp-ip $(IP_ADDRESS) --udp-port $(UDP_PORT)
Expand Down
8 changes: 8 additions & 0 deletions openocd_scripts/openocd_xc7_ft4232_reset.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
interface ftdi
ftdi_vid_pid 0x0403 0x6011
ftdi_channel 0
ftdi_layout_init 0x0000 0x0000
adapter_khz 25000
transport select jtag
init
exit

0 comments on commit c539dab

Please sign in to comment.