Dobrica Pavlinušić's random unstructured stuff
X300 PCI: Revision 8
  • Altera EP1C6Q240C8N L BCE9S0719A
  • Altera EPM3 128ATC100-10N
  • Samsung K4S643232H-UC60
  • JYEC 80 Mhz
  • T61117

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)

JTAG

pi@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