Loop Back Test - Sticky?

@stargazer2050: If you would like help or to affect a change you will have to provide more information.

not even stickey

OSX 6.5.8 (fresh install)

Board 1 -- Arduino Mega Failed loopback test
Board 2 -- Arduino Mega Failed loopback test
Board 3 -- Arduino Uno Failed loopback test
Board 4 -- Arduino Uno Passed loopback test

Arduino 1.0

I have three boards which are no longer working: They were working fine at least 12 hours ago:

all three failed the loopback test. One did not even register with a usb serial connection.

This has been tried on at least 3 computers so far

any advice would be helpful

If all of these boards used to work at some point, I'd try analyzing what you did to them. And if you find a common 'thing' (can't think of a better word right now), stop doing that.

just tried the instructions, just for fun
seemed clear enough to me
oh - and got the expected result

didn't seem patronising (until I read this thread!)
could be idiot-proof
trouble is they outnumber us already and they're breeding like rabbits
[/soapbox]
:slight_smile:

Great documentation!!! (And I regularly read IBM mainframe docs.)
I followed the instructions and it behaved exactly as expected; a text version of ping.

I strung together some code to do the same thing. The problem is all I get back is rectangles under the serial monitor. Can you think of something to account for that?
Here's my code -

void setup() {
Serial.begin(9600);
pinMode(2, INPUT);
}

void loop() {
if (Serial.available() > 0) {
Serial.println(Serial.read());
}
}
}

Any help would be appreciated.

Regards,
kk

kkinney:
Great documentation!!! (And I regularly read IBM mainframe docs.)
I followed the instructions and it behaved exactly as expected; a text version of ping.

I strung together some code to do the same thing. The problem is all I get back is rectangles under the serial monitor. Can you think of something to account for that?
Here's my code -

void setup() {
Serial.begin(9600);
pinMode(2, INPUT);
}

void loop() {
if (Serial.available() > 0) {
Serial.println(Serial.read());
}
}
}

Any help would be appreciated.

Regards,
kk

Be sure the serial monitor is set to the same baudrate that your sketch is using (9600) in your case. The selection is done at the bottom right of the serial monitor window when it's opened.

Lefty

I've set it to a matching baud rate with the similar results.

I found a port monitor and sent it a string of 'a's. Here's what the monitor saw-
Port opened by process "javaw.exe" (PID: 6424)

Request: 2/23/2012 7:14:25 AM.52364 (+180.2188 seconds)

61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 61 aaaaaaaaaaaaaaaa
61 61 61 61 0D 0A aaaa..

Answer: 2/23/2012 7:14:25 AM.53864 (+0.0156 seconds)

39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 97..97..97..97..
39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 97..97..97..97..
39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 97..97..97..97..
39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 97..97..97..97..
39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 39 37 0D 0A 97..97..97..97..
31 33 0D 0A 31 30 0D 0A 13..10..

Ideas anyone?

Perhaps a peak at an ascii table (http://www.asciitable.com/) might shed some light.

Thank you for the tip on ASCII chart. (Personally, I bleed EBCDIC.)

After seeing 'a'=97, I tried all println formats. BYTE has been dropped, but the compiler pointed me in the right direction. This is the code that works -
int crap = Serial.read();
Serial.write(crap);

Thank you for the assist,
kk

I recently bought a Arduino Mega 2560.

Everything appeared to be working fine to start with, I managed to blink LED's and show temperature in the serial monitor etc.

The latest thing i have tried to do was to show text on an LCD. The Text was really dull even with the POT turned up and down.

Now when i connect my Arduino to the USB cable it does not show up in the Arduino software.

Mega 2560 is selected in the board options, but the port is blanked out, as if the pc cannot see the board.

I have tried different ports and the cable is brand new, and work to start with.

I have trioed pressing the Reset button which also does nto appear to work. I have tested the voltages on the power pins and they all seem fine. neither tx or rx LED illuminate but the power LED does.

PC does not see board during loop back test

Any ideas?

Thanks

Dan

My uno suddenly stoped working.. im afraid I may have touched two wires that shouldn't have while working with it last night. Power light comes on, but the other lights dont blink like they normally would when turning on and dont do anythign while trying upload to the board... I keep getting the error "programmer not responding". My computer detects the USB and so does the arduino program... but when i tried the loop test it failed to echo back the text.... have not tried another ocmputer yet, but I tried my MEGA board on the same ocmputer and it works fine...

WTF!?

No no, not WTF but "cause and consequence".

Your problem is easily solved by throwing some money at it (get a new one).

BTW, did you remove the chip before trying the loop-back test?

haha I know I know, but spending money is last result!

and remove what chip? My arduino uno doesnt have any removable chips (that i know of).

So you have the all-SMD version. Tough luck.

:frowning:

mau tanyak scrip untuk mengoneksi arduino uno atg328 gmn yaaa?

This is the English language part of the forum.

Thank you

So what do I do if my board fails the loop back test?? When i plug my board in, nothing pops up, makes a noise, or tries to install drivers. When I look at my device manager, I see a COM port, but its not called arduino anything (like the installation instructions say it will be). Uploading of the blink code doesn't work.

Binary sketch size: 1,632 bytes (of a 258,048 byte maximum)
avrdude: usbdev_open(): did not find any USB device "usb"

I'm on Windows 7 64 bit

munka:
So what do I do if my board fails the loop back test??

=(

Which board?