FPGA-UG-02042-26-7-Programming-Cables
FPGA-UG-02042-26-7-Programming-Cables
User Guide
FPGA-UG-02042-26.7
April 2024
Programming Cables
User Guide
Disclaimers
Lattice makes no warranty, representation, or guarantee regarding the accuracy of information contained in this document or the suitability of its
products for any particular purpose. All information herein is provided AS IS, with all faults, and all associated risk is the responsibility entirely of the
Buyer. The information provided herein is for informational purposes only and may contain technical inaccuracies or omissions, and may be otherwise
rendered inaccurate for many reasons, and Lattice assumes no obligation to update or otherwise correct or revise this information. Products sold by
Lattice have been subject to limited testing and it is the Buyer's responsibility to independently determine the suitability of any products and to test
and verify the same. LATTICE PRODUCTS AND SERVICES ARE NOT DESIGNED, MANUFACTURED, OR TESTED FOR USE IN LIFE OR SAFETY CRITICAL
SYSTEMS, HAZARDOUS ENVIRONMENTS, OR ANY OTHER ENVIRONMENTS REQUIRING FAIL-SAFE PERFORMANCE, INCLUDING ANY APPLICATION IN
WHICH THE FAILURE OF THE PRODUCT OR SERVICE COULD LEAD TO DEATH, PERSONAL INJURY, SEVERE PROPERTY DAMAGE OR ENVIRONMENTAL
HARM (COLLECTIVELY, "HIGH-RISK USES"). FURTHER, BUYER MUST TAKE PRUDENT STEPS TO PROTECT AGAINST PRODUCT AND SERVICE FAILURES,
INCLUDING PROVIDING APPROPRIATE REDUNDANCIES, FAIL-SAFE FEATURES, AND/OR SHUT-DOWN MECHANISMS. LATTICE EXPRESSLY DISCLAIMS
ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS OF THE PRODUCTS OR SERVICES FOR HIGH-RISK USES. The information provided in this document
is proprietary to Lattice Semiconductor, and Lattice reserves the right to make any changes to the information in this document or to any products at
any time without notice.
© 2024 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.7
Programming Cables
User Guide
Contents
Contents ............................................................................................................................................................................... 3
1. Features ......................................................................................................................................................................... 5
2. Programming Cables ..................................................................................................................................................... 5
3. Programming Cable Pin Definitions ............................................................................................................................... 6
4. Programming Software ................................................................................................................................................. 8
5. Target Board Design Considerations ............................................................................................................................. 8
6. Programming Flywire and Connection Reference ......................................................................................................... 9
7. Connecting the Programming Cable ............................................................................................................................ 12
8. Programming Cable TRST Pin ...................................................................................................................................... 12
9. Programming Cable ispEN Pin ..................................................................................................................................... 12
10. Ordering Information .................................................................................................................................................. 13
Appendix A. Troubleshooting the USB Driver Installation .................................................................................................. 14
Appendix B. USB Programming Cable Firmware Update ................................................................................................... 18
Technical Support Assistance ............................................................................................................................................. 19
Revision History .................................................................................................................................................................. 20
© 2024 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.7 3
Programming Cables
User Guide
Figures
Figure 1.1. USB Cable – HW-USBN-2B ..................................................................................................................................5
Figure 3.1. Programming Cable In-System Programming Interface for the PC (HW-USBN-2B)*..........................................6
Figure 3.2. Programming Cable In-System Programming Interface for the PC (HW-USB-1A or HW-USB-2A)* ...................7
Figure 3.3. Programming Cable In-System Programming Interface for the PC (HW-DLN-3C and Equivalents)*..................7
Figure 3.4. Programming Cable In-System Programming Interface for the PC (pDS4102-DL2 or pDS4102- DL2A) .............7
Figure 3.5. Programming Cable In-System Programming Interface for the PC (HW7265-DL2 or HW7265-DL2A)* .............7
Figure A.1. Device Manager ................................................................................................................................................14
Figure A.2. Unknown Device Properties .............................................................................................................................14
Figure A.3. Update Driver Software ....................................................................................................................................15
Figure A.4. Lattice EzUSB Driver .........................................................................................................................................15
Figure A.5. FTDI FTUSB Driver .............................................................................................................................................15
Figure A.6. Windows Security .............................................................................................................................................16
Figure A.7. USB Installation Completed ..............................................................................................................................16
Figure A.8. Installation Completed .....................................................................................................................................17
Figure A.9. Installation Completed .....................................................................................................................................17
Tables
Table 3.1. Programming Cable Pin Definitions .....................................................................................................................6
Table 6.1. Pin and Cable Reference ......................................................................................................................................9
Table 10.1. Programming Cable Feature Summary ............................................................................................................13
Table 10.2. Ordering Information .......................................................................................................................................13
© 2024 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.7
Programming Cables
User Guide
1. Features
• Support for all Lattice programmable products
• 2.5 V to 3.3 V I2C programming (HW-USBN-2B)
• 1.2 V to 3.3 V JTAG and SPI programming (HW-USBN-2B)
• 1.2 V to 5 V JTAG and SPI 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 user complete the logic design and create a programming file with the Lattice Diamond®/ispLEVER®
Classic/Radiant development tools, user can use Diamond/Radiant Programmer or ispVM™ System software to
program devices on board. The ispVM System/Diamond/Radiant Programmer software automatically generates the
appropriate programming commands, programming addresses and programming data based on information stored in
the programming file and parameters set in Diamond/Radiant 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.
Note: Port A is for JTAG programming. Radiant programming software can use the built-in cable via the USB hub on the
PC, which detects the cable of the USB function on Port A. While Port B is for UART/I2C interface access.
Diamond Programmer/Radiant 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/programmer.
© 2024 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.7 5
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)*
© 2024 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.7
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
61 HW-USB-1A GN D Black
SCLK/TCK W hite
IN IT Blue
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.
© 2024 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.7 7
Programming Cables
User Guide
4. Programming Software
Diamond/Radiant 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/Radiant Programmer or
ispVM System software is available for download from the Lattice web site at www.latticesemi.com/programmer.
© 2024 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.7
Programming Cables
User Guide
HW-USBN-2A TDI TDO TMS TCK ispEN/PROG INIT TRST(OUTPUT)/DONE(INPUT) VCC GND
Flywire color Orange Brown Purple White Yellow Blue Green Red Black
na
HW-DLN-3C TDI TDO TMS TCK ispEN/PROG TRST(OUTPUT) VCC GND
na
Flywire color Orange Brown Purple White Yellow Green Red Black
Output Input Output Output Output Input Input/Output Input Input Output Output Output
Programming cable pin type 4.7 kΩ 4.7 kΩ (Note 3) (Note 3)
— — Pull-Up Pull-Down
(Note 1) — — (Note 2) — —
Target Board Recommendation (Note 6) (Note 6)
Connect the programming cable wires (above) to the corresponding device or header pins (below).
JTAG Port Devices
ECP5™ TDI TDO TMS TCK Required Required — — —
LatticeECP3™/LatticeECP2M™
LatticeECP2™/LatticeECP™/ TDI TDO TMS TCK Required Required — — —
LatticeEC™
© 2024 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.7 9
Programming Cables
User Guide
HW-USBN-2B TDI/SI TDO/SO TMS TCK/SCLK ISPEN/PROG DONE TRST(OUTPUT) VCC GND I2C: SCL I2C: SDA 5 V Out
Flywire color Orange Brown Purple White Yellow Blue Green Red Black Yellow/White Green/White Red/White
HW-USBN-2A TDI TDO TMS TCK ispEN/PROG INIT TRST(OUTPUT)/DONE(INPUT) VCC GND
Flywire color Orange Brown Purple White Yellow Blue Green Red Black
na
HW-DLN-3C TDI TDO TMS TCK ispEN/PROG TRST(OUTPUT) VCC GND
na
Flywire color Orange Brown Purple White Yellow Green Red Black
Output Input Output Output Output Input Input/Output Input Input Output Output Output
Programming cable pin type 4.7 kΩ 4.7 kΩ (Note 3) (Note 3)
— — (Note 1) — — (Note 2) — —
Target Board Recommendation Pull-Up Pull-Down (Note 6) (Note 6)
Connect the programming cable wires (above) to the corresponding device or header pins (below).
Slave SPI Port Devices
ECP5 MOSI MISO — CCLK SN Required Required — — —
Optional connections to device
LatticeECP3 MOSI MISO — CCLK SN Required Required — — —
PROGRAMN, INITN and/or DONE signals
MachXO2/MachXO3/MachXO3D SI SO — CCLK SN Required Required — — —
Opt.
CrossLink LIF-MD6000 MOSI MISO — SPI_SCK SPI_SS CRESET_B Required Required — — —
CDONE
© 2024 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.7
Programming Cables
User Guide
Opt.
CrossLink LIF-MD6000 — — — — — CRESET_B Required Required SCL SDA —
CDONE
Headers
1 x 10 conn (various cables) 3 2 6 8 4 9 or 10 5 or 9 1 7 — — —
1 x 8 conn (see Figure 3.4) 3 2 6 8 4 — 5 1 7 — — —
2 x 5 conn (see Figure 3.5) 5 7 3 1 10 — 9 6 2, 4,or 8 — — —
Programmers
Model 300 5 7 3 1 10 — 9 6 2, 4,or 8 — — —
iCEprog™ iCEprogM1050 8 5 — 7 9 3 1 6 10 — — 4 (Note 5)
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. Target board should have ~2.2 kΩ pull-up resistor connected to the same plane to which VCC is connected. HW-USBN-2B cables provide internal 3.3 kΩ pull-
ups to VCC.
4. When using PAC-Designer® software to program ispPAC or ispClock devices, do not connect TRST/DONE.
5. If using a cable older than HW-USBN-2B, connect a +5 V external supply between iCEprogM1050 pin 4 (VCC) and pin 2 (GND).
6. For HW-USBN-2B, only VCC values of 3.3 V thru 2.5 V are supported for I2C.
© 2024 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.7 11
Programming Cables
User Guide
© 2024 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.7
Programming Cables
User Guide
© 2024 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.7 13
Programming Cables
User Guide
© 2024 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.7
Programming Cables
User Guide
© 2024 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.7 15
Programming Cables
User Guide
10. Under Control Panel >System >Device Manager > Universal Serial Bus Controllers should include the following:
a. For the Lattice EzUSB Driver: Lattice USB ISP Programmer device installed.
© 2024 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.7
Programming Cables
User Guide
b. For the FTDI FTUSB Driver: USB Serial Converter A and Converter B devices installed.
If user experiencing problems or need additional information, contact Lattice Technical Support.
© 2024 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.7 17
Programming Cables
User Guide
© 2024 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.
18 FPGA-UG-02042-26.7
Programming Cables
User Guide
© 2024 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.7 19
Programming Cables
User Guide
Revision History
Revision 26.7, April 2024
Section Change Summary
Programming Cable Pin Updated note 1 to Table 3.1. Programming Cable Pin Definitions to indicate that Nexus and
Definitions Avant I2C programming ports are not supported.
Programming Flywire and Table 6.1. Pin and Cable Reference:
Connection Reference • Grouped Nexus product lines into a single row for JTAG and SSPI ports.
• Added MachXO5-NX to the JTAG port devices list.
• Removed Nexus product lines for I2C port.
© 2024 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.
20 FPGA-UG-02042-26.7
Programming Cables
User Guide
© 2024 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.7 21
Programming Cables
User Guide
© 2024 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.
22 FPGA-UG-02042-26.7
Programming Cables
User Guide
Previous Revisions
Section Change Summary
— Previous Lattice releases.
© 2024 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.7 23
www.latticesemi.com