ICE40-notes

From Spectrum
Revision as of 14:51, 11 March 2022 by 192.168.100.21 (talk) (→‎Adafruit FT232H connections)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Some notes on programming the ICE40 and its flash.

Adafruit FT232H connections

  • D0 ---> SCK (flash pin 6)
  • D1 ---> SDO (flash pin 2)
  • D2 ---> SDI (flash pin 5)
  • D3 ---> Not connected
  • D4 ---> SS (flash pin 1)
  • D5 ---> Not connected
  • D6 ---> CDONE
  • D7 ---> CRESET

Using iceprog

The USB vendor/product string must be specified:

  iceprog -d i:0x0403:0x6014

Read flash id:

  iceprog -d i:0x0403:0x6014 -t

Program:

  iceprog -d i:0x0403:0x6014 [filename]