Upload fails: "exit status 0xc0000135"

Hi,

i have also a problem with the Arduino Ide 2.0.3.
I want upload a small Prog. t an Elektor Uno R4.
with the Version 1.8 it works without problems.
I receive the following Error:
Sketch uses 6602 bytes (20%) of program storage space. Maximum is 32256 bytes.
Global variables use 557 bytes (27%) of dynamic memory, leaving 1491 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\holge\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino2/bin/avrdude" "-CC:\Users\holge\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino2/etc/avrdude.conf" -l C:\Users\holge\AppData\Local\Temp\arduino-sketch-C02E309A055E940EC677CBE52A658FD7/avrdude.log -v -v -v -v -patmega328p -F -carduino -PCOM3 -b57600 -D "-Uflash:w:C:\Users\holge\AppData\Local\Temp\arduino-sketch-C02E309A055E940EC677CBE52A658FD7/WaageV1.ino.hex:i"
Failed uploading: uploading error: exit status 0xc0000135

Any Ideas are welcome, i search now 2 days for that problem.
Regards Holger

Hi @anon56809788. I'm going to ask you to post some additional information that might help us to identify the problem.


: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. Check the box next to "Show verbose output during: ☐ compilation".
  3. Click the OK button.
  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.
  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.

In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:

  1. Open any text editor program.
  2. Paste the copied output into the text editor.
  3. Save the file in .txt format.
  4. Open a forum reply here by clicking the Reply button.
  5. Click the "Upload" icon (image) on the post composer toolbar:
  6. Select the .txt file you saved.
  7. Click the Open button.
  8. Click the Reply button to publish the post.

Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.

Using board 'elektor_uno_r4_8mhz' from platform in folder: C:\Users\holge\AppData\Local\Arduino15\packages\Elektor-Uno-R4-for-Arduino-1.6.10\hardware\avr\1.0.1
Using core 'arduino' from platform in folder: C:\Users\holge\AppData\Local\Arduino15\packages\Elektor-Uno-R4-for-Arduino-1.6.10\hardware\avr\1.0.1
Detecting libraries used...
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_ELEKTOR_UNO_R4 -DARDUINO_ARCH_AVR "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\cores\\arduino" "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\variants\\R4" "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7\\sketch\\WaageV1.ino.cpp" -o nul
Alternatives for HID.h: [HID@1.0]
ResolveLibrary(HID.h)
  -> candidates: [HID@1.0]
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_ELEKTOR_UNO_R4 -DARDUINO_ARCH_AVR "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\cores\\arduino" "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\variants\\R4" "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\libraries\\HID\\src" "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7\\sketch\\WaageV1.ino.cpp" -o nul
Alternatives for HX711.h: [HX711-master]
ResolveLibrary(HX711.h)
  -> candidates: [HX711-master]
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_ELEKTOR_UNO_R4 -DARDUINO_ARCH_AVR "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\cores\\arduino" "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\variants\\R4" "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\libraries\\HID\\src" "-Ic:\\Users\\holge\\OneDrive\\Documents\\Arduino\\libraries\\HX711-master" "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7\\sketch\\WaageV1.ino.cpp" -o nul
Using cached library dependencies for file: C:\Users\holge\AppData\Local\Arduino15\packages\Elektor-Uno-R4-for-Arduino-1.6.10\hardware\avr\1.0.1\libraries\HID\src\HID.cpp
Using cached library dependencies for file: c:\Users\holge\OneDrive\Documents\Arduino\libraries\HX711-master\HX711.cpp
Generating function prototypes...
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_ELEKTOR_UNO_R4 -DARDUINO_ARCH_AVR "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\cores\\arduino" "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\variants\\R4" "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\libraries\\HID\\src" "-Ic:\\Users\\holge\\OneDrive\\Documents\\Arduino\\libraries\\HX711-master" "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7\\sketch\\WaageV1.ino.cpp" -o "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\builtin\\tools\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10607 -DARDUINO_AVR_ELEKTOR_UNO_R4 -DARDUINO_ARCH_AVR "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\cores\\arduino" "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\variants\\R4" "-IC:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1\\libraries\\HID\\src" "-Ic:\\Users\\holge\\OneDrive\\Documents\\Arduino\\libraries\\HX711-master" "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7\\sketch\\WaageV1.ino.cpp" -o "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7\\sketch\\WaageV1.ino.cpp.o"
Compiling libraries...
Compiling library "HID"
Using previously compiled file: C:\Users\holge\AppData\Local\Temp\arduino-sketch-C02E309A055E940EC677CBE52A658FD7\libraries\HID\HID.cpp.o
Compiling library "HX711-master"
Using previously compiled file: C:\Users\holge\AppData\Local\Temp\arduino-sketch-C02E309A055E940EC677CBE52A658FD7\libraries\HX711-master\HX711.cpp.o
Compiling core...
Using precompiled core: C:\Users\holge\AppData\Local\Temp\arduino-core-cache\core_Elektor-Uno-R4-for-Arduino-1.6.10_avr_elektor_uno_r4_8mhz_65a58688374e2ed6268069c843211447.a
Linking everything together...
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" "C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1/crtatmega328pb.o" "C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/avr/lib/avr5/crtatmega328p.o"
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" "C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1/crtatmega328pb.o" "C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/avr/lib/avr5/crtm328p.o"
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-gcc" -w -Os -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7/WaageV1.ino.elf" "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7\\sketch\\WaageV1.ino.cpp.o" "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7\\libraries\\HID\\HID.cpp.o" "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7\\libraries\\HX711-master\\HX711.cpp.o" "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7/..\\arduino-core-cache\\core_Elektor-Uno-R4-for-Arduino-1.6.10_avr_elektor_uno_r4_8mhz_65a58688374e2ed6268069c843211447.a" "-LC:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7" -lm
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" "C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1/crtatmega328p.o" "C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/avr/lib/avr5/crtatmega328p.o"
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" "C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\Elektor-Uno-R4-for-Arduino-1.6.10\\hardware\\avr\\1.0.1/crtm328p.o" "C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/avr/lib/avr5/crtm328p.o"
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7/WaageV1.ino.elf" "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7/WaageV1.ino.eep"
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7/WaageV1.ino.elf" "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7/WaageV1.ino.hex"

