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.
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:
Select File > Preferences from the Arduino IDE menus.
Check the box next to "Show verbose output during: ☐ compilation ".
Click the OK button.
Click the OK button.
Attempt an upload, as you did before.
Wait for the upload to fail.
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.
Open a forum reply here by clicking the Reply button.
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.
Press Ctrl +V .
This will paste the error output from the upload into the code block.
Move the cursor outside of the code tags before you add any additional text to your reply.
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:
Open any text editor program.
Paste the copied output into the text editor.
Save the file in .txt format.
Open a forum reply here by clicking the Reply button.
Click the "Upload" icon ( ) on the post composer toolbar:
Select the .txt file you saved.
Click the Open button.
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
Select Tools > Board > Boards Manager from the Arduino IDE menus to open the "Boards Manager " view in the left side panel.
Scroll down through the list of boards platforms until you see the "Elektor Uno R4 (with ATmega328PB) for Arduino 1.6.1x " entry.
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.
Click the "UNINSTALL " button.
A confirmation dialog will now appear. Click the "YES " button.
Wait for the uninstallation to finish.
Install the new platform
Select File > Preferences from the Arduino IDE menus.
If you have an old Elektor URL in the "Additional Boards Manager URLs " field there, delete it.
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
If there are already Boards Manager URLs in the field, separate them with commas.
Click the OK button.
You will now see a "Downloading index: ... " notification at the bottom right corner of the IDE window. Wait for that notification to close.
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.
Click the "INSTALL " button at the bottom of the entry.
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
zlyh
April 21, 2023, 9:53pm
7
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.
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:
Select File > Preferences from the Arduino IDE menus.
Uncheck the box next to Show verbose output during: ☑ compilation
Check the box next to Show verbose output during: ☐ upload .
Click the OK button.
Attempt an upload, as you did before.
Wait for the upload to fail.
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.
Open a forum reply here by clicking the Reply button.
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.
Press Ctrl +V .
This will paste the error output from the upload into the code block.
Move the cursor outside of the code tags before you add any additional text to your reply.
Click the Reply button to post the output.
zlyh
April 23, 2023, 6:08am
9
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:
Select File > Preferences from the Arduino IDE menus.
Check the box next to "Show verbose output during: ☐ compilation ".
Click the OK button.
Attempt an upload, as you did before.
Wait for the upload to fail.
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.
Open a forum reply here by clicking the Reply button.
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.
Press Ctrl +V .
This will paste the error output from the upload into the code block.
Move the cursor outside of the code tags before you add any additional text to your reply.
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:
Open any text editor program.
Paste the copied output into the text editor.
Save the file in .txt format.
Open a forum reply here by clicking the Reply button.
Click the "Upload" icon ( ) on the post composer toolbar:
Select the .txt file you saved.
Click the Open button.
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.
zlyh
April 23, 2023, 6:16am
11
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?
zlyh
April 23, 2023, 6:20am
12
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/
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.
system
Closed
June 26, 2025, 6:49pm
15
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.