Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9f9d55
commit bd82336
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
# Blink | ||
|
||
This 'Hello World' equivalent simply blinks the RGB LED. They're high intensity LEDs that will almost | ||
burn your eyeballs if you stare at it long enough. | ||
|
||
# Requirements | ||
|
||
* Yosys | ||
* Arachne-pnr | ||
* Project IceStorm | ||
|
||
# Usage | ||
|
||
* ```make``` | ||
|
||
Builds ```chip.bin``` bitstream | ||
|
||
* ```make flash``` | ||
|
||
Program the bitstream to the device. | ||
|
||
Expected output during flashing: | ||
|
||
``` | ||
ubuntu@ubuntu-xenial:~/projects/upduino$ sudo make flash | ||
iceprog chip.bin | ||
init.. | ||
cdone: high | ||
reset.. | ||
cdone: high | ||
flash ID: 0xEF 0x40 0x16 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 | ||
file size: 104090 | ||
erase 64kB sector at 0x000000.. | ||
erase 64kB sector at 0x010000.. | ||
programming.. | ||
reading.. | ||
VERIFY OK | ||
cdone: high | ||
Bye. | ||
``` | ||
|