Digistump Forums

The Digispark => Digispark Pro Support => Topic started by: jwhendy on March 31, 2016, 08:24:15 pm

Title: [SOLVED] "This tool doesn't know how to upload... Device reports version as 2.0"
Post by: jwhendy on March 31, 2016, 08:24:15 pm
Update: I couldn't get over the fact that micronucleus was in a 2.0a4 labeled folder, thinking it must have been at least v2. I had even seen this recent post (https://digistump.com/board/index.php/topic,1834.0.html) but it just didn't register that it might have the answer to my problem. After compiling from source I'm able to use micronucleus to upload manually with sudo. I think I have some more futzing to get it to work without root, but that's mentioned on the troubleshooting page, so I think I'll be alright. Sorry for the noise!

-----

I just got my first Digisparks in the mail and am a bit confused on installing Digispark Pro required things on linux. I have arduino 1.6.8 installed and successfully installed the board, but am stuck on uploading. I get the following errors:

Code: [Select]
> Please plug in the device ...
> Press CTRL+C to terminate the program.
Warning: device with unknown new version of Micronucleus detected.
This tool doesn't know how to upload to this new device. Updates may be available.
Device reports version as: 2.0

I found a very similar error here (https://github.com/digistump/DigistumpArduino/issues/22) but no one reported not being able to upload. The linux instructions (http://digistump.com/wiki/digispark/tutorials/linuxtroubleshooting) suggest cloning the DigitumpArduino git repo and then copying ./hardware to the arduino hardware library... but there's no hardware directory in the DigistumpArduino repo!

Code: [Select]
$ cd ./digistump-avr
$ find ./ -name hardware
# nada

I appear to have what I'd expect in ~/.arduino15/packages/digistump/hardware/avr/1.6.7. The troubleshooting issues I've found seem to suggest not having permissions, incompatible USB drivers, or an outdated micronucleus. I don't think any of those is necessarily the case. I have a version in ~/.arduino15/packages/digistump/tools/micronucleus/2.0a4. It appears to find the board, but then disagree with something about it.

I have the board selected as "Digispark Pro (Default 16MHz)."

Any suggestions?
Title: Re: [SOLVED] "This tool doesn't know how to upload... Device reports version as 2.0"
Post by: defragster on March 31, 2016, 11:38:55 pm
This is marked [SOLVED] - what was the solution?
Title: Re: [SOLVED] "This tool doesn't know how to upload... Device reports version as 2.0"
Post by: jwhendy on April 01, 2016, 06:34:10 am
It's in the update above, ie compiling micronucleus and replacing the default one that downloaded via the board manager process.