Skip to content

Files

Latest commit

 

History

History
43 lines (33 loc) · 2.04 KB

PROGRAMMING.md

File metadata and controls

43 lines (33 loc) · 2.04 KB

UPDuino v2.1 Device Programming

Hardware Needed:

Software Needed:

FPGA Projects Needed:

Programming (SPI Flash):

  1. Plug the UPDuino v2.1 in to your PC using the micro USB port on the board
  2. Open the Lattice Diamond Programmer
  3. Click Detect Cable then OK
  4. After scanning select Generic JTAG Device and Select iCE40 UltraPlus
  5. Under Device click iCE40UP3K and change it to iCE40UP5K
  6. Under Operation double click Fast Program and change Access Mode: to SPI Flash Programming
  7. Select your *.hex programming file under Programming file.
  8. 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
  9. Click Load from File under SPI Programming to get load size
  10. Click Design -> Program

Project Synthesis (Compiling) and bitstream (Firmware) generation:

  1. Unzip UPDUINO21_RGB_LED_BLINK.zip

  2. Open Lattice iCECube2 Software

  3. Double click Open Project

  4. Navigate to *\UPDUINO_RGB_LED_BLINK\rgb\rgb_sbt.project and Open

  5. Double click Run Synplify Pro Synthesis

  6. Right click on Run P&R and left click Run 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