mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-08-07 07:26:53 +10:00
Provide jtagspi with specific procedures to be able to use jtagspi for programming spi-flash devices on lattice certus and certus po devices. Change-Id: I6a8ec16be78f86073a4ef5302f6241185b08e1c6 Signed-off-by: Daniel Anselmi <danselmi@gmx.ch> Reviewed-on: https://review.openocd.org/c/openocd/+/7825 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
23 lines
619 B
INI
23 lines
619 B
INI
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# https://www.latticesemi.com/products/developmentboardsandkits/certuspro-nx-versa-board
|
|
|
|
adapter driver ftdi
|
|
ftdi vid_pid 0x0403 0x6010
|
|
|
|
ftdi channel 0
|
|
ftdi layout_init 0x0008 0x008b
|
|
reset_config none
|
|
transport select jtag
|
|
adapter speed 10000
|
|
|
|
source [find fpga/lattice_certuspro.cfg]
|
|
|
|
#openocd -f board/certuspro_evaluation.cfg -c "init" -c "pld load certuspro.pld shared_folder/certuspro_blinker_impl_1.bit"
|
|
|
|
set JTAGSPI_CHAIN_ID certuspro.pld
|
|
source [find cpld/jtagspi.cfg]
|
|
|
|
#jtagspi_init certuspro.pld "" -1
|
|
#jtagspi_program shared_folder/certuspro_blinker_impl1.bit 0
|