Digistump Forums

The Digispark => Digispark (Original) Support => Topic started by: Waycoolman619 on February 17, 2016, 12:49:28 pm

Title: What went wrong?
Post by: Waycoolman619 on February 17, 2016, 12:49:28 pm
Yesterday I was able to upload a sketch today I found the boards in the Arduino IDE 1.6.7 were not there so I reinstalled them but I get this

Arduino: 1.6.8 Hourly Build 2016/02/16 05:07 (Windows 8.1), Board: "Digispark (Default - 16.5mhz)"

Board digispark-tiny (platform avr, package digistump) is unknown

Error compiling.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


** it is 1.6.8 now because I tried updating the Arduino IDE
The drivers are fine my computers sees it plugged in?

Arduino: 1.6.8 Hourly Build 2016/02/16 05:07 (Windows 8.1), Board: "Digispark (Default - 16.5mhz)"

C:\Users\User\Downloads\arduino-nightly\arduino-builder -dump-prefs -logger=machine -hardware "C:\Users\User\Downloads\arduino-nightly\hardware" -hardware "C:\Users\User\AppData\Local\Arduino15\packages" -tools "C:\Users\User\Downloads\arduino-nightly\tools-builder" -tools "C:\Users\User\Downloads\arduino-nightly\hardware\tools\avr" -tools "C:\Users\User\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Users\User\Downloads\arduino-nightly\libraries" -libraries "C:\Users\User\Documents\Arduino\libraries" -fqbn=digistump:avr:digispark-tiny -ide-version=10608 -build-path "C:\Users\User\AppData\Local\Temp\buildad663d5bc624ab25b2cf47f845cf715e.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\User\AppData\Local\Temp\untitled573558846.tmp\sketch_feb17a\sketch_feb17a.ino"

Board digispark-tiny (platform avr, package digistump) is unknown

Error compiling.

Anybody know whats wrong? Im stumped, I guess I could upload using ISP but Im just learning how.
Title: Re: What went wrong?
Post by: Jr_sc on February 17, 2016, 03:06:15 pm
FWIW I had same issues w/ 1.6.7 and ended up using Arduino 1.6.5 - maybe history repeating itself?
Title: Re: What went wrong?
Post by: Andriod on February 19, 2016, 08:02:35 pm
I'm seeing the same thing, right when Oak showed up for install...

Full Error:
Arduino: 1.6.6 (Linux), Board: "Digispark (Default - 16.5mhz)"

/home/andriod/bin/arduino-1.6.6/arduino-builder -dump-prefs -logger=machine -hardware "/home/andriod/bin/arduino-1.6.6/hardware" -hardware "/home/andriod/.arduino15/packages" -tools "/home/andriod/bin/arduino-1.6.6/tools-builder" -tools "/home/andriod/bin/arduino-1.6.6/hardware/tools/avr" -tools "/home/andriod/.arduino15/packages" -built-in-libraries "/home/andriod/bin/arduino-1.6.6/libraries" -libraries "/home/andriod/Dropbox/Workspaces/DigiSparkWorkspace/libraries" -fqbn=digistump:avr:digispark-tiny -ide-version=10606 -build-path "/tmp/builddc0a98a1f34bbd6fa251873a6e85d51d.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/tmp/untitled724760943.tmp/sketch_feb19a/sketch_feb19a.ino"

Board digispark-tiny (platform avr, package digistump) is unknown

Error compiling.
Title: Re: What went wrong?
Post by: digistump on February 19, 2016, 09:50:02 pm
This is a known issue with Arduino 1.6.6+ (not with the Digistump files) - that shows when you upgrade third party boards - you need to remove the existing digistump package files and reinstall.
Title: Re: What went wrong?
Post by: Andriod on February 20, 2016, 05:34:58 am
Ok, took a lot to get this working, here's what I did the last time:

Title: Re: What went wrong?
Post by: IGetPwnedOften on February 20, 2016, 02:32:26 pm
Ok, took a lot to get this working, here's what I did the last time:

  • Uninstall through boards manager
  • Exit Arduino
  • Remove contents of .arduino15/staging/packages (I had a CRC doesn't match error)
  • Remove .arduino15/packages/digistump
  • Reinstall boards through boards manager
  • Restart Arduino

Created an account here just to say I had the exact same problem and this solved it for me, so thanks for that  ;D
Title: Re: What went wrong?
Post by: eRCaGuy on June 10, 2016, 03:27:19 pm
Where are these ".arduino15" files? I am using Arduino IDE 1.6.9 in Windows and am having this same problem and error, but I don't see these files anywhere. (I checked my sketch directory and C:\Program Files (x86)\Arduino)
Title: Re: What went wrong?
Post by: eRCaGuy on June 10, 2016, 04:07:10 pm
Ok, took a lot to get this working, here's what I did the last time:

  • Uninstall through boards manager
  • Exit Arduino
  • Remove contents of .arduino15/staging/packages (I had a CRC doesn't match error)
  • Remove .arduino15/packages/digistump
  • Reinstall boards through boards manager
  • Restart Arduino

After a good 45 min googling and searching around, I found the folders, and following the above instructions works! I can now upload to my digispark!

I am using Arduino 1.6.9, in Windows 8.1.

Here are the folder locations (referenced above) on Windows, where "Gabriel" is my username:
1) C:\Users\Gabriel\AppData\Local\Arduino15\staging\packages
   -delete all contents of this folder
2) C:\Users\Gabriel\AppData\Local\Arduino15\packages\digistump
   -delete this entire digistump folder

Title: Re: What went wrong?
Post by: strykeroz on December 12, 2017, 02:17:39 am
Very old thread I know, but wanted to post a thanks. Same issue, now resolved with the advice here.  I'm on IDE v1.8.5.