Greetings friends.
I use Arduino Uno latest version with latest programmer, with the AVR-ISP shield I just bought, I setup correctly, uploaded the example software in the Uno, and when I try to burn the 328P chip I get “error while burning bootloader” : avrdude: stk500_getsync(): not in sync: resp=0x00
The chip is inserted correctly, should I connect the cable that came with the AVR to something?
I don’t know what I’m doing wrong here.
Thanks for your help.
Two things to try… RTFM: in the tutorial on Arduino.cc it says that on 1.0 you need to look in the ISP code for the heartbeat section and alter the delay(40) to delay(20). I suggest saving the sketch otherwise you will load the incorrect code everytime you need the programmer.
If that doesn’t work ( or throws a different error ) try closing the SJ1 jumper on the board itself.
Between those two steps I was able to burn boot loader on both ATtiny85 and ATMega328P’s
Good luck
Thanks, I did change the time to delay(20). Now to find the SJ1 jumper on the Arduino.
I’m using the new Arduino Uno, there are two sets of jumpers, one near pin 13, and one called ICSP near the uC.
I’ll look at the schematics to find out which one it is.
PS: I found SJ1 switch on the shield, and changed it from 5v to 3.3v.
OK I put a blob of solder on the shield at SJ1, and left the voltage at 5v, but still get the same message… no sync.
(I’ll try changing the chip…)
RobertD:
I found SJ1 switch on the shield, and changed it from 5v to 3.3v.
Make sure the ISP shield is set to the correct voltage for the target chip or you could coaster the IC.
The steps I took are like this:
I loaded then edited ArduinoISP to alter the delay() and then uploaded that sketch to my UNO
I selected “TOOLS >> PROGRAMMER >> Arduino as ISP”
I selected “TOOLS >> BOARD >> Arduino Nano w/ ATmega328”
“TOOLS >> BURN BOOTLOADER”
There were a few errors but the process completed normally.
At that point I was able to upload code to the chip via the ISP Shield. If you leave out burning the bootloader, (which might or might-not be on the chip already) it can cause issues if its not what the ArduinoISP is looking to see.
When all else fails, I often find tearing down the circuit and rebuilding it from the breadboard up helps find easily overlooked errors of construction that could lead to a error.
Sorry I can’t be of more help.
Thanks for your help, everything helps. I use UNO, so I picked UNO for a programmer. I also read that the burning speed has to be 57600 or you get 0x00. But you don’t have a problem with speed, so I don’t know why the target chip is not connecting. Not in sync: oxoo, means no communication or wrong pin or no response from target. I tried faster, with no result. I’ll try burning directly with UNO to UNO, and see if I can do it. I can try with another chip to see if it’s the chip, but I doubt it. The blue LED is supposed to pulse, but it doesn’t after I get the error message.
I’ll read the specs for the AVR, I think I might need a jumper on ISP 10 or ISP 6… all these jumpers are open.