snader@Duck:~$ sudo apt-get install flex byacc bison gcc libusb-dev avrdude [sudo] password for snader: Reading package lists... Done Building dependency tree Reading state information... Done flex is already the newest version. gcc is already the newest version. The following packages were automatically installed and are no longer required: libblas3 libisl10 Use 'apt-get autoremove' to remove them. Suggested packages: avrdude-doc bison-doc The following NEW packages will be installed: avrdude bison byacc libbison-dev libftdi1 libusb-dev 0 upgraded, 6 newly installed, 0 to remove and 34 not upgraded. Need to get 974 kB of archives. After this operation, 3284 kB of additional disk space will be used. Get:1 http://nl.archive.ubuntu.com/ubuntu/ trusty/main libftdi1 amd64 0.20-1ubuntu1 [15,1 kB] Get:2 http://nl.archive.ubuntu.com/ubuntu/ trusty/main libbison-dev amd64 2:3.0.2.dfsg-2 [338 kB] Get:3 http://nl.archive.ubuntu.com/ubuntu/ trusty/main bison amd64 2:3.0.2.dfsg-2 [257 kB] Get:4 http://nl.archive.ubuntu.com/ubuntu/ trusty/main libusb-dev amd64 2:0.1.12-23.3ubuntu1 [28,9 kB] Get:5 http://nl.archive.ubuntu.com/ubuntu/ trusty/universe avrdude amd64 6.0.1-1 [289 kB] Get:6 http://nl.archive.ubuntu.com/ubuntu/ trusty/universe byacc amd64 20140101-1 [46,5 kB] Fetched 974 kB in 1s (954 kB/s) Selecting previously unselected package libftdi1:amd64. (Reading database ... 216662 files and directories currently installed.) Preparing to unpack .../libftdi1_0.20-1ubuntu1_amd64.deb ... Unpacking libftdi1:amd64 (0.20-1ubuntu1) ... Selecting previously unselected package libbison-dev:amd64. Preparing to unpack .../libbison-dev_2%3a3.0.2.dfsg-2_amd64.deb ... Unpacking libbison-dev:amd64 (2:3.0.2.dfsg-2) ... Selecting previously unselected package bison. Preparing to unpack .../bison_2%3a3.0.2.dfsg-2_amd64.deb ... Unpacking bison (2:3.0.2.dfsg-2) ... Selecting previously unselected package libusb-dev. Preparing to unpack .../libusb-dev_2%3a0.1.12-23.3ubuntu1_amd64.deb ... Unpacking libusb-dev (2:0.1.12-23.3ubuntu1) ... Selecting previously unselected package avrdude. Preparing to unpack .../avrdude_6.0.1-1_amd64.deb ... Unpacking avrdude (6.0.1-1) ... Selecting previously unselected package byacc. Preparing to unpack .../byacc_20140101-1_amd64.deb ... Unpacking byacc (20140101-1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for doc-base (0.10.5) ... Processing 1 added doc-base file... Setting up libftdi1:amd64 (0.20-1ubuntu1) ... Setting up libbison-dev:amd64 (2:3.0.2.dfsg-2) ... Setting up bison (2:3.0.2.dfsg-2) ... update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode Setting up libusb-dev (2:0.1.12-23.3ubuntu1) ... Setting up avrdude (6.0.1-1) ... Setting up byacc (20140101-1) ... Processing triggers for libc-bin (2.19-0ubuntu6.6) ... snader@Duck:~$ sudo apt-get install gcc-avr Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libblas3 libisl10 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: binutils-avr Suggested packages: task-c-devel gcc-doc gcc-4.2 avr-libc The following NEW packages will be installed: binutils-avr gcc-avr 0 upgraded, 2 newly installed, 0 to remove and 34 not upgraded. Need to get 12,6 MB of archives. After this operation, 67,3 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://nl.archive.ubuntu.com/ubuntu/ trusty/universe binutils-avr amd64 2.23.1-2.1 [1312 kB] Get:2 http://nl.archive.ubuntu.com/ubuntu/ trusty/universe gcc-avr amd64 1:4.8-2.1 [11,3 MB] Fetched 12,6 MB in 6s (2045 kB/s) Selecting previously unselected package binutils-avr. (Reading database ... 216804 files and directories currently installed.) Preparing to unpack .../binutils-avr_2.23.1-2.1_amd64.deb ... Unpacking binutils-avr (2.23.1-2.1) ... Selecting previously unselected package gcc-avr. Preparing to unpack .../gcc-avr_1%3a4.8-2.1_amd64.deb ... Unpacking gcc-avr (1:4.8-2.1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up binutils-avr (2.23.1-2.1) ... Setting up gcc-avr (1:4.8-2.1) ... snader@Duck:~$ sudo apt-get install avr-libc Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libblas3 libisl10 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: avr-libc 0 upgraded, 1 newly installed, 0 to remove and 34 not upgraded. Need to get 2859 kB of archives. After this operation, 31,8 MB of additional disk space will be used. Get:1 http://nl.archive.ubuntu.com/ubuntu/ trusty/universe avr-libc all 1:1.8.0-4.1 [2859 kB] Fetched 2859 kB in 1s (1820 kB/s) Selecting previously unselected package avr-libc. (Reading database ... 217220 files and directories currently installed.) Preparing to unpack .../avr-libc_1%3a1.8.0-4.1_all.deb ... Unpacking avr-libc (1:1.8.0-4.1) ... Setting up avr-libc (1:1.8.0-4.1) ... snader@Duck:~$ sudo apt-get install libc6-dev Reading package lists... Done Building dependency tree Reading state information... Done libc6-dev is already the newest version. libc6-dev set to manually installed. The following packages were automatically installed and are no longer required: libblas3 libisl10 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded. snader@Duck:~$ cd ~/Desktop snader@Duck:~/Desktop$ sudo avrdude -c usbtiny -p t45 [sudo] password for snader: avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.01s avrdude: Device signature = 0x1e9206 avrdude: safemode: Fuses OK (H:FF, E:DF, L:62) avrdude done. Thank you. snader@Duck:~/Desktop$ sudo avrdude -c usbtiny -p t45 -V -U lfuse:w:0xe1:m -U hfuse:w:0xdd:m -U efuse:w:0xff:m avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.01s avrdude: Device signature = 0x1e9206 avrdude: reading input file "0xe1" avrdude: writing lfuse (1 bytes): Writing | ################################################## | 100% 0.02s avrdude: 1 bytes of lfuse written avrdude: reading input file "0xdd" avrdude: writing hfuse (1 bytes): Writing | ################################################## | 100% 0.02s avrdude: 1 bytes of hfuse written avrdude: reading input file "0xff" avrdude: writing efuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of efuse written avrdude: safemode: Fuses OK (H:FF, E:DD, L:E1) avrdude done. Thank you. snader@Duck:~/Desktop$ cd '/home/snader/Documents/fabacademy/04/fabtinyISP/vusbtiny' snader@Duck:~/Documents/fabacademy/04/fabtinyISP/vusbtiny$ ls main.c main.o usbconfig.h usbdrv.old vusbtiny.hex vusbtiny.out.map main.lst makefile usbdrv vusbtiny.ee.hex vusbtiny.out snader@Duck:~/Documents/fabacademy/04/fabtinyISP/vusbtiny$ sudo make install avrdude -c usbtiny \ -p t45 -e \ -V -U flash:w:vusbtiny.hex avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.01s avrdude: Device signature = 0x1e9206 avrdude: erasing chip avrdude: reading input file "vusbtiny.hex" avrdude: input file vusbtiny.hex auto detected as Intel Hex avrdude: writing flash (2488 bytes): Writing | ################################################## | 100% 1.35s avrdude: 2488 bytes of flash written avrdude: safemode: Fuses OK (H:FF, E:DD, L:E1) avrdude done. Thank you. snader@Duck:~/Documents/fabacademy/04/fabtinyISP/vusbtiny$ lsusb Bus 002 Device 003: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 002: ID 04b3:310c IBM Corp. Wheel Mouse Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 018: ID 1781:0c9f Multiple Vendors USBtiny Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub snader@Duck:~/Documents/fabacademy/04/fabtinyISP/vusbtiny$ sudo avrdude -c usbtiny -p t45 -V -U lfuse:w:0xe1:m -U hfuse:w:0x5d:m -U efuse:w:0xff:m avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.01s avrdude: Device signature = 0x1e9206 avrdude: reading input file "0xe1" avrdude: writing lfuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of lfuse written avrdude: reading input file "0x5d" avrdude: writing hfuse (1 bytes): Writing | ################################################## | 100% 0.01s avrdude: 1 bytes of hfuse written avrdude: reading input file "0xff" avrdude: writing efuse (1 bytes): Writing | ################################################## | 100% 0.00s avrdude: 1 bytes of efuse written avrdude: safemode: Fuses OK (H:FF, E:5D, L:E1) avrdude done. Thank you. snader@Duck:~/Documents/fabacademy/04/fabtinyISP/vusbtiny$ sudo avrdude -c usbtiny -p t45 -V -U lfuse:w:0xe1:m -U hfuse:w:0x5d:m -U efuse:w:0xff:m avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. avrdude done. Thank you.