Note when programming the ULX3S in Windows, Lattice Diamond does not recognized the FT232 as a programmer, so ujprog
is needed to send the bitfile.
When using WSL, ujprog
compiled as linux app will not work due to lack of USB suppport. Instead, use the windows ujprog.exe
(callable from WSL).
If not, ujprog
will return a message about not being able to find the JTAG cable.
ULX2S / ULX3S JTAG programmer v 3.0.92 (built Feb 28 2019 12:17:59)
Cannot find JTAG cable.
Blinky in Lattice Diamond for Windows
See also other examples and [ESP32 Blinky with Arduino IDE() and Visual Micro Arduino IDE for Visual Studio