2022-12-12 02:49:51 -06:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
# BeMicro Cyclone III
|
|
|
|
|
|
|
|
|
|
|
|
adapter driver ftdi
|
|
|
|
ftdi channel 0
|
|
|
|
ftdi layout_init 0x0008 0x008b
|
|
|
|
ftdi vid_pid 0x0403 0xa4a0
|
|
|
|
reset_config none
|
|
|
|
transport select jtag
|
|
|
|
|
|
|
|
adapter speed 10000
|
|
|
|
|
2023-06-19 16:37:08 -05:00
|
|
|
source [find fpga/altera-cycloneiii.cfg]
|
2022-12-12 02:49:51 -06:00
|
|
|
|
|
|
|
#quartus_cpf --option=bitstream_compression=off -c output_files\cycloneiii_blinker.sof cycloneiii_blinker.rbf
|
|
|
|
|
2022-12-17 06:11:30 -06:00
|
|
|
#openocd -f board/bemicro_cycloneiii.cfg -c "init" -c "pld load cycloneiii.pld cycloneiii_blinker.rbf"
|
2024-01-01 09:05:07 -06:00
|
|
|
# "ipdbg create-hub cycloneiii.ipdbghub -tap cycloneiii.tap -ir 0x00e"
|
|
|
|
# "cycloneiii.ipdbghub ipdbg start -tool 0 -port 5555"
|
2022-12-17 06:11:30 -06:00
|
|
|
|
|
|
|
|
|
|
|
set JTAGSPI_CHAIN_ID cycloneiii.pld
|
|
|
|
source [find cpld/jtagspi.cfg]
|