Pages: [1]   Go Down
Author Topic: New Arduino Chip  (Read 915 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

the land of sun+snow
Offline Offline
Faraday Member
**
Karma: 159
Posts: 2927
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The first question is, did you buy an Arduino bootloader chip or just a plain
unprogrammed ATmega 328?
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 362
Posts: 17307
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I ordered a ATMEGA328 off of amazon

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.

Lefty

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here is a link for it:

http://www.amazon.com/gp/product/B00761CCH0/ref=oh_details_o00_s00_i00

I don't know anything about bootloading. It says it has a pre-installed one
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 362
Posts: 17307
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here is a link for it:

http://www.amazon.com/gp/product/B00761CCH0/ref=oh_details_o00_s00_i00

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.

Lefty

Edit: 13K posts, I really do need to get a life.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

1) Yep plugged in the right way
2) 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
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 362
Posts: 17307
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

1) Yep plugged in the right way
2) 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.

Lefty
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok great! Thank you so much for your help
Logged

the land of sun+snow
Offline Offline
Faraday Member
**
Karma: 159
Posts: 2927
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Edit: 13K posts, I really do need to get a life.
I warned ya, repent now before it's too late.

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.
Logged

Cape Town South Africa
Offline Offline
Edison Member
*
Karma: 19
Posts: 1222
A newbie with loads of posts, and still so much to learn !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

We learn something every day !

I sometimes buy other-than-duemilenova bootloaded chips for my embedded projects, and hook up my two boards to reload the original bootloader.

So I could have just tried selecting another board.....

 @  OP,   did the LED on the Arduino board flash once a second when you switched on ? 
« Last Edit: January 06, 2013, 02:06:25 am by Boffin1 » Logged

With my mobile phone I can call people and talk to them -  how smart can you get ?

Pages: [1]   Go Up
Jump to: