DOKK / manpages / debian 10 / fpga-icestorm / iceprog.1.en
ICEPROG(1) ICEPROG(1)

iceprog - simple programming tool for FTDI-based Lattice iCE programmers

iceprog [options] <filename>

Notes for iCEstick (iCE40HX-1k devel board):


An unmodified iCEstick can only be programmed via the serial flash.
Direct programming of the SRAM is not supported. For direct SRAM
programming the flash chip and one zero ohm resistor must be desoldered
and the FT2232H SI pin must be connected to the iCE SPI_SI pin, as shown
in this picture: http://www.clifford.at/gallery/2014-elektronik/IMG_20141115_183838
Notes for the iCE40-HX8K Breakout Board:


Make sure that the jumper settings on the board match the selected
mode (SRAM or FLASH). See the iCE40-HX8K user manual for details.

use the specified USB device:
(e.g. d:002/005)
(e.g. i:0x0403:0x6010)
(e.g. i:0x0403:0x6010:0) s:<vendor>:<product>:<serial-string>
connect to the specified interface on the FTDI chip
read entire flash (32Mb / 4MB) and write to file
read first 256 kB from flash and write to file
do not write flash, only verify (check)
bulk erase entire flash before writing
do not erase flash before writing
perform SRAM programming
just read the flash ID sequence
verbose output

This manual page was written by Ruben Undheim <ruben.undheim@gmail.com> for the Debian project (and may be used by others).

20 December 2018