Rev 2935 Rev 2940
Line 1... Line 1...
1 // Program Version 1 // Program Version
2 // --------------- 2 // ---------------
3   3  
4 #define VERSION "1.05" // Program version 4 #define VERSION "1.06" // Program version
5   5  
6   6  
7 // JTAG Port Definitions 7 // JTAG Port Definitions
8 // --------------------- 8 // ---------------------
9   9  
10 // Use FTDI as Port Interface 10 // Use FTDI as Port Interface
11 #include "mlab_xvcd_port_FTDI.h" 11 #include "mlab_xvcd_port_FTDI.h"
12   12  
13 // JTAG Port Pin Masks (look at mlab_xvcd_port_FTDI.h for pin names) 13 // JTAG Port Pin Masks (look at mlab_xvcd_port_FTDI.h for pin names)
14 #define PORT_TCK FTDI_TXD // JTAG TCK (output) 14 #define PORT_TCK ( FTDI_TXD ) // JTAG TCK (output)
15 #define PORT_TDI FTDI_RXD // JTAG TDI (output) 15 #define PORT_TDI ( FTDI_RXD ) // JTAG TDI (output)
16 #define PORT_TDO FTDI_RTS // JTAG TDO (input) 16 #define PORT_TDO ( FTDI_RTS ) // JTAG TDO (input)
17 #define PORT_TMS FTDI_CTS // JTAG TMS (output) 17 #define PORT_TMS ( FTDI_CTS ) // JTAG TMS (output)
18 #define PORT_LED FTDI_RI | CBUS3 // Activituy LED (output) 18 #define PORT_LED ( FTDI_RI | CBUS3 ) // Activituy LED (output)
19   19  
20 // FTDI Settings 20 // FTDI Settings
21 #define BAUD_RATE 1000000 // Baoud Rate (mult it by 16) 21 #define BAUD_RATE 1000000 // Baoud Rate (mult it by 16)
22 #define USB_LATENCY 1 // FTDI USB Latency Timer in ms (FT232R 0, FT2232 1) 22 #define USB_LATENCY 1 // FTDI USB Latency Timer in ms (FT232R 0, FT2232 1)
23   23