A problem in uploading the code

I am getting this error while uploading

Sketch uses 1792 bytes (5%) of program storage space. Maximum is 32256 bytes.
Global variables use 187 bytes (9%) of dynamic memory, leaving 1861 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch

Which board are you using? Did you select the correct board?
Did you select the correct port?
Which version of the IDE?
Which operating system.

Please disable verbose output during compilation and enable verbose output during upload. Next perform an upload and copy the full error message and paste it here in code tags.

1 Like

hey
I am using an Ardino UNO. I selected the board and port correctly.
I am using the 1.8.16 IDE version on Windows 10.

Hi @idktheusername. 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 an upload attempt when in verbose mode.

Please do this:

  1. Select File > Preferences from the Arduino IDE 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 in the Arduino IDE: 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.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.