libftdi: Add USBMATE.
This commit is contained in:
parent
c78066255d
commit
a83e76bef9
|
@ -56,6 +56,31 @@ cable_desc_t cable_desc[] = {
|
|||
.description = "FLOSS-JTAG",
|
||||
.name = "flossjtag"
|
||||
},
|
||||
{
|
||||
/* MPSSE_SK (DB0) ----------- SWDCK/JTCK
|
||||
* MPSSE-DO (DB1) -- 470 R -- SWDIO/JTMS
|
||||
* MPSSE-DI (DB2) ----------- SWDIO/JTMS
|
||||
* DO is tristated with SWD read, so
|
||||
* resistor is not necessary, but protects
|
||||
* from contentions in case of errors.
|
||||
* JTAG not possible
|
||||
* PIN6 (DB6) ----------- NRST */
|
||||
.vendor = 0x0403,
|
||||
.product = 0x6010,/*FT2232H*/
|
||||
.interface = INTERFACE_B,
|
||||
.init.data_low = PIN4, /* Pull up pin 4 */
|
||||
.init.ddr_low = PIN4, /* Pull up pin 4 */
|
||||
.mpsse_swd_read.set_data_low = MPSSE_DO,
|
||||
.mpsse_swd_write.set_data_low = MPSSE_DO,
|
||||
.assert_srst.data_low = ~PIN6,
|
||||
.assert_srst.ddr_low = PIN6,
|
||||
.deassert_srst.data_low = PIN6,
|
||||
.deassert_srst.ddr_low = ~PIN6,
|
||||
.target_voltage_cmd = GET_BITS_LOW,
|
||||
.target_voltage_pin = PIN4, /* Always read as target voltage present.*/
|
||||
.description = "USBMATE",
|
||||
.name = "usbmate"
|
||||
},
|
||||
{
|
||||
/* MPSSE_SK (DB0) ----------- SWDCK/JTCK
|
||||
* MPSSE-DO (DB1) -- 470 R -- SWDIO/JTMS
|
||||
|
|
Loading…
Reference in New Issue