---

**[tickets:#410] FT232, FT2323 and FT4232 variant support**

**Status:** new
**Milestone:** 0.11.0
**Created:** Fri Aug 04, 2023 06:29 AM UTC by Jonathan Forrest
**Last Updated:** Fri Aug 04, 2023 06:29 AM UTC
**Owner:** nobody


It would be great if FTDI HA (automotive) and HP (power delivery) chip support 
can be added to OpenOCD.
These variants are functionally identical to the FTDI ICs currently supported 
so changes needed are fairly minimal, just to src/jtag/drivers/mpsse.c/.h

The ftdi_chip_type enum in mpsse.h would need the following chips added:
        FT4232HA,
        FT232HP,
        FT233HP,
        FT2232HP,
        FT2233HP,
        FT4232HP,
        FT4233HP

And the switch (desc.bcdDevice) block in mpsse.c would need corresponding cases 
added for each bcd.
The bcds can be found in each devices datasheet, or in the commit where these 
device variants were added into Linux: 
https://github.com/torvalds/linux/commit/cfebcd53e65ec6f932f202fc9769da9e13fa0792

Currently I'm having to rebuild OpenOCD to add in the IC I am using (FT4232HA), 
but it would be great if OpenOCD could support this out of the box


---

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.


Reply via email to