Troubleshooting “digispark” (ATtiny85) on Mac OS X

attiny85-breakout-boardIf you encounter problems programming your “digispark” this info might be helpful. First of all I will assume you have followed the getting started guide on the Digistump wiki (Connecting and Programming Your Digispark). Should you after completing these steps experience issues with programming your “digispark”, check out these basic troubleshooting tips (try different cables, USB hubs etc).

In addition to the tips mentioned above you might also experience an error similar to this:

java.io.IOException: Cannot run program "/Users/{USERNAME}/Library/Arduino15/packages/digistump/tools/micronucleus/2.0a4/launcher": error=13, Permission denied

If you get this error this might be caused due to security restrictions and you need to make the micronucleus tools executable on your machine. Run the following commands (your actual path may vary, i.e. due to a different version of micronucleus):

$ cd ~/Library/Arduino15/packages/digistump/tools/micronucleus/2.0a4/
$ chmod a+wx launcher
$ chmod a+wx micronucleus

Complete error message:

Read More