im trying to burn the bootloader onto a atmega328p-aurct-nd on a custom pcb, and this error keeps happening. My connections are correct, as i burned the bootloader onto two separate boards just to make sure, and those worked fine.
Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"
avrdude: Expected signature for ATmega328P is 1E 95 0F
Double check chip, or use -F to override this check.
Error while burning bootloader.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
It's extremely unlikely that -f would help. An incorrect signature is almost always an indication of a complete inability to communicate with the microcontroller, which couldn't be fixed by simply ignoring the signature mismatch. It would only be useful if the chip's signature was somehow corrupted, which I have seen maybe two reports of out of hundreds of reports of this error that were caused by other problems.
Please do this:
(In the Arduino IDE) File > Preferences
Check the checkbox next to "Show verbose output during: upload".
Click the "OK" button.
Tools > Burn Bootloader
After the Burn Bootloader process fails, you'll see a button on the right side of the orange bar: "Copy error messages". Click that button.
In a forum reply here, click on the reply field.
Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
Press "Ctrl + V". This will paste the Burn Bootloader output between the code tags.
Move the cursor outside of the code tags before you add any additional text to your reply.
also here is my schematic for the digital section of my circuit. its fairly basic, and i dont see any issues but figured i should post it anyways incase my issue is a hardware one. thanks.
@UKHeliBob thanks, that will come in handy for the future but did'nt work for me. i will play around with it some more though.
@srnet ah i see, thats me being stupid again lol. how could i remedy the issue? i dont think i have any 22pf 0805 caps around. Is it a big enoughph issue for the microcontroller to not even work right? thanks.
avrdude: Device signature = 0xff00ff
avrdude: Expected signature for ATmega328P is 1E 95 0F
Usually a "Device signature = 0x000000" or "Device signature = 0xffffff" means a wiring problem or the target system's clock isn't running. I don't know what "0xff00ff" might mean.
Is there a crystal/resonator on your custom board? If not, and the chip fuses are set to expect one (as they would be on an Ardiuino), you will have to inject a clock to do serial programming.
If this is a new chip, wouldn't it come from the factory fused to use the 8MHz internal oscillator? If so, it seems it ought to respond in some way even if the crystal isn't working. Have you tried selecting the Board "Atmega328 on a breadboard (8Mhz internal clock)" in the IDE? I don't remember for sure, but I may have had to download that from somewhere. If it's already fused to use the crystal, then maybe it already has a bootloader, and you just need to replace the caps with the right ones.