apio
apio copied to clipboard
Toolchain: Support for iceprogduino
The OLIMEX iCE40HX1K-EVB board is programed with "iceprogduino" which can be found in https://github.com/OLIMEX/iCE40HX1K-EVB/tree/master/programmer
Iceprogduino is a c-program which comes with a Makefile ("make + sudo make install")
In order to fully support the Olimex board in Apio this programmer should be included as part of the apio packages
Hi Obijuan, I send a merge request to toolchain-icestorm in which i added the script compile_iceprogduino.sh. Does this help?
for sure! It will help a lot :-) Thanks!
@x653 iceprogduino hardware.bin sh: iceprogduino: command not found scons: *** [upload] Error 127
Do you know how to fix this?
My temporary solution:
Download the https://github.com/OLIMEX/iCE40HX1K-EVB/tree/master/programmer repo Update the SerialPort in source code Compile cp iceprogduino /usr/local/bin/iceprogduino
then I can use apio upload
iceprogduino is a c-program used to upload the bitstream file to Olimexino fpga board iCE40HX1/8K-EVB connected over an arduino like programmer board (e.g. olimexino-32u4)
To install iceprogduino:
-
clone the repository git clone https://github.com/OLIMEX/iCE40HX1K-EVB.git
-
cd into the direcory cd iCE40HX1K-EVB/programmer/iceprogduino
-
compile and install make sudo make install
-
Run iceprogduino iceprogduino
Hope this helps.
By the way: To use iceprogduino you have to install the firmware onto your programmer board (olimexino-32u4). The firmware can be found in the same repository. Upload with arduino IDE...
@x653 Thanks for your reply. I used the same way as you mentioned. It works now.
iceprogduino is already been included in apio