Arduino 2.0.4 Update Issues

Hi!

My coworkers and I use Arduino IDE to teach introduction-level coding classes in the evenings. With the 2.0.4 update to Arduino, we can no longer upload our codes to our hardware. We're using Windows 10 mostly ( though a few computers have been updated to Windows 11) and using Arduino UNO R3s. When attempting to upload the code to our hardware, we receive the same upload error each time:
"Upload Error: Failed uploading: uploading error: exit status 1"

Any help would be super appreciated!
J, K & S

Hi @j_ssceducator. 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.


:exclamation: NOTE: These instructions will not solve the problem. They are only intended to gather more information which might provide a clue that eventually leads to a solution.


Please do this:

  1. Select File > Preferences from the Arduino IDE menus.
  2. Uncheck the box next to Show verbose output during: compilation
  3. Check the box 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 to fail.
  7. You will see a "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the COPY ERROR MESSAGES button on that notification.
  8. Open a forum reply here by clicking the Reply button.
  9. 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
  10. Press Ctrl+V.
    This will paste the error output from the upload into the code block.
  11. Move the cursor outside of the code tags before you add any additional text to your reply.
  12. Click the Reply button to post the output.

A post was split to a new topic: Upload to Nano Every fails with IDE 2.x: "jtagmkII_recv_frame(): timeout"

This is what the error message says:

type or paste code hSketch uses 944 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\sscgo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude" "-CC:\Users\sscgo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-PCOM40" -b115200 -D "-Uflash:w:C:\Users\sscgo\AppData\Local\Temp\arduino\sketches\913776617234F71E1D82E3AE70336B61/sketch_mar9a.ino.hex:i"

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\sscgo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

         Using Port                    : COM40
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done.  Thank you.

Failed uploading: uploading error: exit status 1ere

Hi @j_ssceducator. Please try this experiment and report the results:

  1. Connect the Arduino board to your computer with the USB cable.
  2. Press and release the button on the Arduino board that is marked "RESET".

Do you see the "L" LED blink several times quickly immediately after you release the "RESET" button?


:exclamation: NOTE: This will not solve the problem. This is only done to gather some more information about the problem.

Yes, when I pressed the reset button on the Arduino board a yellow light blinks several times, shuts off, then stays on.

OK, this tells us that the primary ATmega328P microcontroller on the board is running and that the bootloader is present on the microcontroller.

Make sure you have selected the correct port for your Arduino board from the Tools > Port menu in Arduino IDE.

Sometimes the port will be labeled with the board name in the menu (e.g., "COM40 (Arduino Uno)". Other times it will not. If you don't know which port is your Arduino board, you can find it by doing this:

  1. Unplug your Arduino board from the computer.
  2. Select Tools > Port from the Arduino IDE menus.
  3. Note the ports, if any, listed in the menu.
  4. Close the Tools menu.
    The ports list is only updated when the Tools menu is re-opened, so this step is essential.
  5. Plug your Arduino board into the computer.
  6. Select Tools > Port from the Arduino IDE menus. - The new port listed in the menu is the one for your Arduino board.

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