Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toolchain: Support for iceprogduino #205

Closed
Obijuan opened this issue May 4, 2020 · 7 comments
Closed

Toolchain: Support for iceprogduino #205

Obijuan opened this issue May 4, 2020 · 7 comments

Comments

@Obijuan
Copy link
Member

Obijuan commented May 4, 2020

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

@x653
Copy link
Contributor

x653 commented Feb 13, 2021

Hi Obijuan,
I send a merge request to toolchain-icestorm in which i added the script compile_iceprogduino.sh.
Does this help?

@Obijuan
Copy link
Member Author

Obijuan commented Feb 18, 2021

for sure! It will help a lot :-) Thanks!

@xralphack
Copy link

@x653
iceprogduino hardware.bin
sh: iceprogduino: command not found
scons: *** [upload] Error 127

Do you know how to fix this?

@xralphack
Copy link

xralphack commented Jun 23, 2021

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

@x653
Copy link
Contributor

x653 commented Jun 23, 2021

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:

  1. clone the repository
    git clone https://github.com/OLIMEX/iCE40HX1K-EVB.git

  2. cd into the direcory
    cd iCE40HX1K-EVB/programmer/iceprogduino

  3. compile and install
    make
    sudo make install

  4. 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...

@xralphack
Copy link

@x653 Thanks for your reply.
I used the same way as you mentioned. It works now.

@Obijuan
Copy link
Member Author

Obijuan commented Mar 26, 2024

iceprogduino is already been included in apio

@Obijuan Obijuan closed this as completed Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants