New Atmega 328P not working :(

Hi there,

I have an Arduino Uno R3, now I bought some Atmega 328P (http://iteadstudio.com/store/index.php?main_page=product_info&cPath=41_43&products_id=213)

But by uploading from the arduino editor (with the atmega from the shop), I get following message: avrdude: stk500_getsync(): not in sync: resp=0x00

If you plugged it into the arduino Uno and you get that message then it looks like the boot loader has not been programmed into the chip.

(deleted)

spycatcher2k: Have you tried using duemilanove instead of UNO, that should work.

I don't think this is correct. The bootloader is on the chip, not the board.

[quote author=The Clever Monkey link=topic=106126.msg796268#msg796268 date=1337190713] Have you tried using duemilanove instead of UNO, that should work. [/quote] Yes, I tried it doesn't work - same error message :(

spycatcher2k: I don't think this is correct. The bootloader is on the chip, not the board.

I have bought two Atmega, all two don't work.

grex:

spycatcher2k: Have you tried using duemilanove instead of UNO, that should work.

Yes, I tried it doesn't work - same error message :(

[quote author=The Clever Monkey link=topic=106126.msg796268#msg796268 date=1337190713] I don't think this is correct. The bootloader is on the chip, not the board.

I have bought two Atmega, all two don't work. [/quote]

Unless you are buying chips that explicitly say they have an integrated bootloader in the bootloader section of the chip, it will not be present. You have to program the chip with a programmer or another Arduino. There are many postings here that describe the various ways this can be done.

(By the way, you have messed up the quote attributions. I have corrected them.)

Thanks for correct my post and for reply.

I found this: http://arduino.cc/en/Hacking/Programmer

But one question, what uploading.using should I take for Uno R3?

grex: Thanks for correct my post and for reply.

I found this: http://arduino.cc/en/Hacking/Programmer

But one question, what uploading.using should I take for Uno R3?

I'm not an expert when it comes to tweaking bootloaders, but my understanding is that you can use the Arduino software and one of the supported programmers to flash an Arduino with one of the bootloaders in hardware/arduino/bootloaders/optiboot. I assume you can use the "optiboot_atmega328.hex" file in there.

There are also threads in this forum that specifically address alternative bootloaders, newer versions of Optiboot, and using a programmer or another Arduino (even a breadboard version) to set fuses and load a new bootloader.

But, yeah. Give it a try (it can't hurt) and take notes. If you need to come back here, make sure you outline your steps and capture all the output you can. There is a pile of smarts in this forum you can leverage.

Links: http://arduino.cc/forum/index.php/topic,64105.0.html http://www.gammon.com.au/forum/?id=11635 http://arduino.cc/forum/index.php/topic,105399.0.html

spycatcher2k: Have you tried using duemilanove instead of UNO, that should work.

Im not sure if its relevant but wasnt there a difference in some bootloaders ?!?

(deleted)