Hello, I have an arduino duemilanove and got it quite a few years ago on ebay. It came with the ATMEGA168 which has been working great but I wanted to interface it with Labview and the sketch was too big for the 168. I ordered a ATMEGA328 off of amazon and I just can not get it to work. I am not sure if there is a certain way you have to set up a new board. I get an error that says this:
"avrdude: stk500_getsync(): not in sync: resp=0x00"
All I did was switch out the chips but I am not sure if there was another step I missed. The arduino was working great before I switched. I saw something about a loopback test by connecting a wire from ground to reset and rx and tx and it was echoing back like the test said it should. I don't know if that helps. Any advice?
Do you have a link to the amazon listing for the chip? The issue is if the chip comes preloaded with a bootloader or not. If not you will have to burn a bootloader onto it before it will function with the standard arduino IDE upload function. If it did come with a bootloader then the next step is to know what version of bootloader it had installed into it. If it comes with the Uno bootloader then you must select Uno as the board selection choice in the the IDE tools option before doing an upload, or select duemilanove board if the chip contains the older duemilanove bootloader.
I don't know anything about bootloading. It says it has a pre-installed one
Yep, it's stated to have the orginal duemilanove bootloader installed in it.
So that leave three possiblities in my mind:
1, did you make sure you plugged the chip in the correct direction in the socket?
2, It really has the Uno bootloader installed instead. Try selecting the Uno board selection and upload
3. A defective chip, not likely but who knows.
I didn't get the error when I switched the board to Uno under the settings and uploaded, it just said done uploading. I tried to interface it with my computer program but it didn't work. I am away from my arduino right now but I can later try uploading a simple LED blink just to test out if it works. What happens if it has the Uno bootloader on it? Would it still work or will I have to put the duemilanove one on? Right now I'm working on interfacing with software and Serial communication if that makes a difference.
3)...yeah...I hope not shipping takes forever
I didn't get the error when I switched the board to Uno under the settings and uploaded, it just said done uploading. I tried to interface it with my computer program but it didn't work. I am away from my arduino right now but I can later try uploading a simple LED blink just to test out if it works. What happens if it has the Uno bootloader on it? Would it still work or will I have to put the duemilanove one on? Right now I'm working on interfacing with software and Serial communication if that makes a difference.
3)...yeah...I hope not shipping takes forever
The board will work fine using a Uno bootloader, you just need to remember to always pick Uno as the board type for your now ex-duemilanove.
OP, as noted, UNO bootloader works fine in Duemilanove boards. Funny that the vendor
doesn't know what he's doing! You can buy the bootloader chips from places in the US
like jameco, adafruit, sparkfun, but they cost a good deal more.