Skip to content

khofesh/fpga-icestick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lattice iCEstick evaluation board

theboard

setup

https://github.com/FPGAwars/apio/wiki/Quick-start

1. apio

create new python virtual environment and install apio there.

virtualenv ~/fpgaenv
source ~/fpgaenv/bin/activate
pip install -U apio

2. install all the available apio packages

(fpgaenv) [fahmad@ryzen fpga-icestick]$  which apio
~/fpgaenv/bin/apio
(fpgaenv) [fahmad@ryzen fpga-icestick]$  apio --version

3. enable ftdi

apio drivers --ftdi-enable

list

(fpgaenv) [fahmad@ryzen fpga-icestick]$ apio system --lsftdi
Number of FTDI devices found: 1
Checking device: 0
Manufacturer: FTDI, Description: Dual RS232-HS

4. examples

apio examples -l
apio examples -d icestick/leds

list supported boards and create apio.ini

apio boards --list
apio init --board icestick

verify

apio verify

simulate

sudo dnf install gtkwave
apio sim

build

apio build

upload

apio upload

error uploading the program

thanks to Fabian Zachs on youtube comment section

Hi, I had the same issue. When you do apio system --lsftdi, the description doesnt match whats in the video/what apio expects. So to fix this, you need to find the apio/resources/boards.json file and change the description in there. To find this, i did: pip3 show apio. That gives you the "location" of apio. cd there and run find . -name "boards.json". Edit the file's "icestick" description entry. Change it from "Lattice FTUSB Interface Cable" to "Dual RS232-HS". Then retry apio upload

References

pinout

pinout

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published