Olimex iCE40HX8K-EVB FPGA with VGA & Keyboard Demo

Started by mobluse, March 10, 2018, 10:25:51 AM

Previous topic - Next topic

mobluse

YouTube video with demo: https://youtu.be/wE-y6hiQBts

Demo of FPGA with VGA screen & keyboard.

In WSL Ubuntu 16.04 in Windows 10:
~$ cp -r iCE40HX8K-EVB/demo/ice40-io-video/ icestorm/examples/
~$ cd icestorm/examples/ice40-io-video/
~/icestorm/examples/ice40-io-video$ make
~/icestorm/examples/ice40-io-video$ cp example.bin /mnt/c/Users/pi/Downloads/

An Arduino Leonardo compatible set to 3.3V (Olimexino-32U4) shows up on COM5 and is connected via UEXT cable to the FPGA.
In Cmd.exe in Windows 10 in Downloads-folder:
winiceprogduino.exe -Icom5 example.bin

It is possible to communicate directly with serial devices from WSL Ubuntu e.g. COM5 becomes /dev/ttyS5, but I could not get it to work in this case but I have gotten it to work with other systems. I think the programmer for Linux does a lot of ioctl maneuvers that WSL Ubuntu isn't up to yet.

I also tried to use the programmer for Windows inside WSL Ubuntu, but this did also not work, which is stranger.

I think I will report these issues to WSL on GitHub, but I should test it in native Linux first.

References:
https://www.olimex.com/wiki/ICE40HX1K-EVB

https://olimex.wordpress.com/2016/06/30/getting-started-with-fpga-with-only-free-and-open-source-software-and-hardware-tools-tutorial/

https://olimex.wordpress.com/2016/07/12/hello-world-with-verilog-on-ice40hx1k-evb-with-open-source-tool-icestorm/

https://olimex.wordpress.com/2016/07/13/fpga-tutorial-vga-video-generation-with-ice40hx1k-evb-ice40-io-in-verilog/

https://olimex.wordpress.com/2016/07/18/using-ice40hx1k-evb-under-windows/
iCE40HX8K-EVB w/ iCE40-IO, DuinoMite-Mini, DuinoMite w/ DuinoMite-IO, Olimexino-32U4