Pocket AVR programmer issue.

Hello, I recently bought Pocket AVR Programmer from GRobotronics(Sparkfun distributor) and used it as a programmer for Arduino UNO R3 DIP(Compatible). Problem is that I am getting a weird error while following your tutorial on Sanity Check – Device Signature Verification step. I will provide a photo of the error along with the setup as an attachment.

Thanks!

George Moustakas.

Product page : https://www.sparkfun.com/products/9825

Tutorial link : https://learn.sparkfun.com/tutorials/po … 1570703927

OS : GNU/Linux Ubuntu

avrdude version : version 6.3-20171130

Setup photo → https://imgur.com/a/4d0M0b3

Error message → https://imgur.com/a/MgHHOZT

avrdude.pdf (935 KB)

I forgot to mention that I get the same message if I use AVR programmer power target option (without powering Arduino) or no power option with powering Arduino. Furthermore, I was able to program my board using USB cable and arduino IDE, which means that arduino is not bad.

Hi George.

Have you tried burning the bootloader with the programmer from the Arduino IDE? Have you also tried programming the chip while the Arduino is plugged into USB? What happens when you use the command lines in the tutorial?

Output when using programmer with arduino ide → https://imgur.com/a/gcWhqKN

Output when programming chip while Arduino is plugged into usb → https://imgur.com/a/Q61ebIY Chip works as expected, blinking the led.

I get the same message from avrdude in all the commands from the tutorial,that is : device signature is 0x0000https://imgur.com/a/lhwSx1H

If i use command ```
avrdude -c usbtiny -p atmega328p -U flash:w:blinkLed.hex -v -v -v


avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

     System wide configuration file is "/etc/avrdude.conf"
     User configuration file is "/home/george/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : usb
     Using Programmer              : usbtiny

avrdude: usbdev_open(): Found USBtinyISP, bus:device: 001:017
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

     Programmer Type : USBtiny
     Description     : USBtiny simple USB programmer, https://learn.adafruit.com/usbtinyisp

avrdude: programmer operation not supported

avrdude: Using SCK period of 10 usec
CMD: [ac 53 00 00] [00 00 00 00]
avrdude: AVR device initialized and ready to accept instructions

Reading | | 0% 0.00sCMD: [30 00 00 00] [00 00 00 00]
CMD: [30 00 01 00] [00 00 00 00]
Reading | ################# | 33% 0.00sCMD: [30 00 02 00] [00 00 00 00]
Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x000000 (retrying)

Reading | | 0% 0.00sCMD: [30 00 00 00] [00 00 00 00]
CMD: [30 00 01 00] [00 00 00 00]
Reading | ################# | 33% 0.00sCMD: [30 00 02 00] [00 00 00 00]
Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x000000 (retrying)

Reading | | 0% 0.00sCMD: [30 00 00 00] [00 00 00 00]
CMD: [30 00 01 00] [00 00 00 00]
Reading | ################# | 33% 0.00sCMD: [30 00 02 00] [00 00 00 00]
Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

avrdude done. Thank you.


George Moustakas.