summaryrefslogtreecommitdiffstats
path: root/electronics
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-01-02 12:25:18 +0100
committerbnewbold <bnewbold@robocracy.org>2016-01-02 12:25:18 +0100
commitc4ca98ff9376cad2a5f56972222707d784199ad9 (patch)
tree791e855f753e667066a8fec405c993e2a1932363 /electronics
parentf8964079ed9354ed1879c96def3603e4dbef957d (diff)
downloadknowledge-c4ca98ff9376cad2a5f56972222707d784199ad9.tar.gz
knowledge-c4ca98ff9376cad2a5f56972222707d784199ad9.zip
fpga toolchain: reword troubleshooting section
Diffstat (limited to 'electronics')
-rw-r--r--electronics/fpga-toolchain.page33
1 files changed, 16 insertions, 17 deletions
diff --git a/electronics/fpga-toolchain.page b/electronics/fpga-toolchain.page
index 2663576..f60062e 100644
--- a/electronics/fpga-toolchain.page
+++ b/electronics/fpga-toolchain.page
@@ -157,30 +157,29 @@ uploaded, and can be created with the programmer GUI):
sudo /usr/local/diamond/3.1_x64/bin/lin64/pgrcmd -infile program_breakout_example.xcf -cabletype USB2
-Troubleshooting:
+Troubleshooting Notes
+~~~~~~~~~~~~~~~~~~~~~~~~
-- only the programmer can be open; otherwise the IDE latches on?
-- better way is DIY with a script or using udev rules
-- udevadm test /dev/bus/usb/###/###
-- programming might not work ever?
-- bundled ftdi errors ("[122032.033366] pgrcmain[10879]: segfault at 50 ip 00007f4cf1508b5e sp 00007fffb86dc210 error 4 in libftd2xx.so[7f4cf14fe000+2c000]")
-- "Another instance of this program is running":
+When programming, only the programmer GUI can be open; if the IDE is run at the
+same time it will connect to and block the device. Aka, "Another instance of
+this program is running".
+Perhaps a better way to handle permissions is with udev rules or a DIY script.
+To test udev rules, try:
------
-Please could someone add description to Troubleshooting section?
------
+ sudo udevadm test /dev/bus/usb/###/###
-ie udevadm test /dev/bus/usb/###/###
+A permissions problem that comes us is, eg:
-unable to open device '/sys/dev/bus/usb/003/004'
+ unable to open device '/sys/dev/bus/usb/003/004'
-in this case.....
+An error that comes up with the bundled FTDI driver is:
+ [122032.033366] pgrcmain[10879]: segfault at 50 ip 00007f4cf1508b5e sp 00007fffb86dc210 error 4 in libftd2xx.so[7f4cf14fe000+2c000]
-or:
+Other problems needing solutions:
-Board with FTDI USB Host Chip detected.
+ Board with FTDI USB Host Chip detected.
-Programming XCF Contents... Connected to Lattice Cable Server.
-Failed.
+ Programming XCF Contents... Connected to Lattice Cable Server.
+ Failed.