.\" Text automatically generated by txt2man .TH ICEPROG 1 "20 December 2018" "" "" .SH NAME \fBiceprog \fP- simple programming tool for FTDI-based Lattice iCE programmers \fB .SH SYNOPSIS .nf .fam C \fBiceprog\fP [\fIoptions\fP] .fam T .fi .fam T .fi .SH DESCRIPTION Notes for iCEstick (iCE40HX-1k devel board): .PP .nf .fam C 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 .fam T .fi Notes for the iCE40-HX8K Breakout Board: .PP .nf .fam C Make sure that the jumper settings on the board match the selected mode (SRAM or FLASH). See the iCE40-HX8K user manual for details. .fam T .fi .SH OPTIONS .TP .B \fB-d\fP use the specified USB device: .RS .TP .B d: (e.g. d:002/005) .TP .B i:: (e.g. i:0x0403:0x6010) .TP .B i::: (e.g. i:0x0403:0x6010:0) s::: .RE .TP .B \fB-I\fP [ABCD] connect to the specified interface on the FTDI chip .TP .B \fB-r\fP read entire flash (32Mb / 4MB) and write to file .TP .B \fB-R\fP read first 256 kB from flash and write to file .TP .B \fB-c\fP do not write flash, only verify (check) .TP .B \fB-b\fP bulk erase entire flash before writing .TP .B \fB-n\fP do not erase flash before writing .TP .B \fB-S\fP perform SRAM programming .TP .B \fB-t\fP just read the flash ID sequence .TP .B \fB-v\fP verbose output .RE .PP .SH AUTHOR This manual page was written by Ruben Undheim for the Debian project (and may be used by others). .RE .PP