Hi everyone.
I have a new atmega328p microcontroller, in the circuit, and have a mega, and the MCU in a protoboard, I already uploaded the Arduino_ISP code in the mega, and I was going to do the next step, which is to burn the bootloader, but then the program says "Error while burning bootloader"
I think it is not a circuit error, but maybe that's the problem, I didn't change the code I just uploaded it and it works fine, but I can't burn it for the moment. Here are the error messages:
Arduino: 1.8.19 (Windows 10), Board: "Arduino Uno"
Error while burning bootloader.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
avrdude: Expected signature for ATmega328P is 1E 95 0F
Double check chip, or use -F to override this check.dddddddd
I found an answer to my problem which is to change a line of code in the file avrdude.conf but I can't find it I searched on This PC but nothing shows up I try to enter that directory but I don't find it as well, here are the settings that I selected to upload and burn the MCU
To upload the code:
And to burn the bootloader:
I have this error since yesterday and I can't solve it (btw I have Arduino uno cause a friend told me to put that) please help me thank you
An explanation of this - the ArduinoISP sketch assumes the use of the hardware SPI port, which on an UNO is pins 11, 12, & 13. The Mega hardware SPI port is on pins 51, 50, & 52. You can use software SPI on pins 11, 12, & 13 on the Mega by un-commenting line 81 in the ArduinoISP sketch.
// #define USE_OLD_STYLE_WIRING
There should be no reason to modify the avrdude.conf file.
I said that because lots of people said that the problem was to change the avrdude.conf file in
line 9065 or something like that to change a value from the file to make it work
I haven't found a circuit connection problem, and I think the error is not related to any connection
Or maybe the issue is that the chip is damaged or not functioning correctly because as you can see it is saying that the chip is not working, it is not saying anything about the code or circuit, am I wrong?
Put a capacitor, approximately 10uf, between the RESET pin and GND of the Mega. Keeps the processor from resetting while burning the bootloader. Not sure if it is needed for a Mega, but helps when using an UNO.
What reset are you talking about? is it the reset in the Arduino I mean, the one that is in the power section of the mega, or the reset pin that is connected in pin 53 that is connected to the mcu?