iceprog(1) 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:

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.


-d <device-string>
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 <[email protected]> for the Debian project (and may be used by others).