Author Topic: Issues uploading  (Read 1289 times)

insomniacc

  • Newbie
  • *
  • Posts: 1
Issues uploading
« on: December 20, 2014, 07:38:46 am »
Hi,
Just bought a few digisparks, first attempt to upload and i'm having an issue. I downloaded the Arduino IDE digispark release as the wiki suggested, selected the board and tried to upload an example. I've double checked the driver is correctly installed and this is all I'm getting:

Sketch uses 668 bytes (11%) of program storage space. Maximum is 6,012 bytes.
Global variables use 9 bytes of dynamic memory.
java.io.IOException: Cannot run program "C:\Users\insomniac\Documents\Arduino/hardware/digistump/avr/tools/avrdude": CreateProcess error=2, The system cannot find the file specified
   at java.lang.ProcessBuilder.start(Unknown Source)
   at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:28)
   at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:104)
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:125)
   at processing.app.Sketch.upload(Sketch.java:1713)
   at processing.app.Sketch.exportApplet(Sketch.java:1624)
   at processing.app.Sketch.exportApplet(Sketch.java:1596)
   at processing.app.Editor$DefaultExportHandler.run(Editor.java:2392)
   at java.lang.Thread.run(Unknown Source)
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.<init>(Unknown Source)
   at java.lang.ProcessImpl.start(Unknown Source)
   ... 9 more

Anyone have any ideas where I'm going wrong?

Thanks,
Tom

cboden

  • Newbie
  • *
  • Posts: 26
Re: Issues uploading
« Reply #1 on: December 20, 2014, 10:43:20 am »
Hi Tom,

this is a general issue with the current version of the Installer. You have to adjust a configuration file to solve that issue. See also here: http://digistump.com/board/index.php/topic,1619.15.html

Hopefully this will be solved in the Installer soon.
« Last Edit: December 20, 2014, 10:46:06 am by cboden »

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: Issues uploading
« Reply #2 on: December 20, 2014, 12:40:30 pm »
This will be fixed today - when fixed we will update here: http://digistump.com/board/index.php/topic,1619.15.html