Using library HID at version 1.0 in folder: C:\Users\holge\AppData\Local\Arduino15\packages\Elektor-Uno-R4-for-Arduino-1.6.10\hardware\avr\1.0.1\libraries\HID 
Using library HX711-master in folder: C:\Users\holge\OneDrive\Documents\Arduino\libraries\HX711-master (legacy)
"C:\\Users\\holge\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-size" -A "C:\\Users\\holge\\AppData\\Local\\Temp\\arduino-sketch-C02E309A055E940EC677CBE52A658FD7/WaageV1.ino.elf"
Sketch uses 6602 bytes (20%) of program storage space. Maximum is 32256 bytes.
Global variables use 557 bytes (27%) of dynamic memory, leaving 1491 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\holge\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino2/bin/avrdude" "-CC:\Users\holge\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino2/etc/avrdude.conf" -l C:\Users\holge\AppData\Local\Temp\arduino-sketch-C02E309A055E940EC677CBE52A658FD7/avrdude.log -v -v -v -v -patmega328p -F -carduino -PCOM3 -b57600 -D "-Uflash:w:C:\Users\holge\AppData\Local\Temp\arduino-sketch-C02E309A055E940EC677CBE52A658FD7/WaageV1.ino.hex:i"
Failed uploading: uploading error: exit status 0xc0000135

OK, great. I notice the platform of your "Elektor" board is using a quite outdated version of the AVRDUDE upload tool. I suspect this is the cause of the error.

Fortunately, I see there is a newer version of the Elektor platform available. So, unless you have some specific reason for using that old 1.0.1 version, I recommend you to update to the latest version. I'll provide instructions.

Uninstall the old platform

  1. Select Tools > Board > Boards Manager from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
  2. Scroll down through the list of boards platforms until you see the "Elektor Uno R4 (with ATmega328PB) for Arduino 1.6.1x" entry.
  3. Hover the mouse pointer over the "INSTALLED" label on the "*Elektor Uno R4 (with ATmega328PB) for Arduino 1.6.1x" entry. You will now see it change to an "UNINSTALL" button.
  4. Click the "UNINSTALL" button.
  5. A confirmation dialog will now appear. Click the "YES" button.
  6. Wait for the uninstallation to finish.

