Difference between revisions of "ICE40-notes"
Jump to navigation
Jump to search
Using
(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") |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
== Adafruit FT232H connections == | == Adafruit FT232H connections == | ||
* D0 ---> SCK | * D0 ---> SCK (flash pin 6) | ||
* D1 ---> | * D1 ---> SDO (flash pin 2) | ||
* D2 ---> | * D2 ---> SDI (flash pin 5) | ||
* D3 ---> Not connected | * D3 ---> Not connected | ||
* D4 ---> SS | * D4 ---> SS (flash pin 1) | ||
* D5 ---> Not connected | * D5 ---> Not connected | ||
* 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] |
Latest revision as of 14:51, 11 March 2022
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]