This guide helps you set up the APIO toolchain and prepare a project for the ICENode FPGA development board. The commands below apply to APIO CLI 1.0 and later.

1. Install APIO

Follow the official APIO installation guide for your operating system. Once installed, verify your installation:

apio --version

2. Connect the ICENode board

  • Connect the board to your computer with a USB cable.
  • ICENode uses an FT2232H USB interface for programming and communication.
  • Install drivers if required for your operating system. See the APIO quick start for guidance.

3. Verify the connection

apio devices scan-usb

Look for the board’s FT2232H device in the list. Its displayed name can vary depending on the operating system and driver.

4. Create an ICENode project

List the available boards:

apio boards

In your project folder, create an APIO project configured for ICENode:

apio create --board icenode

This creates an apio.ini project file using the ICENode board definition. The board uses the Lattice iCE40 UltraPlus UP5K FPGA.

5. Add ICENode pin configuration

Add a .pcf pin configuration file to your project, with assignments matching your board revision and the port names in your design. The ICENode pin configuration will be published on GitLab.

The following illustrates the format only. These assignments have not been verified against the new ICENode pin file and should not be used until checked against the board’s pinout:

set_io CLK 35
set_io RGB0 39
set_io RGB1 40
set_io RGB2 41

Important: The .pcf file defines the FPGA pin connections. Incorrect assignments can prevent a design from working or cause electrical conflicts, so verify them before programming the board.