Install the new platform

  1. Select File > Preferences from the Arduino IDE menus.
  2. If you have an old Elektor URL in the "Additional Boards Manager URLs" field there, delete it.
  3. Enter the following URL into the "Additional Boards Manager URLs" field:
    https://github.com/ElektorLabs/Arduino/releases/download/v1.0.1/package_elektor_uno_r4_1_8_x_index.json
    
    :red_exclamation_mark: If there are already Boards Manager URLs in the field, separate them with commas.
  4. Click the OK button.
  5. You will now see a "Downloading index: ..." notification at the bottom right corner of the IDE window. Wait for that notification to close.
  6. Scroll down through the list of boards platforms in the "Boards Manager" until you see the "Elektor Uno R4 for Arduino 1.8.x" entry.
  7. Click the "INSTALL" button at the bottom of the entry.
  8. Wait for the installation to finish.

Now select your board from the Tools > Board menu and try uploading again. Hopefully this time the error will not occur.

Thanks a lot for your Help.
This was my Problem.
Regards
Holger

You are welcome. I'm glad if I was able to be of assistance.

Regards,
Per

I have almost same error.
Win 11 64 bit . Arduino IDE 2.1.0

Sketch uses 7916 bytes (24%) of program storage space. Maximum is 32256 bytes.
Global variables use 307 bytes (14%) of dynamic memory, leaving 1741 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\zlyh\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino2/bin/avrdude" "-CC:\Users\zlyh\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino2/etc/avrdude.conf" -v -v -v -v -patmega328p -F -carduino -PCOM5 -b19200 -D "-Uflash:w:C:\Users\zlyh\AppData\Local\Temp\arduino\sketches\BD2B90D0DFA8E6E987A2E7DE353B545D/robopad_evolution_plusplus.ino.hex:i -lc:\zlyh\avrdude_log.txt"
Failed uploading: uploading error: exit status 0xc0000135

I install avrdude 7 . I close Arduino IDE and sucssesfuly dounload project by standalone avrdude 7. And project works.

I use esp8266 too . I have no error "135"

Hi @zlyh. 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 <CODE/> 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.
  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.

I did as you say.
That is full output and "verbose output during upload is checked.
And I add "-lc:\zlyh\avrdude_log.txt" in command. But there is no logfile created.

I have installed this java:

java --version
openjdk 19.0.2 2023-01-17
OpenJDK Runtime Environment Temurin-19.0.2+7 (build 19.0.2+7)
OpenJDK 64-Bit Server VM Temurin-19.0.2+7 (build 19.0.2+7, mixed mode, sharing)

Ah, I meant to obtain the verbose compilation output in addition to the upload output but I see now I gave the wrong directions in step (2) of my instructions. I apologize for the mistake.

Please do this:

  1. Select File > Preferences from the Arduino IDE menus.
  2. Check the box next to "Show verbose output during: ☐ compilation".
  3. Click the OK button.
  4. Attempt an upload, as you did before.
  5. Wait for the upload to fail.
  6. 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.
  7. Open a forum reply here by clicking the Reply button.
  8. Click the <CODE/> 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.
  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.

In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here:

  1. Open any text editor program.
  2. Paste the copied output into the text editor.
  3. Save the file in .txt format.
  4. Open a forum reply here by clicking the Reply button.
  5. Click the "Upload" icon (Upload icon) on the post composer toolbar:
  6. Select the .txt file you saved.
  7. Click the Open button.
  8. Click the Reply button to publish the post.

Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.

Unlike Arduino IDE 1.x, Arduino IDE 2.x does not use Java in any way.

Does Avrdude come with ArduinoIDE or with board library (BQ Zum in my case)?
Is there description how to integrate my downloader (avrdude 7) into IDE?

This is verbose output and for compile and for download:

FQBN: ZUM-Core-for-Arduino-1.8.x:avr:zum_core
Using board 'zum_core' from platform in folder: C:\Users\zlyh\AppData\Local\Arduino15\packages\ZUM-Core-for-Arduino-1.8.x\hardware\avr\0.2.0
Using core 'arduino' from platform in folder: C:\Users\zlyh\AppData\Local\Arduino15\packages\ZUM-Core-for-Arduino-1.8.x\hardware\avr\0.2.0

