On Mon, Oct 29, 2018 at 11:28 AM Tim Harvey <thar...@gateworks.com> wrote:
>
> Greetings,
>
> I've got a BLE module which has an nRF52840 connected with its SWDIO
> and SWDCLK connected to an FTDI FT231XQ single UART CBUS1/CBUS2 pins.
> I'm hoping to program the nRF52840's flash via OpenOCD. It looks like
> openocd git master currently supports the nRF52840 and it seems I
> should be using the 'ftdi' driver but I'm a bit unclear if it supports
> the FT231XQ single UART chip and what my interface config file should
> look like.
>
> I've currently got:
> tcl/interface/ftdi/ft231xq-swd.cfg
> # Layout:  FTDI FT231XQ
> #   CBUS0 N/C
> #   CBUS1 BLE_SDIO
> #   CBUS2 BLE_SCLK
> #   CBUS0 N/C
>
> interface ftdi
> ftdi_device_desc "USB-JTAG"
> ftdi_vid_pid 0x0403 0x6015
> ftdi_layout_init 0x0006 0x0006
> ftdi_layout_signal SWD_EN -data 0
> transport select swd
>
> Any help would be greatly appreciated!
>

Digging into the code a bit it looks like the FT231X would not be
supported by the 'ftdi' driver as that driver is for chips with MPSSE.
So that takes me to the ft232r driver and looking at Emard's patch at
http://openocd.zylin.com/#/c/4681/ it seems there is no support for
FT231X GPIO yet.

Any patches out there for FT231X GPIO yet or any pointers to get me
started hacking it into OpenOCD?

Regards,

Tim


_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to