DigiSpark drivers and Windows.

3,414 views
Skip to first unread message

James Muirhead

unread,
May 15, 2016, 9:00:32 PM5/15/16
to Sheffield Hackspace
Some people have been complaining that the driver package for the DigiSpark boards isn't installing on Windows machines (specifically Windows 7, 8 & 10).

Do the following...
  • Add the Digispark repo to the Boardfs Manager in Arduino 1.6.6+ (http://digistump.com/package_digistump_index.json). 
  • Do this by going to File > Preferences > Clicking button next to "Additional Board Manager URLs" > Add http://digistump.com/package_digistump_index.json to the list as a separate line (if other boards there).
  • Click OK, then OK again.
  • Click Tools > Board > Board Manager
  • Once it's updated, click the top left drop-down box and select Contributed.
  • Click on Digispark AVR.
  • Click Install button that appears.
  • If a popup comes up which says you need to allow this to make changes to your computer, click allow and follow instructions (including install anyway).
  • Otherwise do the following...
  • Download the attached file, relevant to the version of Windows (32-bit for 32-bit version of Windows, 64 for 64, the wrong version shouldn't work at all).
  • Find the file on your system.
  • Rename them (right-click > rename) to the same name but with .lnk on the end instead of .bin (apparently uploading .lnk files to Google Drive is not allowed).
  • Double click on it (approve any message saying are you sure & etc).
  • There is no security issue. This file runs a program on your computer installed by the Digispark Arduino software.
  • Test now with a DigiSpark board.
  • If it did not work, please leave a message below and I'll get back to you (unable to test fully, particularly on Windows 8 / 10).
Hope this helps.

- OJ
Digispark_64bit_drivers.bin
Digispark_32bit_drivers.bin

James Muirhead

unread,
May 15, 2016, 9:07:33 PM5/15/16
to Sheffield Hackspace
Alternatively, open a "Command Prompt' window (search for cmd.exe or find in start menu under All Programs > Accessories) and type the following...

For 32-bit systems...

%HOMEPATH%\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4\dpinst.exe

Or for 64-bit systems...

%HOMEPATH%\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4\dpinst64.exe

- OJ.

PS - Will try and write this up as a proper blog post sometime soon. But it's 2am and I want to go to bed!

Richard Langner

unread,
May 17, 2016, 3:26:32 AM5/17/16
to Sheffield Hardware Hackers
Thanks to OJ, my friend has got his DigiSpark to connect and to be programmed. He has been grinning ever since!

It didn't work EXACTLY as per the instructions, so he sends feedback to help others. One of the gotchas was the 'n' is missing from '.json'.
If someone else would try these instructions to verify they work, we could well have cracked it!

His observations are in square brackets[ ] -
  •   Click OK, then OK again.
  •   Click Tools > Board > Board Manager
  •   Once it's updated, click the top left drop-down box and select Contributed.
  •   Click on Digispark AVR. [ it was Digistump AVR on my setup ]
  •   Click Install button that appears.
  •   If a popup comes up which says you need to allow this to make changes to your computer, click allow and follow instructions (including install anyway).
  •   Otherwise do the following...
  •   Download the attached file, relevant to the version of Windows (32-bit for 32-bit version of Windows, 64 for 64, the wrong version shouldn't work at all).
  •   Find the file on your system.
  •   Rename them (right-click > rename) to the same name but with .lnk on the end instead of .bin (apparently uploading .lnk files to Google Drive is not allowed).
  •   Double click on it (approve any message saying are you sure etc).
  •   There is no security issue. This file runs a program on your computer installed by the Digispark Arduino software.
  •   Test now with a DigiSpark board.
    RichardL

    James Muirhead

    unread,
    May 17, 2016, 6:52:14 AM5/17/16
    to richard...@gmail.com, Sheffield Hardware Hackers

    Well, I did do it at 2am in a rush.

    Yes, it should be digistump AVR not digispark. And I don't know how thee last n went missing, sorry about that. However it all ends well.

    -OJ.

    Will try and write it up on blog soon with corrections.

    --
    You received this message because you are subscribed to the Google Groups "Sheffield Hackspace" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to sheffield-hardware-...@googlegroups.com.
    To post to this group, send email to sheffield-har...@googlegroups.com.
    Visit this group at https://groups.google.com/group/sheffield-hardware-hackers.
    For more options, visit https://groups.google.com/d/optout.

    Richard Langner

    unread,
    May 17, 2016, 8:41:16 AM5/17/16
    to Sheffield Hardware Hackers
    No... it is not you who left off the rogue 'n'. Apparently it in a link.

    RichardL


    Andy Kirby

    unread,
    May 17, 2016, 8:49:01 AM5/17/16
    to sheffield-har...@googlegroups.com
    I am still waiting for my digisparks/stumps/whatever to arrive from china.
    Reply all
    Reply to author
    Forward
    0 new messages