I have created a project, a simple door chime, and the coding is fine. There is a melody and I have changed the notes, note durations, and the number of notes a number of times. Each time the uploads were successful, until they suddenly weren't. Now, I am unable to upload any previously successful project. Trying a simple button-controlled relay program or even a "new sketch" with no added code yields the same error messages:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x9d
I have tried any number of fixes I have read on various forums: restarting the computer, trying various timing tricks, downloading the latest IDE, and uploading a bare minimum sketch (mentioned above). I am green as grass and stuck.
IDE >> TOOLS >> BOARD >> AVR BOARDS >> your board
IDE >> TOOLS >> PORT >> your port
When you post code or errors, you should post the complete code or error in a <CODE> block. You should also give the board you are using (there are many).
This is what I get from "Copy All."
sketch uses 3544 bytes (10%)of program storage space. Maximum is 32256 bytes.
Global variables use 80 bytes (3%) of dynamic memory, leaving 1958 bytes for local variables. Maximum
is 2048 bytes.
"C:\Users\manni\AppData\Loca l\ArduinoL5\packages\arduino\tools\avrdude\6.3.0-
arduino!7 /bin/avrdude" "-
cc:\Users\manni\AppData\Local\ArduinoL5\packages\arduino\tools\avrdude\8.3.0-
arduinolT/etc/avrdude.conf" -v -v -patmega328p -carduino "-pcoM1" -bLL520o -D "-
Uflash:w:C:\Users\manni\AppData\Local\a rduino\sketches\ E}OBFT 4FE27D813290D62 FDE j.9288 9LC/pie
rPo i nte Doo rBel l-copy-2 a250614094607 _copy _2025061.4094737. i no. hex: i "
avrdude: Version 6.3-20190619
Co pyright (c) 2000-2005 Bria n Dean, http: / /www. bd m ic r o.com f
Copyright (cl 20A7 -20t4 Joerg Wunsch
System wide configuration file is
"C:\Users\manni\AppData\t-ocal\nrduinol5\packages\arduino\tools\avrdude\G.3.0-
a rdu ino 17/etc/avrdude.conf"
Using Port : COM1
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv0: programmer is not responding
avrdude: stk500_getsync{) attempt 1 of 10: not in sync: resp:eygd
Sorry, I'm reading your questions too hastily. Apparently I don't understand the term "Board." I'm physically using a ELEGOO UNO R3 Board ATmega328P with USB Cable(Arduino-Compatible) for Arduino.
Let me try to understand. I connected the board and tried to upload the program with just some changes in the melody notes. I clicked next to "Arduino Uno" and a little pop-up appeared showing Arduino Uno COM 1 and an option to change the board and port, which I ignored. The sketch did not upload , so I canceled it and the pop-up window showing Arduino Uno COM1 and the other option "disappeared." Clicking on Arduino Uno brings the pop-up window back.
I repeated this process and just disconnected the Board instead of canceling the upload. The pop-up window showing Arduino Uno COM 1 and the option did not disappear. So I'm not sure what you mean by "disappear."
Yes, I seem to be able to edit and look into COM1 even after disconnecting (see attached), but according to the Device Manager, which shows only COM 1, the port is working properly.