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: 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: Cannot run program "/Users/{USERNAME}/Library/Arduino15/packages/digistump/tools/micronucleus/2.0a4/launcher": error=13, Permission denied
 at java.lang.ProcessBuilder.start(
 at java.lang.Runtime.exec(
 at java.lang.Runtime.exec(
 at cc.arduino.packages.Uploader.executeUploadCommand(
 at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(
 Caused by: error=13, Permission denied
 at java.lang.UNIXProcess.forkAndExec(Native Method)
 at java.lang.UNIXProcess.(
 at java.lang.ProcessImpl.start(
 at java.lang.ProcessBuilder.start(

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s