Pages: [1] 2 3   Go Down
Author Topic: Arduino won't upload  (Read 7079 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there,

My Arduino UNO won't upload any sketches anymore, it has worked before, but now it just stopped working.

This is the error message it gives me:
avrdude: stk500_getsync(): not in sync: resp=0x00

This is the error message it gives when holding down shift:
avrdude: usbdev_open(): did not find any USB device "usb"

When uploading it the LED on pin 13 turns off, and the RX flashes 3 times. The TX stays off.

I'm using Windows 7 64bit, and I have also tried it on a Windows 7 32bit machine, with the same results.

I am also sure I have the right COM port selected, and that I have the correct board ticked under Extra --> Board

The sketch I last used with the Arduino was one for reading PPM signals, it was connected to my RC transmitter via port 1, and a ground port. It was sending back data to my computer, but suddenly it stopped.
If you need to know any more info on what I'm using or what I was doing, don't hesitate to ask.

Thanks in advance!
« Last Edit: October 15, 2012, 10:30:30 am by RubinGrolsch » Logged

California
Offline Offline
God Member
*****
Karma: 13
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you tried CodingBadly's loopback test?

http://arduino.cc/forum/index.php/topic,73748.0.html
Logged


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

Have you tried CodingBadly's loopback test?

http://arduino.cc/forum/index.php/topic,73748.0.html

I just tried it, and it failed the test. The RX LED flashes when I send something, but the TX doesn't, so I get nothing back.
(by serial monitor he did mean the thing that pops up when I press CTRL+SHIFT+M in the Programming environment, right?)
Logged

California
Offline Offline
God Member
*****
Karma: 13
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I just tried it, and it failed the test. The RX LED flashes when I send something, but the TX doesn't, so I get nothing back.
(by serial monitor he did mean the thing that pops up when I press CTRL+SHIFT+M in the Programming environment, right?)

Yup, that is the one.  Okay, try this.  Download FLIP and install:

http://www.atmel.com/tools/FLIP.aspx

Leave the software closed after install and plug in the Uno and short the Reset and Gnd pins on the Atmega8u2/16u2:



This should cause a new device to be found in Windows.  Manually navigate the wizard to Program Files\ATMEL\FLIP 3.4.7\usb for the .INF file for your DFU.  After the installation is complete, open FLIP and then post back here which driver installed (Atmega16u2 or Atmega8u2).
Logged


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

Yup, that is the one.  Okay, try this.  Download FLIP and install:

http://www.atmel.com/tools/FLIP.aspx

Leave the software closed after install and plug in the Uno and short the Reset and Gnd pins on the Atmega8u2/16u2:

This should cause a new device to be found in Windows.  Manually navigate the wizard to Program Files\ATMEL\FLIP 3.4.7\usb for the .INF file for your DFU.  After the installation is complete, open FLIP and then post back here which driver installed (Atmega16u2 or Atmega8u2).

I have the R3 version of the Uno, so I am not sure where to connect the reset to the ground, because your pic is a bit different from my Arduino.
Will it also work if I just connect the reset on the bottom of the board (next to the pin where it says 3.3V), to a ground?
Logged

California
Offline Offline
God Member
*****
Karma: 13
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

There should be a 3x2 header in that location next to the USB socket.
Logged


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

There should be a 3x2 header in that location next to the USB socket.

Right, found it. But I'm having a bit of trouble with getting it to work, what do you mean by navigate the wizard? Tell it to look there for drivers? Nothing pops up when I plug the Arduino in, the only thing it does is make the sound it always makes when you attach a device.
Logged

California
Offline Offline
God Member
*****
Karma: 13
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

When you have it plugged in and you short the pins, take a look at you Device Manager and see if it has a new device like Atmega16u2 or Atmega8u2.  If there is an unknown device, try to install the driver from Program Files\ATMEL\FLIP 3.4.7\usb folder.
Logged


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

Sorry still no luck, it shows as an unknown device in device manager, and it can't find any drivers in the Program Files\ATMEL\FLIP 3.4.7\usb folder. Not even in the Program Files\ATMEL\FLIP 3.4.7 folder
Logged

California
Offline Offline
God Member
*****
Karma: 13
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hmmm... I wonder why it is not taking the atmel_dfu_usb.inf file.  Have tried from the "Add Hardware" function?
Logged


California
Offline Offline
God Member
*****
Karma: 13
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Actually, I just thought of something.  See if the Arduino IDE Enhanced can help things out:

http://arduino.cc/forum/index.php/topic,118440.0.html
Logged


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

Sorry, neither of those solutions work. It still isn't taking the .inf file, and although the enhanced suite doesn't give any errors, it still doesn't upload the file. Strange huh? What do you think the problem is?
Logged

California
Offline Offline
God Member
*****
Karma: 13
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I am afraid the Atmega8/16u2 got zapped.

Do you have a spare Arduino and (6) female to male jumpers or AVR programmer?
Logged


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

Do you have a spare Arduino and (6) female to male jumpers or AVR programmer?

I don't have a spare Arduino laying around, but I do have a jtag device. Will that do the job aswell?
Logged

California
Offline Offline
God Member
*****
Karma: 13
Posts: 629
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you can put it into a SPI programming mode.  Do you know which make/model you have?
Logged


Pages: [1] 2 3   Go Up
Jump to: