Author Topic: Trouble setting up Arduino IDE 1.5.8  (Read 7916 times)

Improbabilities

  • Newbie
  • *
  • Posts: 1
Trouble setting up Arduino IDE 1.5.8
« on: October 22, 2014, 02:37:22 pm »
I'm having problems setting up my Arduino environment. I copied the contents of the hardware folder from the digistump1.5 addons to the hardware folder of the Arduino IDE and now I can set the board to the proper digispark pro setting, but there is no digispark option under the programers setting. I tried to compile the basic example sketch with the micronucleus programer, but all I got was an error
Code: [Select]
java.io.IOException: Cannot run program "C:\Users\Seth\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

AsaJ

  • Newbie
  • *
  • Posts: 3
Re: Trouble setting up Arduino IDE 1.5.8
« Reply #1 on: November 03, 2014, 11:02:33 am »
So what about all the other stuff in the addons zip?

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: Trouble setting up Arduino IDE 1.5.8
« Reply #2 on: November 08, 2014, 01:57:17 pm »
the Digispark Pro will not appear under programmers - you only need to select it under boards.

This appears that you did not install all of the files or you are using an older version of the Arduino IDE - you must us 1.5.6 or higher NOT 1.0.x

futekmek

  • Newbie
  • *
  • Posts: 3
Re: Trouble setting up Arduino IDE 1.5.8
« Reply #3 on: November 10, 2014, 04:16:17 pm »
Yep, I'm having the same issues as Improb. I've tried Arduino IDE 1.5.8 and 1.5.7, both give me the same error messages as above. I've followed the instructions from http://digistump.com/wiki/digispark/tutorials/connectingpro. For the programmer, I've tried both USBasp and Micronucleus.

Any luck getting it going?

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: Trouble setting up Arduino IDE 1.5.8
« Reply #4 on: November 10, 2014, 04:23:58 pm »
Can you manually confirm that:

C:\Users\YOU_USER_NAME\Documents\Arduino/hardware/digistump/avr/tools/

contains a program named avrdude.exe

?

futekmek

  • Newbie
  • *
  • Posts: 3
Re: Trouble setting up Arduino IDE 1.5.8
« Reply #5 on: November 10, 2014, 04:30:31 pm »
Hey digistump team person  :D

Thanks for the tip. I was a bit confused by where the folder needs to be placed. I put it exactly where you said and I'm in business. Thanks!