Changeset 40 for trunk/FirmwareFX2
- Timestamp:
- Sep 11, 2009, 4:21:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FirmwareFX2/usbjtag.c
r28 r40 119 119 EP1OUTCFG = 0xA0; SYNCDELAY; // Endpoint 1 Type Bulk 120 120 EP1INCFG = 0xA0; SYNCDELAY; // Endpoint 1 Type Bulk 121 121 122 122 EP2FIFOCFG = 0x00; SYNCDELAY; // Endpoint 2 123 123 EP2CFG = 0xA2; SYNCDELAY; // Endpoint 2 Valid, Out, Type Bulk, Double buffered … … 125 125 EP4FIFOCFG = 0x00; SYNCDELAY; // Endpoint 4 not used 126 126 EP4CFG = 0xA0; SYNCDELAY; // Endpoint 4 not used 127 127 128 128 REVCTL = 0; SYNCDELAY; // Reset FW access to FIFO buffer, enable auto-arming when AUTOOUT is switched to 1 129 129 … … 146 146 EP4BCL = 0x80; SYNCDELAY; 147 147 148 PINFLAGSAB = 0xFA; SYNCDELAY; // 1111_1010 => FLAGA = EMPTY flag for EP6; FLAGB = FULL flag for EP8 148 PINFLAGSAB = 0xFA; SYNCDELAY; // 1111_1010 => FLAGA = EMPTY flag for EP6; FLAGB = FULL flag for EP8 149 150 151 // LED turned off by default 152 IOD |= (1 << 4); SYNCDELAY; 149 153 150 154 // Put the system in high speed by default (REM: USB-Blaster is in full speed)
Note:
See TracChangeset
for help on using the changeset viewer.