Hi friends,
I have followed this video to bootload the ATMEGA328P-AU by Arduino Uno.
The bootloading process is successfully done but when I tried to program the chip it gives back the following errors.
Arduino: 1.8.9 (Windows 7), Board: "Arduino Uno"
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\Mahdiyar\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Using Port : COM9
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x54
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x54
avrdude done. Thank you.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
to upload the code on the chip I have done the following steps:
1- removing the ATMEGA328P-PU from the Arduino-UNO board
2- connect the chip to arduino as follows:
Arduino ATMEGA328P-AU
RX 30
TX 31
Reset 29
5v 3,5,21
GND 4,6,18,20
3- connect the crystal and two number of 22p cap to pins 7 and 8 as mentioned in the video
4- connect 120 ohm resistor from 29 (reset) and 5v as mentioned in the video.
5- set the Programmer to "AVRISP mkII"
6- set the Board to "Arduino Uno".
In the 6th step, I hve also tried the "Arduino Duemilanove or Diecimila" and set the processor to ATMega328p
If the problem is about the chip or Arduino board it shouldn't have to be bootloaded.
Any help is appreciated,
Mahdiyar