#include <usb.h>
Go to the source code of this file.
Defines | |
| #define | BUSRT_ECHO_MAX 0x10000 |
| #define | DMA32_WR1_MAX 0x400 |
| #define | DMA32_WR2_MAX 0x100000 |
| #define | FAST_WR2_MAX 0x1000000 |
| #define | LS232_USB_EJTAG_PRODUCT_ID 0x6688 |
| #define | LS232_USB_EJTAG_VENDOR_ID 0x2961 |
| #define | OP_BURST_ECHO 0x9 |
| #define | OP_DMA32_WRITE1 0x6 |
| #define | OP_DMA32_WRITE2 0x7 |
| #define | OP_EJTAG_I_SHIFT 0x8 |
| #define | OP_EJTAG_SHIFT 0xA |
| #define | OP_EJTAG_W_SHIFT 0x9 |
| #define | OP_FAST_READ 0x10 |
| #define | OP_FAST_WRITE1 0xB |
| #define | OP_FAST_WRITE2 0xC |
| #define | OP_FPGA_INFO 0x3 |
| #define | OP_SIGNAL_ECHO 0x8 |
| #define | OP_TAP_RST 0x1 |
| #define | OP_TARGET_RST 0x2 |
| #define | OP_WR_DR 0x5 |
| #define | OP_WR_IR 0x4 |
| #define | OP_WR_UPLOAD 0xF |
| #define | USB_CAN_BULK_WR_FLAG 1 |
| #define | USB_FOUND 1 |
| #define | USB_NO_FOUND 0 |
| #define | USB_NOT_BULK_WR_FLAG 0 |
Variables | |
| unsigned short | burst_echo_data [BUSRT_ECHO_MAX+3] = {0} |
| char * | bus_name = "001" |
| struct usb_device * | current_device |
| usb_dev_handle * | current_handle |
| char * | device_name = "001" |
| unsigned short | dma32_write1_data [DMA32_WR1_MAX+1] = {0} |
| unsigned short | dma32_write2_data [DMA32_WR2_MAX+3] = {0} |
| int | endpoint = 0 |
| unsigned short | fast_read_data [FAST_WR2_MAX+3] = {0} |
| unsigned short | fast_write2_data [FAST_WR2_MAX+3] = {0} |
| unsigned short | signal_echo_data [3] = {0} |
| int | usb_can_bulk_wr_flag = USB_NOT_BULK_WR_FLAG |
| unsigned short | usb_wr_dr_data [3] = {0} |
| #define BUSRT_ECHO_MAX 0x10000 |
| #define DMA32_WR1_MAX 0x400 |
| #define DMA32_WR2_MAX 0x100000 |
| #define FAST_WR2_MAX 0x1000000 |
| #define LS232_USB_EJTAG_PRODUCT_ID 0x6688 |
| #define LS232_USB_EJTAG_VENDOR_ID 0x2961 |
| #define OP_BURST_ECHO 0x9 |
| #define OP_DMA32_WRITE1 0x6 |
| #define OP_DMA32_WRITE2 0x7 |
| #define OP_EJTAG_I_SHIFT 0x8 |
Definition at line 18 of file usb_ejtag_command.h.
Referenced by signal_echo(), usb_wr_dr(), and usb_wr_ir().
| #define OP_EJTAG_SHIFT 0xA |
Definition at line 16 of file usb_ejtag_command.h.
Referenced by burst_echo(), dma32_write1(), dma32_write2(), fast_read(), fast_write2(), fpga_info_ejtag(), signal_echo(), tap_reset(), target_reset(), usb_wr_dr(), usb_wr_dr_nwb(), usb_wr_ir(), and usb_wr_upload().
| #define OP_EJTAG_W_SHIFT 0x9 |
Definition at line 17 of file usb_ejtag_command.h.
Referenced by signal_echo(), usb_wr_dr(), and usb_wr_ir().
| #define OP_FAST_READ 0x10 |
| #define OP_FAST_WRITE1 0xB |
Definition at line 47 of file usb_ejtag_command.h.
| #define OP_FAST_WRITE2 0xC |
| #define OP_FPGA_INFO 0x3 |
| #define OP_SIGNAL_ECHO 0x8 |
| #define OP_TAP_RST 0x1 |
| #define OP_TARGET_RST 0x2 |
| #define OP_WR_DR 0x5 |
| #define OP_WR_IR 0x4 |
| #define OP_WR_UPLOAD 0xF |
| #define USB_CAN_BULK_WR_FLAG 1 |
Definition at line 64 of file usb_ejtag_command.h.
Referenced by fJTAG_Init(), usb_fx2_reset(), and usb_stop().
| #define USB_FOUND 1 |
| #define USB_NO_FOUND 0 |
Definition at line 62 of file usb_ejtag_command.h.
Referenced by dump_busses(), fJTAG_Init(), and usb_tap_init().
| #define USB_NOT_BULK_WR_FLAG 0 |
| unsigned short burst_echo_data[BUSRT_ECHO_MAX+3] = {0} |
| char* bus_name = "001" |
| struct usb_device* current_device |
Definition at line 77 of file usb_ejtag_command.h.
Referenced by usb_fx2_reset(), and usb_tap_init().
| usb_dev_handle* current_handle |
Definition at line 78 of file usb_ejtag_command.h.
Referenced by fast_read(), fast_write2(), usb_fx2_reset(), usb_hardware_rcv(), usb_hardware_send(), usb_stop(), usb_wr_dr(), usb_wr_ir(), and usb_wr_upload().
| char* device_name = "001" |
| unsigned short dma32_write1_data[DMA32_WR1_MAX+1] = {0} |
| unsigned short dma32_write2_data[DMA32_WR2_MAX+3] = {0} |
| int endpoint = 0 |
Definition at line 81 of file usb_ejtag_command.h.
Referenced by fast_read(), fast_write2(), usb_wr_dr(), usb_wr_ir(), and usb_wr_upload().
| unsigned short fast_read_data[FAST_WR2_MAX+3] = {0} |
| unsigned short fast_write2_data[FAST_WR2_MAX+3] = {0} |
| unsigned short signal_echo_data[3] = {0} |
| int usb_can_bulk_wr_flag = USB_NOT_BULK_WR_FLAG |
Definition at line 68 of file usb_ejtag_command.h.
Referenced by fJTAG_Init(), usb_fx2_reset(), and usb_stop().
| unsigned short usb_wr_dr_data[3] = {0} |
Definition at line 69 of file usb_ejtag_command.h.
Referenced by usb_wr_dr(), usb_wr_dr_nwb(), and usb_wr_upload().
1.5.6