I've bought ATtiny, from see link.
Trying to upload a basic Blink
sketch I get this error: Device reports version as: 2.2
.
1) Board manager was updated using http://digistump.com/package_digistump_index.json
2) Board selected as Digispark (Default -16.5MHz )
3) Programmer set to Micronocleus
Tried using some guides on-line, but some were old, some were for windows, while I'm using Ubuntu machine.
Appreciate any help, Guy
1 Answer 1
It sounds like you have a newer board than the version of Micronucleus in the Arduino package.
As I discovered here you basically need to upgrade micronucleus in your Ardino installation, which you can download from here
- Download the zip file from Github and extract it. Then in a terminal (if you're not already in one) go to the directory you extracted.
- Build the executable by typing "make"
- Copy the compiled executable to
~/.arduino15/packages/digistump/tools/micronucleus/<version>/
where <version>
is the currently installed version number (e.g., 2.0a4
). There should already be a micronucleus
executable in there that you would replace with your newly compiled one.
-
a `2円.04a' directory was inside that path you noted ( was added after adding digistumb's board managerguyd– guyd2020年05月08日 12:58:55 +00:00Commented May 8, 2020 at 12:58
-
@Guy.D Where abouts in the path?Majenko– Majenko2020年05月08日 14:25:01 +00:00Commented May 8, 2020 at 14:25
-
micronucleus
after built was move to noted directory. But directory already contains an instance of micronucleus, inside a directory2.0a4
. Should I delete it ? ( didn't help ). Seemed that didn't matterguyd– guyd2020年05月08日 15:35:51 +00:00Commented May 8, 2020 at 15:35 -
Replace the existing one with your newly compiled oneMajenko– Majenko2020年05月08日 15:44:19 +00:00Commented May 8, 2020 at 15:44
-
1Make the directory again and move the file into it.Majenko– Majenko2020年05月08日 16:32:44 +00:00Commented May 8, 2020 at 16:32