Hello everybody!
I bought arduino uno 2 months ago and I started working with the example projects and trying to create my own projects.
On one of my projects I wanted to have stand alone arduino chip and I bought one ATMEGA328P-PU the same as the chip which the arduino came with. When I replaced the chip and tried to program it i got this error avrdude: stk500_getsync(): not in sync: resp=0x00 when I replace the chips (from the new one to the stock one everything is fine and working correctly)
Have the right COM port, the arduino version chosen is ArduinoUno, programmer AVRISP mk is marked. The reset button is not working ( both LED's are on when I press it tried to press and hold it before to click the upload button, tried to change the ports to switch between the different arduino version and the programmer versions still the same error. When the Arduino is plugged in with the usb cable the green and the yellow LED's are on, when I click upload the RX LED blink 3-4 times and then I got the error again.
Also tried to program it on another computer and different OS ( Debian Wheezy ) without success.
I really home someone will be able to help me .. red a lot information about this in this forum but nothing worked for me.
Have you loaded a bootloader into the new part yet using a programmer? The chip will not respond until it has some code in it.
Sorry to highjack this post, but I'm getting the same error (with a different hex number, the error is: avrdude: stk500_getsync(): not in sync: resp=0x4c). I have an arduino chip, which I run standalone, following this tutorial http://arduino.cc/en/Main/Standalone. When I had it on the breadboard it run sketches fine (it's from a workshop I attended and it has been bootloaded). Now that I soldered it and put it in a box, I get this error, or notification...
Anyone can help?
Post your schematic, or a clear picture of what you have wired up.
Well, I don't have a schematic. I followed the tutorial step by step. I'm also using shift registers and got all the wiring from Nick Gammon's tutorials. I guess this doesn't help a lot...could the wiring mess up with the syncing?
Did you have the DTR line from the FTDI232 chip connected to the reset line thought 100nF capacitor?In the link posted above only the lines TX and RX are connected, this way you will not be able to upload new programms. Basiclly when you try to upload a new program the chip must suffer a reset in order to start the bootloader to "listen" for a new program.
CrossRoads What do you mean more specific by "loading a bootloader" and how to do it ?
I mean just that - Tools: Burn bootloader. This sets up the fuses for 16MHz operation & stuff.
Can use an AVR ISP Programmer, I use this one
and used to use this one
http://www.mdfly.com/index.php?main_page=product_info&cPath=5&products_id=415
(until I had trouble with 1284's, when I switched)
or use an Uno as programmer