Difference between revisions of "ICE40-notes"

From Spectrum
Jump to navigation Jump to search
(Created page with "Some notes on programming the ICE40 and its flash. == Adafruit FT232H connections == * D0 ---> SCK * D1 ---> MOSI * D2 ---> MISO * D3 ---> Not connected * D4 ---> SS * D5 ---> Not connected * D6 ---> CDONE * D7 ---> CRESET")
 
Line 11: Line 11:
* D6 ---> CDONE
* D6 ---> CDONE
* D7 ---> CRESET
* D7 ---> CRESET
== Using <code>iceprog</code> ==
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]

Revision as of 15:32, 11 March 2022

Some notes on programming the ICE40 and its flash.

Adafruit FT232H connections

  • D0 ---> SCK
  • D1 ---> MOSI
  • D2 ---> MISO
  • D3 ---> Not connected
  • D4 ---> SS
  • 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]