Author Topic: Getting started with your Digispark!  (Read 35544 times)

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Getting started with your Digispark!
« on: December 19, 2012, 12:11:38 pm »
This thread might be useful in the future so moved to support section...
« Last Edit: January 05, 2013, 12:58:39 am by digistump »

shawn

  • Newbie
  • *
  • Posts: 8
Getting started with your Digispark!
« Reply #1 on: December 19, 2012, 12:34:35 pm »
The Arduino IDE i downloaded from the link in http://digistump.com/wiki/digispark/tutorials/connecting doesn\'t prompt me to connect the digispark after uploading using the \'start\' example. I have the board set to Digispark (MIT High-Low  method) and the programmer set to Digispark.

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Getting started with your Digispark!
« Reply #2 on: December 19, 2012, 05:00:20 pm »
Shawn - that\'s strange - Win or Mac?
What does it say in the bottom black box with orange text after you hit upload?

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Getting started with your Digispark!
« Reply #3 on: December 19, 2012, 05:21:11 pm »
If this was on windows I have been able to duplicate the issue on one of my older machines (the shipping computer actually) - I\'m working on it now and will post a fix soon. Thanks for your patience!

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Getting started with your Digispark!
« Reply #4 on: December 19, 2012, 06:13:17 pm »
Here is the immediate fix for this windows issue:

Grab this: https://s3.amazonaws.com/digispark/avrdude.exe
Copy and overwrite the existing version in the arduino directory/hardware/tools/avr/bin/

I\'m uploading a whole new IDE download now, it will be available shortly.

This only involves windows machines.

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Getting started with your Digispark!
« Reply #5 on: December 19, 2012, 06:57:40 pm »
@everyone
The new version with the fix integrated is up: http://digistump.com/wiki/digispark/tutorials/connecting

If you downloaded before 7PM PST on the 19th upgrade, if you downloaded after that this bug should not be an issue.

canniscam

  • Newbie
  • *
  • Posts: 11
Getting started with your Digispark!
« Reply #6 on: December 19, 2012, 07:57:19 pm »
Erik,

Thanks for the update .. I though I was going crazy with this one.. either that or it was was a Windows 8 error.  I was going to drive to my lab and randomly plug digisparks into machines with different versions of windows.

Thanks,
Casey

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Getting started with your Digispark!
« Reply #7 on: December 19, 2012, 08:17:44 pm »
we forgot to static link some libraries - that was the issue, and the arduino IDE doesn\'t pass errors through - glad it worked!

dmcinnes

  • Newbie
  • *
  • Posts: 21
Getting started with your Digispark!
« Reply #8 on: December 19, 2012, 10:11:51 pm »
I\'m having a similar problem with the OS X client:

Binary sketch size: 818 bytes (of a 6,041 byte maximum)
Running Digispark Uploader...
Plug in device now...
dyld: Library not loaded: /opt/local/lib/libusb-0.1.4.dylib
  Referenced from: /Applications/Digispark-Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/micronucleus
  Reason: image not found

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Getting started with your Digispark!
« Reply #9 on: December 19, 2012, 10:18:07 pm »
dmcinnes - have you ever used Ardino on the machine with regular arduino boards?

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Getting started with your Digispark!
« Reply #10 on: December 19, 2012, 10:19:57 pm »
Also what version of os x?

dmcinnes

  • Newbie
  • *
  • Posts: 21
Getting started with your Digispark!
« Reply #11 on: December 19, 2012, 10:43:28 pm »
I\'m on 10.7.5 -- I don\'t have an /opt directory, looks like you guys are dynamically loading a macports installed libusb?
I have used the Arduino software before, but the older version (1.0.1) for programming ATtiny85 chips with this library:
http://hlt.media.mit.edu/?p=1695

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Getting started with your Digispark!
« Reply #12 on: December 19, 2012, 11:11:00 pm »
you are correct it was dynamically linked - I\'m going to reboot into os x in a few and create a static linked version
I\'ll upload it here and let you know as soon as it is ready.

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Getting started with your Digispark!
« Reply #13 on: December 20, 2012, 01:31:03 am »
@dmcinnes - check out the latest build at digistump.com/wiki under connecting your digispark - let me know if it works - thanks!

canniscam

  • Newbie
  • *
  • Posts: 11
Getting started with your Digispark!
« Reply #14 on: December 20, 2012, 05:41:34 am »
Erik,

Are you keeping a changelog on the the IDE uploads?  

Casey