I've never been able to burn the bootloader onto an atmega chip following any guide I have found out there which I have found somewhat frustrating.Specifically what I'm trying to do now is burn the bootloader onto a board I made myself with a 6 pin ICSP header on it. I thought I could connect it with a 6 position ribbon jumper going from my custom board to the Arduino ICSP header but that is not working after trying many configurations. That doesn't work because that just wires reset to reset between the two chips. The programmer, in this case an arduino board running the ISP sketch needs to control the reset pin on the target chip so uses pin 10 to manipulate that signal.I get the common error: avrdude: stk500_getsync(): not in sync: resp=0x00I have the board set to: Arduino pro mini 5v, atmega328, which is what the chip is, with a 16MHz xtal. And the programmer set to AVR ISP, which is what a guide has suggested doing.If you are using an arduino board as the programmer then that is not the proper programmer, but rather Arduino as ISP is the proper choice, but after first you load the arduino board with the ISP programmer sketch. Then you have to select the board type to the selection that matches the chip type and clock speed that your target is using. Can anybody help me get this working?Alternatively can I use it without burning to bootloader somehow?
Ok, made some progress. Installed the AVR as ISP sketch, and hooked up pins 10,11,12,13,5v,gnd to the 6 pin header on my board.I'm getting this error when I try to upload a programavrdude: stk500_getsync(): not in sync: resp=0x1cAnd this when I try to burn bootloader:avrdude: Expected signature for ATMEGA328P is 1E 95 0F Double check chip, or use -F to override this check.I did find a short between reset and sck that showed up and than cleared it. Still looking for issues, would like to get it solved by today if I can.Thanks for the help!Made an edit because I copied the wrong error, the one I had when the USB was unplugged.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16