Sorry for the late reply.
-
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.
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.
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.