Problem with Programming Atmega32 using Arduino as ISP

Hello guys,
I hope you all are doing!
I am trying to program an Atmega32 using Arduino as ISP (MightyCore).
This how I made the connections.
Connect pins 10 and 30 on IC to 5V on Arduino

  • Connect pins 11 and 31 to Ground on Arduino

  • Connect 8 MHz crystal to pins 12 and 13 on IC

  • Connect pin 6 on IC to pin 11 on Arduino (MOSI)

  • Connect pin 7 on IC to pin 12 on Arduino (MISO)

-Connect pin 8 on IC to pin 13 on Arduino (SCK)

-Connect pin 9 on IC to pin 10 on Arduino

All the connections are good. What I am experiencing is the following error message.

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

An error occurred while uploading the sketch

or this Expected signature for ATMEGA328P is 1E 95 0F Double check chip, or use -F to override this check. .

Usually it is mistake in wiring, so the first advice is to check it again. I do not see the problem in pin connection, seems to be good. I checked it according the datasheet. Just about the crystal, I have doubts. Did you connect 22pF capacitors to GND from both pins?

Here is some tutorial just in case:

The ATmega16 is same family like 32.
You could post full log include the command to supplement information. How did you check your HW setup<

What signature does it see? Enable verbose upload in settings, and it will tell you what it sees. If FFFFFF, wiring error (miso shorted high?), if 000000, wiring error, or crystal selected as clock source, but no crystal present), if another part, check the identity of the part you're programming