Arduino Ethernet - unable to upload stk500_getsync() not in sync: resp=0x01 - arduino

First of all I did a big Research session before asking here but I didn't found a solution to fix my Problem.
I have the Arduino Ethernet chip and I have downloaded the latest Beta from the Arduino SDK (I also tried it with the latest stable, same result)
Now when I try to compile it says the following:
avrdude: Version 6.0.1, compiled on Apr 3 2014 at 23:12:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf"
Using Port : COM8
Using Programmer : arduino
Overriding Baud Rate : 115200 avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20] avrdude: Send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding avrdude:
stk500_recv(): programmer is not responding avrdude: stk500_getsync()
attempt 1 of 10: not in sync: resp=0x01
[...]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding avrdude:
stk500_getsync() attempt 10 of 10: not in sync: resp=0x01
avrdude done. Thank you.
Yep, I have selected the rigth board, yep I have selected the rigth comport, nope, there is no cable in Output 1 or 2.
I have also tried it with the eclipse plugin, same resulte (due it's the same SDK)
My OS: Windows 8.1 x64
My Programmer: Diamex-AVR
to the programmers.txt file I added this code:
diamexavr.name=DIAMEX-AVR
diamexavr.communication=Serial
diamexavr.protocol=stk500v2
Any ideas?
Thanks in Advance,
Spider

Related

Arduino Nano programmer not responding

I am very new to arduino and I recently bought a Nano, and when I try uploading the code, it throws this error:
`Arduino: 1.8.13 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"
Sketch uses 924 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I have tried changing the programmer, changing the processor to the old bootloader; all of the standard stuff. Nothing has worked.
Any help would be greatly appreciated
Test other ports, and other USB cable. If you buy this nano from China, maybe it has CH3040 usb driver (this is a cheap chinese usb communication chip). If that's true, download this driver, without that isn't work chinese nano.
Good luck!
Arduino Nano Uses the CH340G driver unlike the CP2102 used in UNO
so you need to install the correct drivers and check inside drivers section for the COM port .
If you have already burnt the new bootloader it wont cause any upload issues
As a last resort you can use Arduino as ISP to program your NAno
please check out this article
I recently had the same issue with IDE 2.0.3 and had to go to tools/Processor/ATmega328P (Old Bootloader).
This changed the bitrate from 115200 to 57600 and allowed the nano to be programmed.

Arduino Nano cannot upload sketch

I have tested a circuit with an arduino nano. Afterwards I created a pcb with the ATMega328 on it and with the exactly same circuit.
If I try to upload my sketch now I get this Error msg.
Thank you for your help in advance.
`
Arduino: 1.8.13 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"
Sketch uses 9704 bytes (31%) of program storage space. Maximum is 30720 bytes.
Global variables use 390 bytes (19%) of dynamic memory, leaving 1658 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM7 -b57600 -D -Uflash:w:C:\Users\loren\AppData\Local\Temp\arduino_build_829064/slave_test_with_arduino.ino.hex:i
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM7
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x55
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x55
avrdude done. Thank you.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
`
Try the following, this should work.
Remove connections to the board pins, especially the 0 (RX) and 1 (TX) digital pins while uploading.
The above thing worked for me, after uploading again make connections to those pins.
If this is not helpful check the following :-
1. Check your board and port selections :- In the top menu bar, make sure the correct board is selected in Tools > Board, and that you’ve selected the right port in Tools > Port. Try disconnecting and reconnecting your board if you’re unsure which port is being used (close and reopen the Port menu to refresh the list). For more information, see Select the right port and board.
2. Check your sketch for errors :- Click the Verify button Verify button to compile your sketch without uploading it. If you still get an error, see Compilation errors when uploading.
3. Check your connections :- Your board needs to be connected with a data USB cable (charge-only cables will not work). Make sure the cable is fully inserted in the port on each end. Try a different USB cable, and avoid hubs and other adapters if possible. Remove connections to the board pins, especially the 0 (RX) and 1 (TX) digital pins.
For further help refer this
https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch

Arduino is dead? Error avrdude

I have a problem with my Arduino.
When I try to upload a sketch any, I get the following error:
avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/Antonio/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.usbmodem1411
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Board: Arduino Uno R3
OS : OSx "El Capitan" and "Windows 10"
Now I tried a erase,upload new firmware using dfu-programmer but without success.
I always get the same error.
my arduino is dead?
It seems that the LEDs "The light has a weaker than usual. I do not know if it's just me, is definitely weaker than the" power / ON "
It could be a problem of the bootloader?
The first thing I would do is try programming it with the Arduino IDE and the "Blink" program to determine if is a hardware issue or code issue.

Arduino NANO - not showing in device manager

If somebody solved this issue, please send me link.
My issue:
I bought 2 arduino nanos (http://www.ebay.com/itm/311064700128?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT)
When I plugged them into PC, Led started blinking. I decided to try and test it so I wrote a program blink led with a bigger delays etc. I changed things as I should (like 328, arduino nano setting etc.)
When I open device manager, ports there is not even an arduino here!
And still it doesnt wat to upload itself! My chip mega328P AU1451 (its written under name)
Error message:
Quote
Arduino: 1.6.4 (Windows 7), Board: "Arduino Nano, ATmega328"
Sketch uses 1 070 bytes (3%) of program storage space. Maximum is 30
720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2 039
bytes for local variables. Maximum is 2 048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x9b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x9b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x9b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x9b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x9b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x9b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x9b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x9b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x9b
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x9b
Problem uploading to board. See
http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with "Show verbose output
during compilation" enabled in File > Preferences.
I tried to change programmer settings and it has told this:
avrdude: ser_open(): can't open device "\.\COM1": Prístup je odmietnutý.
(prístup je odmietnutý means acces is denied)
Any ideas how to solve this? Arduino forums didnt answer.
The Arduino clone device you have linked to uses the CH340 chip as its USB serial adapter. You need to obtain the drivers from the Chinese manufacturer or some other site. There are a number of blogs that provide information about using these clones (example). Provided the driver is installed it should then appear as a standard serial port device and can then be used in the same way as a genuine Arduino device.

Standalone Arduino not uploading

I'm trying to build my own arduino and i'm having some trouble while uploading the code.
I'm pretty sure my build is correct because the LED on the pin 13 blinks 3 times when i press the reset button.
The error i get when i try to upload is:
Arduino: 1.6.0 (Windows 8), Board: "Arduino Uno"
Sketch uses 450 bytes (1%) of program storage space. Maximum is 32,256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2,039 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x01
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x01
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
My OS is Windows 8 and the chip i'm trying to use is the Atmega328P-PU
I did check the port and the drivers and i tried pressing the reset button while uploading.
To troubleshoot this issue, first be sure to select:
- Tool > boad > Arduino uno
- Tool > port > COM X (the one available)
Normally you don't have to press the reset button because it will be done automatically by the Arduino IDE before uploading (using the reset pin). But if you still have a sync issue try to hit the reset button just after the compiling process (so as soon as the upload process is starting).
If you are still struggling try to downgrade to Arduino IDE 1.0.6 http://arduino.cc/en/Main/OldSoftwareReleases
I had the same error on Windows 7 on VirtualBox while uploading code to Arduino Uno. I restarted the computer and tried again and it worked the first time but the same error came back on later tries. So now I am disabling the COM port, closing Arduino IDE, enabling the COM port then restarting the IDE. It's tedious but I'm in a pinch now.

Resources