I have a problem with my ethernet shield. With just the Arduino UNO I make a little test with 7 LED and he work perfectly. But ! If I try with my ethernet shield and I compil the internet program over the program of 7 LED I've got this error :
"stk500_getsync(): not in sync: resp=0x00"
I think you have 215451158562 pages of topic of this error, but I didn't find anything for my problem.
Thanks you very much and sorry for my English !
(I use the pin 2,3,5,6,7,8,9 for the LED on the ethernet shield)
SurferTim:
Remove the ethernet shield and LEDs. Try uploading another sketch. Does it compile and upload? If so, then try the ethernet shield by itself.
Which ethernet shield are you using? There are two different models. One uses the w5100 and the other uses the ENC28j60.
This is a WS5100
Ok it work with the internet shield with no LED, nothing. (no ethernet cable)
Work with the internet program, with arduino uno and arduino UNO + Ethernet shield (no ethernet cable)
Didn't work with arduino UNO + shield + ethernet cable, and now didn't work always, with all methods.
That is very strange. It worked without the cable connected, but fails when it is connected. Sounds like an ethernet shield or cable problem. Have you tried with a different cable? Maybe a short circuit in the cable?
And it fails the same way? You get the "not in sync" error?
SurferTim:
That is very strange. It worked without the cable connected, but fails when it is connected. Sounds like an ethernet shield or cable problem. Have you tried with a different cable? Maybe a short circuit in the cable?
And it fails the same way? You get the "not in sync" error?
I can't try with another cable, but yes I've got the not in sync error :
You have checked to insure you are uploading to the correct serial port? I get that error sometimes if my Arduino disconnects and reconnects to the usb port. I use Linux, so it will show ttyACM1 instead of ttyACM0 after a quick disconnect and reconnect. Just a thought...
Now that you mention that, I remember there was an issue about the reset circuit on some ethernet shields. It would not allow the Arduino to be reset by the usb IC. That would cause the same error message because the Arduino bootloader would not start.
Try uploading the sketch code with the ethernet shield connected, and when you start the compile, press and hold the reset button. When you see the "uploading" message, release the reset button. Does it upload the code then?
SurferTim:
Now that you mention that, I remember there was an issue about the reset circuit on some ethernet shields. It would not allow the Arduino to be reset by the usb IC. That would cause the same error message because the Arduino bootloader would not start.
Try uploading the sketch code with the ethernet shield connected, and when you start the compile, press and hold the reset button. When you see the "uploading" message, release the reset button. Does it upload the code then?
It work ! thx
I have just one more question, it's possible to make a redicrection to my real website because with Arduino the webpage is very limited !? Just 32Mo. And I want to make a page for login, and also make a program for send to the web if a LED in on or not....
I don't see why not. I normally use my Apache server to upload the "main page" to the client web browser, and the Arduino web page is embedded in an iFrame on that page.
SurferTim:
I don't see why not. I normally use my Apache server to upload the "main page" to the client web browser, and the Arduino web page is embedded in an iFrame on that page.