2.1 FPGA
2.1.1 How to install JTAG and QuartusII for ALTERA development on Ubuntu 22.04
1. Packages to be installed for JTAG:
Shell
$> sudo apt install urjtag openwince-jtag
Test if your debuger board is found, but before that power up your board:
Shell
$> jtag
UrJTAG 0.10 #2007
Copyright (C) 2002, 2003 ETC s.r.o.
Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors
UrJTAG is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
There is absolutely no warranty for UrJTAG.
warning: UrJTAG may damage your hardware!
Type "quit" to exit, "help" for help.
jtag> cable probe
Found USB cable: UsbBlaster
Connected to libftdi driver.
jtag> detect
IR length: 10
Chain length: 1
Device Id: 00000010000010100001000011011101 (0x020A10DD)
Manufacturer: Altera (0x0DD)
Unknown part! (0010000010100001) (/usr/share/urjtag/altera/PARTS)
jtag>
2. Packages to be installed for QuartusII:
Shell
$> sudo apt install libstdc++6 libc6 libx11-dev libxext-dev libxau-dev libxdmcp-dev libfreetype6 fontconfig expat libxrender1 libsm6
3. Download from here the libpng12-0 and install.
Install the library at specific location:
Shell
$> sudo dpkg -x libpng12-0_1.2.54-1ubuntu1.1_amd64.deb ~/libpng12
Add at the end of shellrc file the following line:
Shell
$> echo 'export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/username/libpng12/lib/x86_64-linux-gnu"' >> ~/.shellrc
4. Download QuartusII from here.
Untar the file:
Shell
$> tar xvf Quartus-web-13.0.1.232-linux.tar
Run the setup.sh:
Shell
$> shell ./setup.sh
5. Run QuartusII:
Shell
$> echo 'export PATH="$PATH:$HOME/altera/13.0sp1/quartus/bin"' >> ~/.shellrc
$> source ~/.shellrc
$> quartus --64bit
Shell
$> sudo apt install urjtag openwince-jtag
Shell
$> jtag
UrJTAG 0.10 #2007
Copyright (C) 2002, 2003 ETC s.r.o.
Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors
UrJTAG is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
There is absolutely no warranty for UrJTAG.
warning: UrJTAG may damage your hardware!
Type "quit" to exit, "help" for help.
jtag> cable probe
Found USB cable: UsbBlaster
Connected to libftdi driver.
jtag> detect
IR length: 10
Chain length: 1
Device Id: 00000010000010100001000011011101 (0x020A10DD)
Manufacturer: Altera (0x0DD)
Unknown part! (0010000010100001) (/usr/share/urjtag/altera/PARTS)
jtag>
Shell
$> sudo apt install libstdc++6 libc6 libx11-dev libxext-dev libxau-dev libxdmcp-dev libfreetype6 fontconfig expat libxrender1 libsm6
Shell
$> sudo dpkg -x libpng12-0_1.2.54-1ubuntu1.1_amd64.deb ~/libpng12
Shell
$> echo 'export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/username/libpng12/lib/x86_64-linux-gnu"' >> ~/.shellrc
Shell
$> tar xvf Quartus-web-13.0.1.232-linux.tar
Shell
$> shell ./setup.sh
Shell
$> echo 'export PATH="$PATH:$HOME/altera/13.0sp1/quartus/bin"' >> ~/.shellrc
$> source ~/.shellrc
$> quartus --64bit