hello i am trying to uplad new firmware on my cr10s 3d printer. i am using a arduino uno to up load with.
when i try to upload adurino ISP it gives me an erroor message. from wwhat i understand this should be a ferly simple process but i cant figure this oone out
java.io.IOException: Cannot run program "REMOVE/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.runCommand(SerialUploader.java:383)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:197)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
at processing.app.SketchController.upload(SketchController.java:732)
at processing.app.SketchController.exportApplet(SketchController.java:703)
at processing.app.Editor$UploadHandler.run(Editor.java:2070)
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)
... 9 more
An error occurred while uploading the sketch
What processor is on the 3D printer controller board. Most 3D printers have a Mega (or equivalent) as the controller as an Uno does not have the resources for 4 steppers, limit switches, heaters, fans and etc.
groundFungus:
And if he is trying to upload firmware (not bootload) why use an Uno instead of using the USB connection to the controller board?
That's a good question. On the basis of the Original Post I had assumed the destination board does not have a USB connection and must be programmed with ISP.
From what I have been able to find on the CR-10S controller board* it has an mega2560 processor and has USB.
What is the OP actually trying to do?
Arduino as ISP is not necessary for uploading new firmware (like Marlin). Upload should be able to be done via USB.
Arduino as ISP (or an ISP programmer) would be necessary for boot-loading the 2560.
*from a search for "upload firmware in cr-10s 3d printer". Note that there is a big difference between the CR-10S and the CR-10. The S version is the latest version.
java.io.IOException: Cannot run program "___REMOVE___/bin/avrdude": CreateProcess error=2, The system cannot find the file specified
This error indicates you need to take some drastic action. Be aware this is somewhat advanced and will remove any boards you have installed via Boards Manager:
In the Arduino IDE, click the link on the line following File > Preferences > More preferences can be edited directly in the file. This will open the Arduino15 (or similar name depending on OS) folder.
Delete all files and folders under the Arduino15 folder except for preferences.txt. Please be very careful when deleting things from your computer. When in doubt, back up!
Restart the Arduino IDE
Verify that you can now use your board before reinstalling any packages via Boards Manager.
Sketch uses 4388 bytes (13%) of program storage space. Maximum is 32256 bytes.
Global variables use 482 bytes (23%) of dynamic memory, leaving 1566 bytes for local variables. Maximum is 2048 bytes. REMOVE/bin/avrdude -C___REMOVE___/etc/avrdude.conf -v -V -patmega328p -carduino -PCOM6 -b115200 -D -Uflash:w:C:\Users\LUBOMI~1\AppData\Local\Temp\arduino_build_590805/ArduinoISP.ino.hex:i
java.io.IOException: Cannot run program "REMOVE/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:82)
at processing.app.SketchController.upload(SketchController.java:736)
at processing.app.SketchController.exportApplet(SketchController.java:703)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2028)
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