|
Dobrica Pavlinušić's random unstructured stuff
X300 PCI: Revision 9
EP1C needs Quantus II 11 web pack (last supported) in squeeze chroot or http://download.altera.com/akdlm/software/acdsinst/13.0sp1/232/ib_installers/cyclone-13.0.1.232.qdz Quartus II 13.0.1.232 tries to open following device files:
dpavlin@blue:/bluez/FPGA/Altera-x300$ grep qdz /tmp/foo
lstat64("/bluez/FPGA/Altera-x300/arria_web-13.0.1.232.qdz", 0xff9b166c) = -1 ENOENT (No such file or directory)
lstat64("/bluez/FPGA/Altera-x300/cyclone_web-13.0.1.232.qdz", 0xff9b166c) = -1 ENOENT (No such file or directory)
lstat64("/bluez/FPGA/Altera-x300/cyclonev-13.0.1.232.qdz", 0xff9b166c) = -1 ENOENT (No such file or directory)
lstat64("/bluez/FPGA/Altera-x300/max_web-13.0.1.232.qdz", 0xff9b166c) = -1 ENOENT (No such file or directory)
JTAGurjtag bug with gpio pin 4using urjtag has bug which doesn't allow usage of pin 4 for anything (DUH!) following patch fixes this problem:
--- a/urjtag/src/tap/cable/gpio.c
+++ b/urjtag/src/tap/cable/gpio.c
@@ -45,11 +45,11 @@
/* pin mapping */
enum {
- GPIO_TDI = 0,
+ GPIO_REQUIRED = 0,
+ GPIO_TDI,
GPIO_TCK,
GPIO_TMS,
- GPIO_TDO,
- GPIO_REQUIRED
+ GPIO_TDO
};
typedef struct {
run urjtagpi@picam ~/x300-pci $ sudo jtag jtag> cable gpio help Usage: cable gpio tdi=<gpio_tdi> tdo=<gpio_tdo> tck=<gpio_tck> tms=<gpio_tms> # it seems that tck pin is not accepted! jtag> cable gpio tck=4 tdo=17 tms=27 tdi=22 jtag> cable gpio tms=27 tdi=22 tdo=17 tck=4 |