From b3cf267705758a305a59b2d31e76e752d84a204c Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Fri, 21 Jun 2019 14:42:20 -0700 Subject: Fix OpenOCD cfg and remove warnings Fix OpenOCD config generator for hifive boards Remove some warnings for FE310-compatible targets related to clocks and the PRCI. Signed-off-by: Nathaniel Graff --- bsp/sifive-hifive1/openocd.cfg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bsp/sifive-hifive1/openocd.cfg') diff --git a/bsp/sifive-hifive1/openocd.cfg b/bsp/sifive-hifive1/openocd.cfg index 0a20b89..5835934 100644 --- a/bsp/sifive-hifive1/openocd.cfg +++ b/bsp/sifive-hifive1/openocd.cfg @@ -3,12 +3,12 @@ adapter_khz 10000 interface ftdi -ftdi_device_desc "Olimex OpenOCD JTAG ARM-USB-TINY-H" -ftdi_vid_pid 0x15ba 0x002a +ftdi_device_desc "Dual RS232-HS" +ftdi_vid_pid 0x0403 0x6010 -ftdi_layout_init 0x0808 0x0a1b -ftdi_layout_signal nSRST -oe 0x0200 -ftdi_layout_signal LED -data 0x0800 +ftdi_layout_init 0x0008 0x001b +ftdi_layout_signal nSRST -oe 0x0020 +ftdi_layout_signal LED -data 0x0020 set _CHIPNAME riscv jtag newtap $_CHIPNAME cpu -irlen 5 -- cgit v1.2.3