Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!
hi,
i'm getting same error despite have tried 2 boards , done arduino reinstall in windows 7 machine!
while trying update "bareminimum" in verbose mode:
i noticed path "___remove___" instead correct 1 have in other computer:
so, how correct avrdude path in arduino api?
prior used arduino software upload sketches small board esp8266 esp-1... ideas?
ps - selected arduino uno , port com8 , com9 each 1 of 2 boards tested.
i'm getting same error despite have tried 2 boards , done arduino reinstall in windows 7 machine!
while trying update "bareminimum" in verbose mode:
code: [select]
arduino: 1.8.0 (windows 7), board: "arduino/genuino uno"
sketch uses 450 bytes (1%) of program storage space. maximum 32256 bytes.
global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes local variables. maximum 2048 bytes.
___remove___/bin/avrdude -c___remove___/etc/avrdude.conf -v -patmega328p -carduino -pcom8 -b115200 -d -uflash:w:c:\users\rui\appdata\local\temp\arduino_build_445303/bareminimum.ino.hex:i
java.io.ioexception: cannot run program "___remove___/bin/avrdude": createprocess error=2, system cannot find 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:709)
at processing.app.sketchcontroller.exportapplet(sketchcontroller.java:682)
at processing.app.editor$defaultexporthandler.run(editor.java:2190)
at java.lang.thread.run(thread.java:745)
caused by: java.io.ioexception: createprocess error=2, system cannot find file specified
at java.lang.processimpl.create(native method)
at java.lang.processimpl.<init>(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 sketch
this report have more information with
"show verbose output during compilation"
option enabled in file -> preferences.
i noticed path "___remove___" instead correct 1 have in other computer:
code: [select]
c:\program files (x86)\arduino\hardware\tools\avr/bin/avrdude -cc:\program files (x86)\arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -pcom3 -b115200 -d -uflash:w:c:\users\rui\appdata\local\temp\build5dbb73c39b07a34af2ebbf432b430198.tmp/bareminimum.ino.hex:i
so, how correct avrdude path in arduino api?
prior used arduino software upload sketches small board esp8266 esp-1... ideas?
ps - selected arduino uno , port com8 , com9 each 1 of 2 boards tested.
so, how correct avrdude path in arduino api?i solved problem deleting "c:\users\[me]\appdata\local\arduino15" folder before new reinstall!
Arduino Forum > Using Arduino > Installation & Troubleshooting > Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!
arduino
Comments
Post a Comment