Cant upload code on arduino

i tried running a simple code right now on Arduino but it gave me this error

"Sketch uses 1848 bytes (5%) of program storage space. Maximum is 32256 bytes.
Global variables use 188 bytes (9%) of dynamic memory, leaving 1860 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "\.\COM5": The system cannot find the file specified.
Failed uploading: uploading error: exit status 1"

it was working fine 2-3 days ago but now it isn't
please let me know if u have the anwer

Some standard questions:

  1. Which Arduino?
  2. Clone or original?
  3. What ttl-to-usb converter on your board?
  4. Which Windows version?
  5. Which IDE version? You posted in the IDE 1.x section.
  6. Is COM5 indeed the Arduino? Does it disappear from the ports menu when you disconnect the board?
  7. What does Windows device manager think of the board?
  8. Please describe the project that you were working on when it started failing.

Your topic has been moved to a more suitable location on the forum as this is not quite an IDE question.

1 Like