Hardware Needed:
Software Needed:
- Lattice Diamond/Radiant Programmer Standalone (Diamond v3.9 x64 used for programming instructions). Note that Radiant is specific to iCE40 UP devices while Diamond supports other Lattice devices as well.
- Lattice iCECube2 Software
FPGA Projects Needed:
Programming (SPI Flash):
- Plug the UPDuino v2.1 in to your PC using the micro USB port on the board
- Open the Lattice Diamond Programmer
- Click
Detect Cable
thenOK
- After scanning select
Generic JTAG Device
andSelect iCE40 UltraPlus
- Under
Device
click iCE40UP3K and change it to iCE40UP5K - Under
Operation
double clickFast Program
and changeAccess Mode:
toSPI Flash Programming
- Select your
*.hex
programming file underProgramming file
. - Configure the following
SPI Flash Options
a. Winbond (Numonyx for the yellow v2.0 UPDuino) b. SPI-N25Q032A (SPI-N25Q032 for the yellow v2.0 UPduino) c. 8-pin VDFPN8 - Click
Load from File
underSPI Programming
to get load size - Click
Design
->Program
Project Synthesis (Compiling) and bitstream (Firmware) generation:
-
Unzip UPDUINO21_RGB_LED_BLINK.zip
-
Open Lattice iCECube2 Software
-
Double click
Open Project
-
Navigate to *\UPDUINO_RGB_LED_BLINK\rgb\rgb_sbt.project and
Open
-
Double click
Run Synplify Pro Synthesis
-
Right click on
Run P&R
and left clickRun Bitmap
- Note – this will run all remaining synthesis steps including place, route and bitmap generation.
- Generated bitstream will be loaded in the
*\rgb\rgb_Implmnt\sbt\outputs\bitmap folder