|
From: Tim H. <th...@ga...> - 2018-10-29 19:38:13
|
On Mon, Oct 29, 2018 at 12:29 PM The EMARD <vo...@gm...> wrote: > > HI Tim > > any FT231X RS232 pinout is is supported by my ft232r driver patch but > not the CBUS pins. This is also written in the patched readme doc too. > > driver currently supports any pinout wired to RS232 signaling pins (RX > TX DTR CTS RI etc) > if your hardware could be rewired this way, it could already work with my patch. > > Of course I'd like to see more, the support of any mix of RS232 and CBUS pins > where CBUS-only usage would just be a special case. > > Would you like to start with my patch and fix it for your hardware? > It is not plain easy but not too difficult either. > Davor, Thanks for the response! Yes, I found your patch (http://openocd.zylin.com/#/c/4681/) and have integrated it. Unfortunately on the boards I have in front of me I can't easily modify them to tie any of the UART signals to the SWD IO/CLK. Can you give me any pointers to get me started on adding CBUS/GPIO support? I'm not that familiar with the openocd codebase. I can see the ft232r_send_recv() function is what communicates with the chip via libusb but I'm not clear yet how the data bytes are mapped. cc'ing Paul who reviewed and commented on your ft232r patch as well. Regards, Tim |