summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-08-01 04:56:23 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2011-08-01 04:56:23 (GMT)
commite980967a451db465b6f7b7ca2c8c35553be68a78 (patch)
treea7facf65f1fcc72b26d2770f04bfd4c48e4e37cc
parent1a884591c49cd39ab85cca7ac1b67405b05b19db (diff)
downloadde1flash-e980967a451db465b6f7b7ca2c8c35553be68a78.zip
de1flash-e980967a451db465b6f7b7ca2c8c35553be68a78.tar.gz
de1flash-e980967a451db465b6f7b7ca2c8c35553be68a78.tar.bz2
de1flash-e980967a451db465b6f7b7ca2c8c35553be68a78.tar.xz
README: document the crc32 commandHEADde1flash-1.1master
-rw-r--r--README13
1 files changed, 8 insertions, 5 deletions
diff --git a/README b/README
index 285282d..4668172 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
## -----------------------------------------------------------------------
-##
+##
## Copyright 2011 H. Peter Anvin - All Rights Reserved
##
## Permission is hereby granted, free of charge, to any person
@@ -10,10 +10,10 @@
## sell copies of the Software, and to permit persons to whom
## the Software is furnished to do so, subject to the following
## conditions:
-##
+##
## The above copyright notice and this permission notice shall
## be included in all copies or substantial portions of the Software.
-##
+##
## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
## EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
## OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@@ -45,6 +45,7 @@ Usage:
quartus_stp -t de1flash.tcl read filespec...
quartus_stp -t de1flash.tcl write filespec...
quartus_stp -t de1flash.tcl writeonly filespec...
+ quartus_stp -t de1flash.tcl crc32 filespec...
quartus_stp -t de1flash.tcl erase filespec...
quartus_stp -t de1flash.tcl eraseall
@@ -66,7 +67,9 @@ of the flash for read commands.
A filespec without a filename is ignored (except for computing the
next default address) for the read and writeonly commands and means
-"erase only" for the write and erase commands.
+"erase only" for the write and erase commands. For the crc32 command
+the filename doesn't matter and is only used to get the default length.
Reads are substantially slower than writes. This appears to be a
-limitation of the Altera JTAG stack.
+limitation of the Altera JTAG stack. To verify correct writing, use
+the crc32 command; the crc32 used is the same as used by zip/gzip.