0

I keep getting this error when i try to upload my sketch. I've switched USB-ports and cables but nothing seems to help so far. The lights on the Arduino are burning. enter image description here

Share a link to this question (includes your user id)
| edit | close | delete |
  • For others with similair problems: Try all the recommended solutions below. If it still fails, post an answer here and describe what you tried. Add the verbose output of the Arduino IDE to your answer. – Fjodor van Slooten Apr 29 at 6:40    
1

Some errors that are related to this:

Not in sync

"avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00"  

May occur randomly, especially if you have multiple arduino sketches open. It means the port is busy and cannot be accessed at the moment. This is nothing too serious, though. Reconnecting the Arduino often resolves the issue.

Can't open device

"ser_open(): can't open device "\\.\COM6" ... "

This means the driver of this port has crashed or cannot be found. This is often caused by incorrectly disconnecting your Arduino. NEVER rewire your breadboard when the Arduino is connected to your PC. This can damage the Arduino, and more importantly, your PC!

Quick troubleshooting steps related to connection issues:

  • Reconnect the Arduino
  • Restart the Arduino IDE. Save your sketch first!
  • Try another USB-port and/or select another COM-port if available
  • Disconnect Arduino, reboot PC, reconnect Arduino
  • Update the driver of your COM-port. Disconnect your Arduino. Go to Windows Device Manager (type in start: 'device manager' or 'apparaatbeheer'). Expand 'Ports' (Poorten) and notice the options in there. Now plug-in the USB of your Arduino, and watch which Port is added in this list. Right-click this one and choose 'update driver' and then select the option to automatically let Windows search for available drivers.
  • The same as above, but instead of 'update driver', choose 'remove device' while your Arduino is connected. Then disconnect your Arduino and reconnect it again, this will force Windows to reinstall the drivers for this COM-Port.
Share a link to this answer (includes your user id)
| edit | | delete |
0

Do you have File > Preferences > Show verbose output during: upload checked? That might show more details (post the output here in your answer!)

Restarting your computer might help.

As a test, connect the other Arduino (just the board itself, no need to mount it on a breadboard). Check that you select the proper Processor (Tools > Processor): the regular Nano needs "ATmega328P (old bootloader)", the Nano BLE needs the regular one (ATmega328P).

If connecting the other Arduino (without being mounted on the breadboard) works, there are 2 possibilities: 1. you have a wiring problem (your wires cause the Arduino mounted on the breadboard to malfunction) 2. the Arduino mounted on the breadboard (that does not work) is defect

In case of 1: double or triple check the wiring! In case of 2: do the assignment with the working Arduino

Also check this general troubleshooting page. And the Arduino forum.

Share a link to this answer (includes your user id)
| edit | delete |
0

I was sent here from the answer on my post called 'arduino not recognized by computer'. As i said there I reconnected the arduino several times, restarted arduino ide several times, used different ports several times, rebooted my pc and disconnected the arduino several times and tried to update and remove the driver of the arduino several times and in several ways. in the device manager on my computer is no 'ports' heading and instead under 'USB controller' 'unknown USB device' shows up when an arduino is plugged in. The same error messages appear with both arduinos, with different cables, and on different computers including a mac. the following text is in the verbose output in arduino Ide:

Sketch uses 9070 bytes (29%) of program storage space. Maximum is 30720 bytes. Global variables use 484 bytes (23%) of dynamic memory, leaving 1564 bytes for local variables. Maximum is 2048 bytes.

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

Share a link to this answer (includes your user id)
| edit | | delete |
0

I did the last point from thimo's comment and that fixed the issue it seems!

Share a link to this answer (includes your user id)
| edit | | delete |

Your Answer