154Views0Replies

Author Options:

Arduino IDE Problems with Uploading Answered

Recently I've been having problems uploading sketches to the Arduino UNO and receiving the following error message. I have tried many different types of the IDE, checked my ports, boards, etc. If someone could help me fix this it would be greatly appreciated!

Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino Uno"

WARNING: Category '' in library SPI is not valid. Setting to 'Uncategorized'

WARNING: Category '' in library SoftwareSerial is not valid. Setting to 'Uncategorized'

WARNING: Category '' in library Wire is not valid. Setting to 'Uncategorized'

WARNING: Category '' in library Ethernet2 is not valid. Setting to 'Uncategorized'

Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated compiler.path={runtime.ide.path}/hardware/tools/avr/bin/, automatically converted to compiler.path={runtime.tools.avr-gcc.path}/bin/. Consider upgrading this core.

Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated tools.avrdude.cmd.path={runtime.ide.path}/hardware/tools/avr/bin/avrdude, automatically converted to tools.avrdude.cmd.path={path}/bin/avrdude. Consider upgrading this core.

Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated tools.avrdude.config.path={runtime.ide.path}/hardware/tools/avr/etc/avrdude.conf, automatically converted to tools.avrdude.config.path={path}/etc/avrdude.conf. Consider upgrading this core.

Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.

Sketch uses 1634 bytes (5%) of program storage space. Maximum is 32256 bytes. Global variables use 186 bytes (9%) of dynamic memory, leaving 1862 bytes for local variables. Maximum is 2048 bytes.

java.io.IOException: Cannot run program "{path}/bin/avrdude": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)

at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)

at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)

at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:207)

at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)

at processing.app.SketchController.upload(SketchController.java:713)

at processing.app.SketchController.exportApplet(SketchController.java:686)

at processing.app.Editor$DefaultExportHandler.run(Editor.java:2168)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified

at java.lang.ProcessImpl.create(Native Method)

at java.lang.ProcessImpl.(ProcessImpl.java:386)

at java.lang.ProcessImpl.start(ProcessImpl.java:137)

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... 8 more An error occurred while uploading the sketch

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

Thanks, Matt

Discussions