6936 - Diamond/Radiant Programmer: HW USBN programmer not scanning the device and I2C function does not work.

6936 - Diamond/Radiant Programmer: HW USBN programmer not scanning the device and I2C function does not work.

Problem:

Case 1: I cannot use the I2C function of my HW-USBN-2B
Case 2: Model300 programmer does not recognize HW-USBN-2B
Case3: When doing JTAG scan with HW-USBN-2B, I am detecting the following devices. MachXO2 and ispPAC Power Manager II. See image below for example:







Solution:

All of the issues above are caused by wrong FTDI firmware uploaded on the HW-USBN 2B. You can resolve this issue by doing the procedure below:

Before starting this procedure, please make sure to have downloaded the latest .xml file of USB2B from Lattice website: 

https://www.latticesemi.com/Products/DevelopmentBoardsAndKits/ProgrammingCablesforPCs.


Also please download FT_Prog software from FTDI website: 

https://ftdichip.com/wp-content/uploads/2023/06/FT_Prog_v3.12.32.640-Installer.zip


See image below for the downloaded folders from the Lattice Website firmware for USBN2B

 

FTDI firmware folder should contain the file “HW-USBN-2B.xml”

1.       Press Scan and Parse button (Magnifying glass).

2. Open required template (HW-USBN-2B.xml)  downloaded from the lattice website. See image below for the steps

3. Right click on device and select Apply Template select Template: HW-USBN-2B.xml.

4. Press the Program button (lightning) then press Program button when the Program Devices window appear.

5. After programming, try to press Scan and parse button again. The device should now be identifying as Lattice HW-USBN-2B-Ch