Pages: [1]   Go Down
Author Topic: Fried my arduino  (Read 1681 times)
0 Members and 1 Guest are viewing this topic.
California
Offline Offline
Sr. Member
****
Karma: 3
Posts: 433
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks like a hooked up a PNP resistor wrong and fried my arduino UNO. Now I cant upload to it, and the atmega328p gets pretty hot even with nothing connected.
When I write my sketch:
Quote
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
It still runs the program that was on it.

Went through the troubleshooter too.
Is there a way to know if I just need a new atmega328 or a whole new arduino?
thanks
« Last Edit: April 02, 2011, 11:06:28 pm by stoopkid » Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 208
Posts: 12929
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Perform a loop-back (aka loopback) test.
Logged

California
Offline Offline
Sr. Member
****
Karma: 3
Posts: 433
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I couldnt really find any info on that other than that im bridging the connection between RX and TX. I did that and sent text and nothing happened, if thats what im supposed to be doing. If not, what do I do?
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 208
Posts: 12929
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Doesn't sound good.  Just in case, detailed instructions...

1. Disable the processor.  The best option is to remove the processor from the board (with the power removed).  If you cannot or would prefer not to remove the processor, connect a jumper wire between RESET and GND.  This will hold the processor in reset preventing it from running.

2. Jumper TX to RX.

3. Apply power to the board.

4. Start your favourite terminal application.  Serial Monitor will work fine.

5. Ensure your terminal application is connected to the correct serial port.  The baud rate is irrelevant.

6. Type.  As you type, the characters should be echoed to the screen.
Logged

California
Offline Offline
Sr. Member
****
Karma: 3
Posts: 433
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It works when i DO remove the processor... Is that good? Can I just replace the atmega?
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 208
Posts: 12929
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It works when i DO remove the processor... Is that good?

Yes.  That means the board passed the test.

Quote
Can I just replace the atmega?

If I were in your shoes, I'd check the 5V and 3.3V.  If that seems OK then yes you can just replace the processor.
Logged

California
Offline Offline
Sr. Member
****
Karma: 3
Posts: 433
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

They're good.... On a semi-related note, do i need to replace it with one bootloaded for the UNO? The only one on parkfun says its for the Duemilanove. And is there a better place(cheaper) than Sparkfun to get them?
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 208
Posts: 12929
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

They're good.... On a semi-related note, do i need to replace it with one bootloaded for the UNO?

You do NOT need to get a replacement with a "Uno bootloader".  Any "Arduino compatible" bootlaoder should do.  The Uno bootloader has some features (smaller, fast jump on power up) that you will give up with other bootloaders.

Or, you can get a blank processor and try your hand at installing a bootloader...
http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html

Quote
The only one on parkfun says its for the Duemilanove.

Should be fine.

Quote
And is there a better place(cheaper) than Sparkfun to get them?

I think Evil Mad Science has bootloaded processors...
http://evilmadscience.com/
Logged

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

They're good.... On a semi-related note, do i need to replace it with one bootloaded for the UNO? The only one on parkfun says its for the Duemilanove. And is there a better place(cheaper) than Sparkfun to get them?

No, arduino compatible bootloader will work. However you will have remember to then select the proper arduino board type that is compatible with the bootloader code used. For example if you install a Duemilanove bootloader onto a Uno board then you have to select a Duemilanove board in the IDE before uploading as the bootloader baud rate is different between the Uno and Duemilanove bootloader code.

Lefty
Logged

Pages: [1]   Go Up
Jump to: