Hi there, bought 5 ATMEGA328, 2 from one supplier and 3 from another one. the first two 2 work perfectly either in the Arduino board and on a breadboard. The marks on the IC look the same
But 2 out of the 3 from the other supplier do nothing, just nothing, neither in the Arduino board nor on the bradboard. IDE just says for 10 times "avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03". I've even tried to burn the bootloader in both of them... just nothing.
Before i throw them in the bin, is there anything I can do to check/test whether or not they're dead and/or can be saved.
Does one of the 3 work as expected? If you are not able to successfully burn the bootloader when correctly hooked up to a programmer, then send them back for replacement.
@Chris
didn't dare the test the 3rd one.... I've tested the other 2 directly in the Arduino board removing the original chip, when uploading the usual blink sketch just get that message i posted before, and the same burning the bootloader.
@ mart256
I've tested them into the Arduino board so the oscillator is there alraedy, correct? isn't the bootload take care of this? if what you state is correct what shall I do then?
so suppose there is nothing that can be done to get them working, they're just crap..?
just tested the 3rd one now, put it in the Arduino board, with the correct orientation, trying to upload the blink sketch... nothing, absolutely nothing, 10 times following message
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xca
also just noted now this note on my ebay order (couldn't get access to that order page for days, don't know why..)
Note: Only an ATmega328 in DIP package, without the optiboot bootloader pre-loaded. You have to use code in your custom embedded project.
this means i have to burn the bootloader, isn't it?
Yes, you must burn bootloader. What messages do you get when you burn bootloader to them? Are you doing it correctly?
Burning the bootloader requires an external programmer, such as another working Arduino board running the Arduino as ISP sketch, or the ever popular and dirt cheap USBAsp (get them on ebay).
DrAzzy, I'm using a working original Arduino board to burn the bl, A'13 to ic'19, 12 to 18, 11 to 17 and 10 to 1, and A as ISP as programmer,and i get 10 times following msg
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
Problem:
Avrdude dislikes your lovely 328-PU chips and says "avrdude: Yikes! Invalid device signature." or "avrdude: Expected signature for ATMEGA328P is 1E 95 0F"
Soln:- This problem happens becoz ur arduino uses 328p - pu and if u bought 328pu(a couple dollars cheap).
The soln is to modify Arduino > hardware >tools>avr>etc and open avrdude.conf file as word document.keep backup of this file incase u mess up.
find 1E 95 0F text under Atmega328 and change it to 1E 95 14 and save.
restart arduino environment and burn bootloaders on all ur chips.use status leds as mogul said.they help a lot.
After burning change the text in avrdude.conf file back to 1E 95 0F and restart arduino ide.Then u can uplode code normally.
any danger in doing it as far as you know ? though the 3 chips show ATMEGA328p-pu
I've got one chip working! don't know what I've done, just woke up this morning at 0600am with good will to rebuild the standalone Arduino on the breadboard please note the breadborded one I had before was working before, without any problem, with the other quite complex project I'm working on and with the working chip it was ok, when installed the 3 suspect ones no way to get them working* ... anyway... all connections done (the same way), and now I suceeded to burn the BL and the blink sketch!
now to test the other two supposedly dead
sorry if I wasted you time, possibly a bad connection? the same ? 3 times with 3 chips bad connection? don't really know....