Hello,
I've purchased an Arduino Uno R3 about a month or two ago for a single purpose which was to read a PC fan's tachometer data and transfer it back to the computer (it was a serial read or some similar sketch, I don't remember anymore). Unfortunately, this idea didn't go as planned after checking the serial monitor and receiving false data. I tried uploading a basic sketch (the factory default "blink" sketch) and got the (in)famous 0x00 error. I've tried many possible solutions (including FLIP), the problem remains until today. The board is selected correctly, same with the serial port.
The "symptoms" of my Arduino Uno R3 are:
Constantly receiving the 0x00 error when trying to upload a sketch
TX and RX aren't even lighting up, even when trying to communicate to the device
Echo testing doesn't return anything and sometimes shows random symbols
Is detected by the device manager, serial port is assigned properly (currently it's COM2)
The power and pin13 LEDs are lit constantly, pin13 flashes a few times when resetting
I believe that it's a busted 328 chip, there's no way to check it, though, Arduino devices are expensive here in Lithuania (100 LTL for the Uno that I've bought).
Paulius5:
The "symptoms" of my Arduino Uno R3 are:
Constantly receiving the 0x00 error when trying to upload a sketch
TX and RX aren't even lighting up, even when trying to communicate to the device
Pingback doesn't return anything and sometimes shows random symbols
Is detected by the device manager, serial port is assigned properly (currently it's COM2)
The power and pin13 LEDs are lit constantly, pin13 flashes a few times when resetting
I believe that it's a busted 328 chip, there's no way to check it, though, Arduino devices are expensive here in Lithuania (100 LTL for the Uno that I've bought).
Running Arduino ERW 1.0.5 on windows 7.
--OK , so basically you can't upload , right ?
--Why do you expect RX/TX leds to light up when there is no sync between your computer and Arduino ? And no code running !!!
--COM2 is probably wrong , it should be something other that COM1 or COM2.. From your IDE did you go on tools->ports and see the available ports listed ? Did you select your board through tools->Boards and select uno ? Did you try unistalling and installing you Uno again ?
--The "On" led and the pin 13 led is normal to be lit constantly, no worries..
--Also you should update your IDE to 1.5.5 or 1.5.6
--Tried any other Usb port ? On other computer ?
Paulius5:
The "symptoms" of my Arduino Uno R3 are:
Constantly receiving the 0x00 error when trying to upload a sketch
TX and RX aren't even lighting up, even when trying to communicate to the device
Pingback doesn't return anything and sometimes shows random symbols
Is detected by the device manager, serial port is assigned properly (currently it's COM2)
The power and pin13 LEDs are lit constantly, pin13 flashes a few times when resetting
I believe that it's a busted 328 chip, there's no way to check it, though, Arduino devices are expensive here in Lithuania (100 LTL for the Uno that I've bought).
Running Arduino ERW 1.0.5 on windows 7.
--OK , so basically you can't upload , right ?
--Why do you expect RX/TX leds to light up when there is no sync between your computer and Arduino ? And no code running !!!
--COM2 is probably wrong , it should be something other that COM1 or COM2.. From your IDE did you go on tools->ports and see the available ports listed ? Did you select your board through tools->Boards and select uno ? Did you try unistalling and installing you Uno again ?
--The "On" led and the pin 13 led is normal to be lit constantly, no worries..
--Also you should update your IDE to 1.5.5 or 1.5.6
--Tried any other Usb port ? On other computer ?
I cannot upload and the echo testing isn't helping either. I hoped that they would at least light up during it. Tried multiple USB ports, same results, don't have any access to other computers right now.
Just updated, the result changed from 0x00 to 0xFB. I don't know what it changed, but I think it will be of some use. Also, I changed COM2 to COM8.
My term for one of the troubleshooting processes described all around the forums:
Basically TX and RX are connected together, and the device is left on reset, then sending some data through the serial monitor and checking the response.
Probably I'll just call it an echo test from now on because I just checked the definition, my term was misleading.
Paulius5:
Echo testing doesn't return anything and sometimes shows random symbols
Assuming the information you provided is accurate there are four possibilities...
• USB cable / USB connector is defective
• ATmega16U2 is defective (the processor that handles USB-to-serial conversion)
• The terminal application you used has a series bug
• The jumper wires you used were defective or loose
Rerun the test with a different, known to work, USB cable. For the terminal application use the Arduino Serial Monitor.
I'm using some wires from a 9VDC power supply I once had, they're quite thick so I don't think they could be faulty.
The ATmega16U2 runs properly in DFU mode (that's why I mentioned the FLIP software), triple checked.
I used serial monitors from 1.0.5, 1.0.5 ERW and 1.5.6 versions, also, since my router bricked itself out of nowhere yesterday, I've also used putty (I really need my Arduino to work right now).
And about the USB cable - I have two of them, both return same results.
A sample or received data (I sent "22"), 19200 baud:
þêžpx Ÿy_¿ƒ°xÞþà<Ï8"ÿøßøŸ.½Øúÿ@™øHyxxô@ |^üùÓx<œ
The same happens when using 115200 baud.
From the looks of the whole received data, it reminds me of white noise.
It seems that it keeps going even after removing both wires.
Changed to COM4 (previously occupied). Now the uploading process doesn't end at all or drops me a 0x71.
I've made a total of 3 wires, since the power supply cable itself is doubled, I cut off a part of it, separated and cut one in half (not to mention making all of them ready to use).
If you would like me to continue trying to help you this would be a good time to post what you are doing to perform a loop-back test. The first sentence had better be "I unplug everything from the board to ensure it is not powered."
If you would like me to continue trying to help you this would be a good time to post what you are doing to perform a loop-back test. The first sentence had better be "I unplug everything from the board to ensure it is not powered."
[/quote]
Okay, I unplug the USB cable from my Arduino Uno and leave it with no wires attached. Then I ground the reset pin and connect RX to TX. So two wires used in total, one left as a spare. Then I plug the USB cable into the device and wait until Windows recognizes it. Then I check the device manager if everything went well and if the correct COM port (this time it's COM4) has been assigned. I open up Arduino 1.5.6 and set the correct port and board. After that I select serial monitor and set 115600 baud. I input some numbers from the keypad and press enter. Then random characters show up, but not the numbers I've written. Sorry for not being clear.
That leaves four possibilities...
• The USB cable. Which is highly unlikely.
• The USB port is damaged. This is easily tested by connected a different device to the port.
• ATmega16U2 program is corrupt / wrong.
• ATmega16U2 is damaged.
While fiddling with DFU FLIP, if you tried to upload the firmware, I suggest you try again carefully ensuring you have the correct image.
While fiddling with DFU FLIP, if you never tried to upload the firmware, I suggest you try to upload the firmware.
If uploading the firmware does not work or does not resolve the problem then the ATmega16U2 is very likely damaged.
Flashed the Arduino-usbserial-atmega16u2-Uno-Rev3.hex file using another tool - the DFU programmer (Windows version that runs from the command prompt). Erased, successfully flashed, reset, started - the problem remains. Checked with a laptop running Windows 7 starter - same happens. Interestingly enough, this time I receive one or two symbols, not long sequences that happened before. I've set the Uno to COM7 on both computers.
Have I flashed the correct firmware, or should have I chosen the combined one?
Paulius5:
Have I flashed the correct firmware, or should have I chosen the combined one?
That question I cannot answer. If you don't get a response after a reasonable amount of time I suggest you post just that question here... Microcontrollers