Detecting libraries used...
"C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_zum_core -DARDUINO_ARCH_AVR "-IC:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\ZUM-Core-for-Arduino-1.8.x\\hardware\\avr\\0.2.0\\cores\\arduino" "-IC:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\ZUM-Core-for-Arduino-1.8.x\\hardware\\avr\\0.2.0\\variants\\zumcore" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\sketch\\robopad_evolution_plusplus.ino.cpp" -o nul
Alternatives for Servo.h: [Servo@1.1.8]
ResolveLibrary(Servo.h)
  -> candidates: [Servo@1.1.8]
"C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_zum_core -DARDUINO_ARCH_AVR "-IC:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\ZUM-Core-for-Arduino-1.8.x\\hardware\\avr\\0.2.0\\cores\\arduino" "-IC:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\ZUM-Core-for-Arduino-1.8.x\\hardware\\avr\\0.2.0\\variants\\zumcore" "-IC:\\Users\\zlyh\\AppData\\Local\\Arduino15\\libraries\\Servo\\src" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\sketch\\robopad_evolution_plusplus.ino.cpp" -o nul
Using cached library dependencies for file: C:\Users\zlyh\AppData\Local\Arduino15\libraries\Servo\src\avr\Servo.cpp
Using cached library dependencies for file: C:\Users\zlyh\AppData\Local\Arduino15\libraries\Servo\src\mbed\Servo.cpp
Using cached library dependencies for file: C:\Users\zlyh\AppData\Local\Arduino15\libraries\Servo\src\megaavr\Servo.cpp
Using cached library dependencies for file: C:\Users\zlyh\AppData\Local\Arduino15\libraries\Servo\src\nrf52\Servo.cpp
Using cached library dependencies for file: C:\Users\zlyh\AppData\Local\Arduino15\libraries\Servo\src\sam\Servo.cpp
Using cached library dependencies for file: C:\Users\zlyh\AppData\Local\Arduino15\libraries\Servo\src\samd\Servo.cpp
Using cached library dependencies for file: C:\Users\zlyh\AppData\Local\Arduino15\libraries\Servo\src\stm32f4\Servo.cpp
Generating function prototypes...
"C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_zum_core -DARDUINO_ARCH_AVR "-IC:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\ZUM-Core-for-Arduino-1.8.x\\hardware\\avr\\0.2.0\\cores\\arduino" "-IC:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\ZUM-Core-for-Arduino-1.8.x\\hardware\\avr\\0.2.0\\variants\\zumcore" "-IC:\\Users\\zlyh\\AppData\\Local\\Arduino15\\libraries\\Servo\\src" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\sketch\\robopad_evolution_plusplus.ino.cpp" -o "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\builtin\\tools\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_zum_core -DARDUINO_ARCH_AVR "-IC:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\ZUM-Core-for-Arduino-1.8.x\\hardware\\avr\\0.2.0\\cores\\arduino" "-IC:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\ZUM-Core-for-Arduino-1.8.x\\hardware\\avr\\0.2.0\\variants\\zumcore" "-IC:\\Users\\zlyh\\AppData\\Local\\Arduino15\\libraries\\Servo\\src" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\sketch\\robopad_evolution_plusplus.ino.cpp" -o "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\sketch\\robopad_evolution_plusplus.ino.cpp.o"
Compiling libraries...
Compiling library "Servo"
Using previously compiled file: C:\Users\zlyh\AppData\Local\Temp\arduino\sketches\BD2B90D0DFA8E6E987A2E7DE353B545D\libraries\Servo\nrf52\Servo.cpp.o
Using previously compiled file: C:\Users\zlyh\AppData\Local\Temp\arduino\sketches\BD2B90D0DFA8E6E987A2E7DE353B545D\libraries\Servo\mbed\Servo.cpp.o
Using previously compiled file: C:\Users\zlyh\AppData\Local\Temp\arduino\sketches\BD2B90D0DFA8E6E987A2E7DE353B545D\libraries\Servo\megaavr\Servo.cpp.o
Using previously compiled file: C:\Users\zlyh\AppData\Local\Temp\arduino\sketches\BD2B90D0DFA8E6E987A2E7DE353B545D\libraries\Servo\sam\Servo.cpp.o
Using previously compiled file: C:\Users\zlyh\AppData\Local\Temp\arduino\sketches\BD2B90D0DFA8E6E987A2E7DE353B545D\libraries\Servo\samd\Servo.cpp.o
Using previously compiled file: C:\Users\zlyh\AppData\Local\Temp\arduino\sketches\BD2B90D0DFA8E6E987A2E7DE353B545D\libraries\Servo\stm32f4\Servo.cpp.o
Using previously compiled file: C:\Users\zlyh\AppData\Local\Temp\arduino\sketches\BD2B90D0DFA8E6E987A2E7DE353B545D\libraries\Servo\avr\Servo.cpp.o
Compiling core...
Using precompiled core: C:\Users\zlyh\AppData\Local\Temp\arduino\cores\ZUM-Core-for-Arduino-1.8.x_avr_zum_core_437fdfac10a25ba6fcb4dd04a638ca30\core.a
Linking everything together...
"C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" "C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\ZUM-Core-for-Arduino-1.8.x\\hardware\\avr\\0.2.0/crtatmega328pb.o" "C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/avr/lib/avr5/crtatmega328p.o"
"C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" "C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\ZUM-Core-for-Arduino-1.8.x\\hardware\\avr\\0.2.0/crtatmega328pb.o" "C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/avr/lib/avr5/crtm328p.o"
"C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-gcc" -w -Os -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D/robopad_evolution_plusplus.ino.elf" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\sketch\\robopad_evolution_plusplus.ino.cpp.o" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\libraries\\Servo\\avr\\Servo.cpp.o" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\libraries\\Servo\\mbed\\Servo.cpp.o" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\libraries\\Servo\\megaavr\\Servo.cpp.o" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\libraries\\Servo\\nrf52\\Servo.cpp.o" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\libraries\\Servo\\sam\\Servo.cpp.o" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\libraries\\Servo\\samd\\Servo.cpp.o" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D\\libraries\\Servo\\stm32f4\\Servo.cpp.o" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D/..\\..\\cores\\ZUM-Core-for-Arduino-1.8.x_avr_zum_core_437fdfac10a25ba6fcb4dd04a638ca30\\core.a" "-LC:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D" -lm
"C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" "C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\ZUM-Core-for-Arduino-1.8.x\\hardware\\avr\\0.2.0/crtatmega328p.o" "C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/avr/lib/avr5/crtatmega328p.o"
"C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" "C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\ZUM-Core-for-Arduino-1.8.x\\hardware\\avr\\0.2.0/crtm328p.o" "C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/avr/lib/avr5/crtm328p.o"
"C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D/robopad_evolution_plusplus.ino.elf" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D/robopad_evolution_plusplus.ino.eep"
"C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D/robopad_evolution_plusplus.ino.elf" "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D/robopad_evolution_plusplus.ino.hex"

