Having problem in uploading code in arduino uno

Hi ,
This is Rohan,
I am new to arduino
After watching videos i started making a robot
And it got connected and working nicely
But when I wanted to change the code for 3th time
It is giving error.
Port and board was selected correctly
Please advice what to do
Rohan

Hi @rohan-2009. In order to gather more information that might help us to troubleshoot your problem, I'm going to ask you to post the full output from the upload when in verbose mode.

Please do this:

  1. Select File > Preferences from the Arduino IDE's menus.
  2. Uncheck the checkbox next to Show verbose output during: [] compilation
  3. Check the checkbox next to Show verbose output during: [] upload.
  4. Click the OK button.
  5. Attempt an upload, as you did before.
  6. After the upload fails, you'll see a button on the right side of the orange bar Copy error messages. Click that button. This copies the full output to the clipboard.
  7. Open a forum reply here by clicking the Reply button.
  8. Click the </> icon on the post composer toolbar. This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  9. Press Ctrl+V. This will paste the error output from the upload into the code block.
  10. Move the cursor outside of the code tags before you add any additional text to your reply.
  11. Click the Reply button to post the output.

Ok just a second
First it says uploading.........
But not giving done uploading.........
Just giving in minutes

OK, if it's just hanging forever, then try this:

  1. Select File > Preferences from the Arduino IDE's menus.
  2. Uncheck the checkbox next to Show verbose output during: [] compilation
  3. Check the checkbox next to Show verbose output during: [] upload.
  4. Click the OK button.
  5. Attempt an upload, as you did before.
  6. Wait for the upload process to finish or hang.
  7. Click on the black console pane at the bottom of the Arduino IDE window.
  8. Press Ctrl+A to select all the text.
  9. Press Ctrl+C to copy the selected text to the clipboard.
  10. Open a forum reply here by clicking the Reply button.
  11. Click the </> icon on the post composer toolbar. This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  12. Press Ctrl+V. This will paste the error output from the upload into the code block.
  13. Move the cursor outside of the code tags before you add any additional text to your reply.
  14. Click the Reply button to post the output.

Thank you I will check and update you

Any chance that you have connected anything to pins 0 and 1? If so, that might interfere with the upload.

Hi,
Have you tried loading another proven code, like the example "Blink without Delay"

What model Arduino are you using?

Thanks... Tom.... :grinning: :+1: :coffee: :australia: