Programming Cables: FPGA-UG-02042 Version 26.0
Programming Cables: FPGA-UG-02042 Version 26.0
User Guide
April 2018
Programming Cables
User Guide
Contents
1. Features ................................................................................................................................................................. 4
2. Programming Cables .............................................................................................................................................. 4
3. Programming Cable Pin Definitions ......................................................................................................................... 5
4. Programming Software ........................................................................................................................................... 7
5. Target Board Design Considerations ....................................................................................................................... 7
6. Programming Flywire and Connection Reference .................................................................................................... 8
7. Connecting the Programming Cable ...................................................................................................................... 10
8. Programming Cable TRST Pin ................................................................................................................................ 10
9. Programming Cable ispEN Pin ............................................................................................................................... 10
10. Ordering Information ........................................................................................................................................... 11
Appendix A. Troubleshooting the USB Driver Installation ............................................................................................. 12
Technical Support ....................................................................................................................................................... 16
Revision History .......................................................................................................................................................... 16
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
2 FPGA-UG-02042-26.0
Programming Cables
User Guide
Figures
Figure 1.1. USB Cable – HW-USBN-2B ............................................................................................................................ 4
Figure 3.1. Programming Cable In-System Programming Interface for the PC (HW-USBN-2B)* ....................................... 5
Figure 3.2. Programming Cable In-System Programming Interface for the PC (HW-USB-1A or HW-USB-2A)* .................. 6
Figure 3.3. Programming Cable In-System Programming Interface for the PC (HW-DLN-3C and Equivalents)*................. 6
Figure 3.4. Programming Cable In-System Programming Interface for the PC (pDS4102-DL2 or pDS4102- DL2A) ............ 6
Figure 3.5. Programming Cable In-System Programming Interface for the PC (HW7265-DL2 or HW7265-DL2A)* ............ 6
Figure A.1. Device Manager ......................................................................................................................................... 12
Figure A.2. Unknown Device Properties ....................................................................................................................... 12
Figure A.3. Update Driver Software.............................................................................................................................. 13
Figure A.4. Lattice EzUSB Driver ................................................................................................................................... 13
Figure A.5. FTDI FTUSB Driver ...................................................................................................................................... 13
Figure A.6. Windows Security ...................................................................................................................................... 14
Figure A.7. USB Installation Completed ........................................................................................................................ 14
Figure A.8. Installation Completed ............................................................................................................................... 14
Figure A.9. Installation Completed ............................................................................................................................... 15
Tables
Table 3.1. Programming Cable Pin Definitions ................................................................................................................ 5
Table 6.1. Pin and Cable Reference ................................................................................................................................ 8
Table 10.1. Programming Cable Feature Summary ....................................................................................................... 11
Table 10.2. Ordering Information................................................................................................................................. 11
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal. All other brand or product names are
trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-UG-02042-26.0 3
Programming Cables
User Guide
1. Features
Support for all Lattice programmable products
1.2 V to 3.3 V programming (HW-USBN-2B)
1.2 V to 5 V programming (All other cables)
Ideal for design prototyping and debugging
Connect to multiple PC interfaces
USB (v.1.0, v.2.0)
PC Parallel Port
Easy-to-use programming connectors
Versatile flywire, 2 x 5 (.100”) or 1 x 8 (.100”) connectors
6 feet (2 meters) or more of programming cable length (PC to DUT)
Lead-free/RoHS compliant construction
2. Programming Cables
Lattice Programming Cable products are the hardware connection for in-system programming of all Lattice devices.
After you complete your logic design and create a programming file with the Lattice Diamond®/ispLEVER® Classic
development tools, you can use Diamond Programmer or ispVM™ System software ispVM™ System software or
Diamond Programmer to program devices on your board. The ispVM System/Diamond Programmer software
automatically generates the appropriate programming commands, programming addresses and programming data
based on information stored in the programming file and parameters you set in Diamond Programmer/ispVM System.
Programming signals are then generated from the USB or parallel port of a PC and directed through the Programming
Cable to the device. No additional components are required for programming.
Diamond Programmer/ispVM System software is included with all Lattice design tool products and is available for
download from the Lattice web site at www.latticesemi.com/software.
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
4 FPGA-UG-02042-26.0
Programming Cables
User Guide
TCK/SCLK * TMS *
I2C: SCL TDI/SI *
5 V OUT TDO/SO *
Figure 3.1. Programming Cable In-System Programming Interface for the PC (HW-USBN-2B)*
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal. All other brand or product names are
trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-UG-02042-26.0 5
Programming Cables
User Guide
Function Color
V CC Red
SDO/TDO Brown
SDI/TDI Orange
ispEN/Enable/PROG Yellow
To PC ® TRST/DONE Gree n To System
MODE/TMS Purple Board
Figure 3.2. Programming Cable In-System Programming Interface for the PC (HW-USB-1A or HW-USB-2A)*
*Note: Lattice PAC-Designer® software does not support programming with USB cables. To program ispPAC devices with these cables,
use the Diamond Programmer/ispVM System software.
Figure 3.3. Programming Cable In-System Programming Interface for the PC (HW-DLN-3C and Equivalents)*
*Note: HW7265-DL3, HW7265-DL3A, HW-DL-3B, HW-DL-3C and HW-DLN-3C are functionally equivalent products.
End View
pDS4102-DL2 – Blue Housing
pDS4102-DL2A – Grey Housing Function Pin #
V CC 1
.100" Center-Spacing
SDO/TDO 2
RJ-45 Connector Eight Positions
Eight Positions SDI/TDI 3
25-pin
ispEN/Enable/PROG 4 To System
To PC Parallel
Port .01 f* TRST 5 Board
Adapter Capacitor MODE/TMS 6
6'
GND 7
SCLK/TCK 8
Figure 3.4. Programming Cable In-System Programming Interface for the PC (pDS4102-DL2 or pDS4102- DL2A)
Figure 3.5. Programming Cable In-System Programming Interface for the PC (HW7265-DL2 or HW7265-DL2A)*
*Note: For reference purposes, the 2 x 10 connector on the HW7265-DL2 or HW7265-DL2A is equivalent to Tyco 102387-1. This will
interface to standard 100-mil spacing 2 x 5 headers, or a 2 x 5 keyed, recessed male connector such as the 3M N2510-5002RB.
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
6 FPGA-UG-02042-26.0
Programming Cables
User Guide
4. Programming Software
Diamond Programmer and ispVM System for Classic devices is the preferred programming management software tool
for all Lattice devices and download cables. The latest version of Lattice Diamond Programmer or ispVM System
software is available for download from the Lattice web site at www.latticesemi.com/software.
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal. All other brand or product names are
trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-UG-02042-26.0 7
Programming Cables
User Guide
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
8 FPGA-UG-02042-26.0
Programming Cables
User Guide
Notes:
1. For older Lattice ISP devices, a 0.01 μF decoupling capacitor is required on ispEN/ENABLE of the target board.
2. For HW-USBN-2A/2B, the target board supplies the power - Typical ICC = 10 mA. For devices that have a VCCJ pin, the VCCJ must be connected to the cable’s VCC. For other
devices, connect the appropriate bank VCCIO to the cable's VCC. A 0.1 μF decoupling capacitor is required on VCCJ or VCCIO close to the device. Please refer to the device data
sheet to determine if the device has a VCCJ pin or what VCCIO bank governs the target programming port (this may not be the same as a target device’s core VCC/VSS plane).
3. Open drain signals. External pull-up ~2.2 kOhm resistor to the appropriate bank VCCIO or VCCJ is required.
4. When using PAC-Designer® software to program ispPAC devices, do not connect TRST/DONE.
5. If using a cable older than HW-USBN-2B, connect a +5 V external supply between iCEprog M1050 pin 4 (VCC) and pin 2 (GND).
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-UG-02042-26.0 9
Programming Cables
User Guide
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
10 FPGA-UG-02042-26.0
Programming Cables
User Guide
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-UG-02042-26.0 11
Programming Cables
User Guide
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
12 FPGA-UG-02042-26.0
Programming Cables
User Guide
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-UG-02042-26.0 13
Programming Cables
User Guide
8. Under Control Panel >System >Device Manager > Universal Serial Bus Controllers should include the following:
For the Lattice EzUSB Driver: Lattice USB ISP Programmer device installed.
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
14 FPGA-UG-02042-26.0
Programming Cables
User Guide
For the FTDI FTUSB Driver: USB Serial Converter A and Converter B devices installed.
If you are experiencing problems or need additional information, contact Lattice Technical Support.
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-UG-02042-26.0 15
Programming Cables
User Guide
Technical Support
For assistance, submit a technical support case at www.latticesemi.com/techsupport.
Revision History
Date Version Change Summary
April 2018 26.0 Changed document number from UG48 to FPGA-UG-02024.
Updated document template.
Revised Programming Cables section. Removed redundant information and changed
link to www/latticesemi.com/software.
Updated Programming Cable Pin names in Table 3.1. Programming Cable Pin
Definitions.
Updated Programming Flywire and Connection Reference Section.
Replaced Table 2. Flywire Conversion Reference and Table 3 Recommended Pin
Connections with a single Table 6.1 Pin and Cable Reference.
Moved Table 10.1. Programming Cable Feature Summary under Ordering Information.
November 2016 25.0 Updated Programming Flywire and Connection Reference section.
Revised Table 3, Recommended Pin Connections. Added CrossLink device.
October 2015 24.9 Updated Programming Flywire and Connection Reference section.
Revised Table 3, Recommended Pin Connections. Added CRESET-B column.
Added iCE40 UltraLite device.
Updated Technical Support Assistance section.
March 2015 24.8 Updated Programming Cable Pin Definitions section.
Revised description of INIT in Table 1, Programming Cable Pin Definitions.
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
16 FPGA-UG-02042-26.0
Programming Cables
User Guide
© 2009-2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-UG-02042-26.0 17
7th Floor, 111 SW 5th Avenue
Portland, OR 97204, USA
T 503.268.8000
www.latticesemi.com