FT232H over USB from linux computer used to program Olimex iCE40HX1K-EVB flash chip. First applied 5v power from USB to pin 1 and GND to pin 2 of the BH34R extension header. Then connected the first 4 pins of the FT232H's AD port to the olimex's UEXT header like:
FT232H | Olimex UEXT |
---|---|
ADO (CLK) | 9 (iCE40-SCK) |
AD1 (MOSI) | 8 (iCE40-SDO) |
AD2 (MISO) | 7 (iCE40-SDI) |
AD3 (CS) | 10 (iCE40-SS) |
Then after build the blinky test program, then before using FLASHROM I need to first expand the blinky.bin image from 32kB to be 2MB by using command: