Created
September 6, 2014 16:22
-
-
Save makestuff/095002e0387cdc8c46cf to your computer and use it in GitHub Desktop.
EP2C5 flash operations
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
# Read the ID of the attached SPI flash | |
flcli -v 1d50:602b -c 1 -a 'w1 00;w1 04;w0 9F000000;w1 00;r0 4' | |
FF 20 20 13 | |
# Generate .rbf file and write it to flash (note byte-swap) | |
quartus_cpf -c top_level.sof top_level.rbf | |
gordon -v 1d50:602b -t indirect:1 -w top_level.rbf:0 -s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment