Chinese AVR ISP hat problems

I have a Arduino Uno and just received one of the Chinese AVR ISP programmer hats. When it arrived the 6 pin male header was not ever soldered. I fixed that but I have been trying to program the bootloader on a ATMega328P blank that I got from Adafruit.

My Arduino IDE (1.8.7) on my Windows 7 (64) box sees the UNO but I tried to upload via programmer, burn bootloader, AVR as ISP options and after 10 attempts of which all failed all 10 of each try. I am now wondering if the AVR ISP is faulty. Can you tell me how to check/verify the operation of the programmer hat?

Thank you.

(deleted)

spycatcher2k:
Did you upload the Arduino as ISP sketch?

I did, I think.

One problem is that the seller left off one Digital I/O 8 pin header. I found some pins and put them in but same problem. The Uno blinks like it is running the Blink sketch. When I try to "burn bootloader" using Arduino as ISP I get this error:
Arduino: 1.8.7 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Arduino1.8.7\hardware\tools\avr/bin/avrdude -CC:\Arduino1.8.7\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m

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 "C:\Arduino1.8.7\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM6
Using Programmer : arduino
Overriding Baud Rate : 19200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x53

avrdude done. Thank you.

Error while burning bootloader.

Do you have a 10 uF capacitor connected between the reset and GND pins on the board used as a programmer?

pert:
Do you have a 10 uF capacitor connected between the reset and GND pins on the board used as a programmer?

If you are asking about the Uno, it is an Arduino Uno not a copy and I see 2 electrolytics through the case. If you are talking about the Chinese AVR ISP shield, I see no electrolytics at all on the board and in fact I only see 2 capacitors on the board and they are around the crystal so I assume they are 22pf smt caps.

I did finally get it to work though, I think. The IDE said it was successful when I told it to "burn bootloader" and was successful when I "uploaded with programmer" the sketch.

I saw no way in the IDE to read the current contents of the ATMega328P that I was programming. Is there no way to read contents of a programmed chip?

Thank you.

Southerner:
I saw no way in the IDE to read the current contents of the ATMega328P that I was programming. Is there no way to read contents of a programmed chip?

Not via the Arduino IDE. You can do it with the avrdude tool used by the Arduino IDE for uploading and burning bootloaders. You only need to make a small adjustment to the upload command generated by the Arduino IDE and then run that command from the command line (cmd). Using the command from the output you posted above as an example:

Southerner:
C:\Arduino1.8.7\hardware\tools\avr/bin/avrdude -CC:\Arduino1.8.7\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m

You can read the program from the microcontroller by modifying it as so:

C:\Arduino1.8.7\hardware\tools\avr/bin/avrdude -CC:\Arduino1.8.7\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b19200 -Uflash:r:hexfile.hex:i

That will save the content of the microcontroller's flash memory to the file hexfile.hex on your computer.

See the AVRDUDE documenation for more information:

Southerner:
I did finally get it to work though, I think. The IDE said it was successful when I told it to "burn bootloader" and was successful when I "uploaded with programmer" the sketch.

I guess I was wrong! Now, when I plug in the USB A to B cable to the Uno with the programmer shield in place it immediately starts screaming and the Heart Beat led comes on and stays. If I try to upload a sketch the screaming stops while uploading and then it starts screaming again and the Error LED comes on. So again this piezo speaker is always screaming when the unit is hooked up even if IDE is not running and only stops when the IDE is talking to the programmer but then immediately comes back screaming.