Arduino uploading never end

Hi!

I require your help regarding a problem I’m encountering.

Description: When I program the robot, the Arduino uploading runs a long time, and it never ends. Do you have any idea about this problem?

The report on Arduino is shown below:

Arduino: 1.8.15 (Windows 10), Board: “Arduino Duemilanove or Diecimila, ATmega328”

Sketch uses 9832 bytes (32%) of program storage space. Maximum is 30720 bytes.Global variables use 695 bytes (33%) of dynamic memory, leaving 1353 bytes for local variables. Maximum is 2048 bytes.C:\Users\bbxie\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.0.1-arduino5/bin/avrdude -CC:\Users\bbxie\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.0.1-arduino5/etc/avrdude.conf -v -patmega328p -carduino -PCOM6 -b57600 -D -Uflash:w:C:\Users\bbxie\AppData\Local\Temp\arduino_build_182568/Omni3WD_test.ino.hex:i avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58 Copyright © 2000-2005 Brian Dean, http://www.bdmicro.com/ Copyright © 2007-2009 Joerg Wunsch System wide configuration file is “C:\Users\bbxie\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.0.1-arduino5/etc/avrdude.conf” Using Port : COM6 Using Programmer : arduino Overriding Baud Rate : 57600

Hardware concerned: 3WD Compact Omni-Directional Arduino Compatible Mobile Robot

Software concerned: Arduino 1.8.15

Troubleshooting steps already taken: try online solutions, but never work

Additional information:

Thank you so much in advance for your help!

Hello @Binbin,

Are you sure you selected the correct board?

For Duemilanove Arduino boards with an ATmega328 (check the text on the chip on the board), select Arduino Duemilanove or Nano w/ ATmega328. Previously, Arduino boards came with an ATmega168; for those, select Arduino Diecimila, Duemilanove, or Nano w/ ATmega168.

For more information check the Robot Kits Manual_006 page 9 available on the documentation ZIP files.

1 Like

Hi @geraldinebc15,

Thanks for the replying. Yeah,I select Arduino Duemilanove or Diecimila with processor of ATmega328 (as shown in the picture attached).
I also tried Arduino Nano, and tried ATmega 168, but still have the same problem.

Have you tried uploading a simple sketch like the “Blink” LED one?

Also, try checking if there is no conflict with the COM port being used for the Arduino.

1 Like

I tried the blink example. But the same problem also occurs at the blink example. :cold_sweat: :disappointed_relieved: :disappointed_relieved:

I’m sure there is no COM conflict.

When I select “Get Board Info”, it shows “Unknown board”. Is this correct?

![449938376867460732|345x459]
![686327544394481055|345x459]

Hi @geraldinebc15

Could you please help me? Thank you so much.

Hello @Binbin,

Sorry for the late reply.

These are some of the most common problems with Arduino boards:

  • Incorrect COM port selected:

Most beginners make this mistake, they select wrong COM port. Each computer has different COM port numbers and you have to select the right one for your PC. If your Arduino board sport ATmega16U2 chip it will show you to which COM port number your board is connected to and select that one.

If your Arduino board sport a CH340G chip, it won’t show you the connect COM port number and you have try each of them that is displayed.

  • Selected wrong board at tools menu:

You have to select the correct board name. If you choose Arduino Nano for Arduino Uno, you code will not get uploaded.

  • Selected wrong processor:

You should select the right microcontroller IC number at tools menu, otherwise the code will not get uploaded.

  • Tx and Rx pins are connected to your circuit:

Whenever you are uploading a code to your Arduino board, make sure that Tx and Rx pins are not connected anywhere else in the circuit. Once you finish uploading the code, you may reconnect the Tx and Rx pins to your circuit. The Tx and Rx (pin number 0 and 1) are the pins where the code gets uploaded to the microcontroller.

  • Defective USB cable:

A defective USB cable can make your Arduino board undetectable on your computer, not even detectable on your device manager and also may cause frequent disconnection from your PC. If you find yourself in this circumstance, please replace the USB cable that connects to your computer and Arduino board.

  • Defective USB port:

A dusty / rusted USB port on your computer may cause frequent disconnections or may prevent uploading of the code altogether, this could be because the rusted USB lines may not establish proper physical contact with the USB cable.

Always connect your Arduino board to a good USB port of your computer and make sure that USB port on the Arduino board also has no physical defects. If problems arise from a particular USB port, don’t use that again.

  • Inspect for physical damages on Arduino board:

Grab a magnifying glass and take a closer look at the traces and solder joints in the board, especially on USB to serial converter chip and microcontroller IC, if you find any, try to bridge them by soldering it. If you find any physical damage on any of the components, such as cracks or burn marks, you may need to replace the component or replace the whole board.

There could be problems with microcontroller IC or with other components which are not visually inspect-able / visible or replaceable, in such case replacing the whole board is the only solution.

  • Try Reinstall the Arduino IDE:

Download a fresh copy of IDE from the official website of Arduino and install it to your computer. Re-installing the latest / same version of Arduino IDE may solve some installation issues with your computer.

There could be situations where the newer IDE didn’t work well with your Arduino board, if so please try roll backing to the previous version which you have been using before.

  • Try to upload a sketch from another computer:

This is the final troubleshooting step if you can’t get your Arduino board to work. Connect your board to another computer (with proper drivers) which is known for uploading Arduino sketches without any issues. If the issue still persist, your board has some problem and please replace your board.

If you’ve already tried all of these and haven’t found a solution you can try contacting the manufacturer directly at [email protected] or if you preffer we can put you in touch with them.

Hi @geraldinebc15

could you please answer my last question? the unknown board problem.

Thanks. Still waiting for your reply.

The Board Name field of the Board Info dialog is filled when the Arduino board definition specifies a VID and PID for the board, this is populated by the name value in boards.txt for the board that has the matching VID and PID values, which are numbers provided by USB devices to identify the device.

As this is an Arduino-based board, not a classic one, the VID/PID pair is provided by the manufacturer so there is no way to know which Arduino board is.

Thank you so much. @geraldinebc15

So the “unknown board” is not a problem?

It is not a problem, for the type of board, it is expected.

1 Like

Thanks so much.

1 Like

I solved this problem. Thanks.

2 Likes