mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-09-07 19:56:41 +02:00
add cmsis dap (hid) support
This commit is contained in:
+3
-1
@@ -14,7 +14,8 @@ enum communication_type {
|
||||
MODE_FTDI_BITBANG = 1, /*! used with ft232RL/ft231x */
|
||||
MODE_FTDI_SERIAL = 2, /*! ft2232, ft232H */
|
||||
MODE_DIRTYJTAG = 3, /*! JTAG probe firmware for STM32F1 */
|
||||
MODE_USBBLASTER = 4, /*! JTAG probe firmware for USBBLASTER */
|
||||
MODE_USBBLASTER = 4, /*! JTAG probe firmware for USBBLASTER */
|
||||
MODE_CMSISDAP = 5, /*! CMSIS-DAP JTAG probe */
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
@@ -28,6 +29,7 @@ static std::map <std::string, cable_t> cable_list = {
|
||||
{"anlogicCable", {MODE_ANLOGICCABLE, {}}},
|
||||
{"bus_blaster", {MODE_FTDI_SERIAL, {0x0403, 0x6010, INTERFACE_A, 0x08, 0x1B, 0x08, 0x0B}}},
|
||||
{"bus_blaster_b",{MODE_FTDI_SERIAL, {0x0403, 0x6010, INTERFACE_B, 0x08, 0x0B, 0x08, 0x0B}}},
|
||||
{"cmsisdap", {MODE_CMSISDAP, {0x0d28, 0x0204, 0, 0, 0, 0, 0 }}},
|
||||
{"digilent", {MODE_FTDI_SERIAL, {0x0403, 0x6010, INTERFACE_A, 0xe8, 0xeb, 0x00, 0x60}}},
|
||||
{"digilent_b", {MODE_FTDI_SERIAL, {0x0403, 0x6010, INTERFACE_B, 0xe8, 0xeb, 0x00, 0x60}}},
|
||||
{"digilent_hs2", {MODE_FTDI_SERIAL, {0x0403, 0x6014, INTERFACE_A, 0xe8, 0xeb, 0x00, 0x60}}},
|
||||
|
||||
Reference in New Issue
Block a user