Using library Servo at version 1.1.8 in folder: C:\Users\zlyh\AppData\Local\Arduino15\libraries\Servo 
"C:\\Users\\zlyh\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.9.2-atmel3.5.3-arduino2/bin/avr-size" -A "C:\\Users\\zlyh\\AppData\\Local\\Temp\\arduino\\sketches\\BD2B90D0DFA8E6E987A2E7DE353B545D/robopad_evolution_plusplus.ino.elf"
Sketch uses 8180 bytes (25%) of program storage space. Maximum is 32256 bytes.
Global variables use 439 bytes (21%) of dynamic memory, leaving 1609 bytes for local variables. Maximum is 2048 bytes.
"C:\Users\zlyh\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino2/bin/avrdude" "-CC:\Users\zlyh\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino2/etc/avrdude.conf" -v -v -v -v -patmega328p -F -carduino -PCOM5 -b19200 -D "-Uflash:w:C:\Users\zlyh\AppData\Local\Temp\arduino\sketches\BD2B90D0DFA8E6E987A2E7DE353B545D/robopad_evolution_plusplus.ino.hex:i -lc:\zlyh\avrdude_log.txt"
Failed uploading: uploading error: exit status 0xc0000135

OK, I was able to reproduce the problem and find a workaround. Please try this:

Copy the file at this path:

C:\Users\zlyh\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/libusb0.dll

to this folder:

C:\Users\zlyh\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino2/bin/

:exclamation: If looking for it with your file browser or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".


After doing that, try uploading again. Hopefully the "exit status 0xc0000135" error will no longer occur.

Yeap. It works.

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