aboutsummaryrefslogtreecommitdiffstats
path: root/iceprog
diff options
context:
space:
mode:
authorPiotr Esden-Tempski <piotr@esden.net>2018-08-18 15:29:11 -0700
committerPiotr Esden-Tempski <piotr@esden.net>2018-08-18 15:29:11 -0700
commit20ef4efd8b6c969697784a31b3a5f374d882877a (patch)
tree4bde26ad8c49712e1de4a8a696e4d0ba9de866b7 /iceprog
parentf4ff8f76309d82773881a24cad9d13116ce36025 (diff)
downloadicestorm-20ef4efd8b6c969697784a31b3a5f374d882877a.tar.gz
icestorm-20ef4efd8b6c969697784a31b3a5f374d882877a.tar.bz2
icestorm-20ef4efd8b6c969697784a31b3a5f374d882877a.zip
Added the FTDI cable pinout for reference.
Diffstat (limited to 'iceprog')
-rw-r--r--iceprog/iceprog.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/iceprog/iceprog.c b/iceprog/iceprog.c
index 42abd86..7029f00 100644
--- a/iceprog/iceprog.c
+++ b/iceprog/iceprog.c
@@ -40,6 +40,19 @@
// MPSSE / FTDI definitions
// ---------------------------------------------------------
+/* FTDI bank pinout typically used for iCE dev boards
+ * BUS IO | Signal | Control
+ * -------+--------+--------------
+ * xDBUS0 | SCK | MPSSE
+ * xDBUS1 | MOSI | MPSSE
+ * xDBUS2 | MISO | MPSSE
+ * xDBUS3 | nc |
+ * xDBUS4 | CS | GPIO
+ * xDBUS5 | nc |
+ * xDBUS6 | CDONE | GPIO
+ * xDBUS7 | CRESET | GPIO
+ */
+
static struct ftdi_context ftdic;
static bool ftdic_open = false;
static bool verbose = false;