Show Posts
Pages: [1]
1  Using Arduino / Installation & Troubleshooting / Arduino Uno "lost" serial port on: November 07, 2012, 04:58:43 am
Hi
I made a setup with Transistors and 1k resisitor to the base for 10 relais to control lights on my model train setup.
I connected the Uno to it for outputs 13 to 4.
I connected the Uno to an external 12 V DC power supply.
I connected the 12 V relais to the Vin pin of the Uno.
I uploaded the "blink" program to check one relais after the other.
The first relais followed the blink, so I uploaded the sketch with out puts 12, 11, 10
So far so good.
In parallel I connected my iPhone to another USB port.

Then it happened

All of  a sudden the serial port of the Uno was gone.

I tried another Uno, it connected.
I tried the Uno with another computer .. nothing.
I switched to another USB cable ... nothing.

When the Uno in question is connected to the USB cable, the green power LED is on. The LED 13 is still blinking. So th eBlink sketch is still running.
I measured pin 13, it is switching between 0 and 5 V DC.
I measured Vin, it shows 12 V.

I connected pin 13 to my relais - transistor setup. The relais are still switching. So I assume that at least output 13 is still OK.

However the tools in the IDE does not allow to connect "serial port", that menu section is grey.

I am using an Acer computer with windows 7 (64) and another laptop with windows 7 (32).
Both can manage other Arduinos (Uno and diecimila), however this board no longer.

What went wrong, can it be fixed? or shall I buy a new one.

But I want to know what happened, so it should not happen again.

Thanky for your help.

Wolfgang
2  Using Arduino / Installation & Troubleshooting / Re: arduino uno smd r2: avrdude: stk500_getsync(): not in sync: resp=0x00 on: October 14, 2012, 04:04:10 pm
Hi
if I try to upload I receive:

Binäre Sketchgröße: 23.448 Bytes (von einem Maximum von 32.256 Bytes)
avrdude: verification error, first mismatch at byte 0x2680
         0xff != 0x51
avrdude: verification error; content mismatch

I will be on a business trip all next week, so I have to stop at this time.
Thank you for your support so far.

Wolfgang
3  Using Arduino / Installation & Troubleshooting / Re: arduino uno smd r2: avrdude: stk500_getsync(): not in sync: resp=0x00 on: October 14, 2012, 11:40:08 am
Hi
I tried.
The heartbeat LED does it.
However if I try to install bootloader via tools it says

avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.
4  Using Arduino / Installation & Troubleshooting / Re: arduino uno smd r2: avrdude: stk500_getsync(): not in sync: resp=0x00 on: October 14, 2012, 04:06:36 am
Hi
I found the dot. I will try
see my set up as before as attachment.

I tried with a cable I configured from old PC remains.
I connected #5 to pin 10 of the programming boad as well.

I get the same result.
I figured that "confirm" is always "0", so it never will match "programAcknowledge" to leave the loop.
when I forced the loop to be left, it says "unrecognized signature".

Ah, something is different. When I press "reset" on either boards, the loop starts again (with the same result) and LED 13 flickers as well on the dead board, like it should at reset. BUT not as bright.



5  Using Arduino / Installation & Troubleshooting / Re: arduino uno smd r2: avrdude: stk500_getsync(): not in sync: resp=0x00 on: October 13, 2012, 04:17:09 pm
I went through the program
it is stuck in this loop:

void startProgramming ()
  {
  byte confirm;
  pinMode (RESET, OUTPUT);
  pinMode (SCK, OUTPUT);
  
  // we are in sync if we get back programAcknowledge on the third byte
  do
    {
    delay (100);
    // ensure SCK low
    digitalWrite (SCK, LOW);
    // then pulse reset, see page 309 of datasheet
    digitalWrite (RESET, HIGH);
    delay (1);  // pulse for at least 2 clock cycles
    digitalWrite (RESET, LOW);
    delay (25);  // wait at least 20 mS
    SPI.transfer (progamEnable);  
    SPI.transfer (programAcknowledge);  
    confirm = SPI.transfer (0);  
    SPI.transfer (0);  
    } while (confirm != programAcknowledge);
    
  Serial.println (F("Entered programming mode OK."));
  }  // end of startProgramming

I figured that "confirm" is always "0", so it never will match "programAcknowledge" to leave the loop.


D10 is connected to reset, Both are female jumpers.
When uploading, at least LED 13 of the dead board is blinking as well. that one is not dead.
But is it not performing the reset, I believe.

By the way: I just downloaded "setup_Arduino_ERW_1.0.1h_20121002.exe" with no problems. It says that the upload is done. No error message .... but it does not work either :-(

regards

Wolfgang
6  Using Arduino / Installation & Troubleshooting / Re: arduino uno smd r2: avrdude: stk500_getsync(): not in sync: resp=0x00 on: October 13, 2012, 10:08:22 am
Hi sp computing
I used my functioning Uno smd and uploaded the sketch. No error message.
I connected both boards as discribed with separate wires.
The defective board:
- shows the green power LED on.
- shows the LED 13 blinking identical to the programmer board. (ah! it ain't broken!)

I open the serial monitor and adjust to 115200 baud.
I hit reset on the programmer board.
The monitor shows:
Atmega chip programmer.
Written by Nick Gammon.

That's it, no further question.

I sent "U", nothing.
I sent "G", nothing.

What I am doing wrong?

7  Using Arduino / Installation & Troubleshooting / arduino uno smd r2: avrdude: stk500_getsync(): not in sync: resp=0x00 on: October 12, 2012, 10:14:02 am
Hi
the board worked fine for some few weeks. since yesterday I receive the nice message "avrdude: stk500_getsync(): not in sync: resp=0x00".
I tried with another computer. same message.
Another Arduino UNO SMD r2 / a Diecimila works fine with the same sketch and IDE.
The board shows this
- reset does not cause LED 13 to blink
- after uploading only RX blinks three times, TX does not, LED 13 does not.
- I tried the loop, and both RX/TX blink

Did I kill something and shall I stop trying?
Is there a solution I did not find yet (I am new in this forum, I am new with Arduino as well.)
Thanks

Wolfgang
Pages: [1]