Digistump Forums
The Digispark => Digispark Pro Support => Topic started by: defragster on December 18, 2014, 05:21:35 pm
-
Looking forward to working with it! Does it help to remove any other installed Arduino apps first?
Is there ever any reason or ability to want to merge in a fresh IDE update from Arduino builds? Is it right to suppose that would overwrite your hard work?
-
I'm interested to try it. At this moment,
the OSX download link
https://github.com/digistump/DigisparkArduinoIntegration/releases/download/1.5.8A/DigistumpIDE1.5.8AOSX.zip
off the page
http://digistump.com/wiki/digispark/tutorials/connectingpro
is returning a 404 "Page not found" error.
The Windows version appears to be working, though. Could you double-check that link posting for OSX?
Thanks,
-Tom
-
Arduino IDE updates should merge in fine - though we will track their major releases and release along side - so it should not be needed.
@tewarfel - as we noted in the first post: NOTE: OS X version is uploading right now and will not be available until late tonight!
-
Has anyone got it working?
So far it's been an epic fail on my Windows 8.1 machine. I can't compile even the blink example, on any of the boards. The error I get for the Pro is:
C:\...hardware\digistump\avr\cores\pro\WString_old.cpp: In constructor 'String::String(char)':
C:\...hardware\digistump\avr\cores\pro\WString_old.cpp:63:8: error: ambiguous overload for 'operator=' (operand types are 'String' and 'char')
*this = c;
^
I tried running the .exe file. I tried using the zip file. I even tried reloading the original Arduino 1.5.8 then copying the new hardward file, that didn't work.
I might spend another half hour trying on a Windows XP computer before I give up and throw these things away.
-
oh dear - looks like I left an old file in that I shouldn't have - and while it works for me on Win7 and OSX - Win8.1 does seem to be choking on it - I'll fix it shortly and re-up this version
Sorry about that.
-
So when can we expect official Linux builds?
-
If there is a small download to replace the 'old' tool it would be nice, I've just gotten done downloading and copying the files around on my win 8.1 tablet. was just about to run the IDE.
-
Github is being stubborn so the corrected files won't be up until tomorrow.
MichaelMeissner: you're the first person to ask for them in awhile - which is why we haven't made them a priority. I hope to put them together tomorrow or early next week - it is next on my Digistump to do list.
defragster: go into hardware/digistump/avr/cores/pro/ and delete the files that end with _old
-
SUCCESS! Deleted FIVE _old files. - Thanks!
Machine Win 8.1 that worked before on now renamed prior Arduino tree
Pulled the .zip and extracted
Installed signed driver :: SUCCESS
Put ARDUINO in DOCUMENTS [could have extracted here - DOH! - no Arduino install]
<temp workaround> [deleted indicated _old files]
ran ARDUINO.exe
Uploaded I2C scanner : FOUND OLED and USB DigiKeyboard.print came into IDE editor :: SUCCESS
Uploaded libraries\microledpro\examples\lcdhello :: SUCCESS
NOTE: This is the BETA Pro on USB 3 with a M/F to a cheap USB 2 Hub on ASUS Win 8.1 Convertible Tablet
NOTE: Undocked tablet with micro USB OTG cable to Beta Pro and repeated above I2C and OLED lcdhello
NOTE: I tried to start "Tools/Serial Monitor" and was told 'Board at COM7 is not available', so click 'Upload' then activate "Notepad"
-
So when can we expect official Linux builds?
MichaelMeissner: you're the first person to ask for them in awhile - which is why we haven't made them a priority.
Make me 2nd one then.
-
Note for me, if Linux support is not available, the digispark pro is useless. I have no apple products of any kind in the house, and I will not use Windows.
-
The only worthwhile apple products are never from china and are edible. Sounds like Linux support is just a matter of time and attention from Digistump and will probably be out before Christmas.
-
Certainly didn't mean to imply we were ignoring it - simply that the order of release corresponds to our user base: windows, OS X, linux 64 bit, linux 32 bit - it should be out early next week and in the mean time everything needed to roll your own can be found here: https://github.com/digistump/DigistumpArduino
-
My Win 7 box is running 1.5.8 as released after removing the noted _old files it compiles and uploads fine to my Pro on USB 2.
-
OS X and Win builds are now all ready to go without the error causing files: http://digistump.com/board/index.php?topic=1617
Linux soon!
-
have tried out the 1.5.8A installer. Unfortunally it doesn't work on my Windows 8.1.: no Digistump under Programmer (as mentioned under "troubleshooting" in Wiki) and the IDE searches for the AVRDUDE in the sketch directory instead of the installation directory:
java.io.IOException: Cannot run program "C:\Users\gmuehldorfer\Documents\Arduino/hardware/digistump/avr/tools/avrdude": CreateProcess error=2,
Edit: same behaviour under Windows 7.
Edit 2: problem found. It's the file /installationdirectory/hardware/digistump/avr/platform.txt
Replace
# AVR Uploader/Programmers tools
# ------------------------------
tools.micronucleus.cmd.path={sketchbook.path}/hardware/digistump/avr/tools/avrdude
tools.micronucleus.cmd.path.linux={sketchbook.path}/hardware/digistump/avr/tools/avrdude
by
# AVR Uploader/Programmers tools
# ------------------------------
tools.micronucleus.cmd.path={runtime.ide.path}/hardware/digistump/avr/tools/avrdude
tools.micronucleus.cmd.path.linux={runtime.ide.path}/hardware/digistump/avr/tools/avrdude
@Erik: can you update the Installer and the Wiki (because I guess you mentioned there the wrong programmer) please?
-
So, I've been reading and I've done the following:
1) removed all Arduino & Digistump IDE's from the system (Win 7 Pro on a Thinkpad).
2) Installed the new IDE 1.5.8A (all went smoothly) - the program was created in folder:
C:\Program Files (x86)\Digistump_Arduino
3) loaded up a program (simple "hello world") and got the same message as above errors.
the PATH in the error points to my "Documents\Arduino" folder (my Sketch Folder),
BUT
that's NOT where my program files are. Maybe this makes no difference.
also - in my "Programmers.txt" file, there is no mention of "cmd.path="
so i went ahead and put the line in.
first with the path pointing to the sketch folder (as recommended)
and the same error comes up.
then i changed the path to point to the Program Files (x86).. blah, blah
and the same error comes up - both time showing the initial path going to my sketch folder but looking for the \:
"hardware\digistump\avr" folders underneath the "Sketch" path.
dunno where to go from here. I don't want to move all those file folders from where they were installed to new folders under my sketch path - <-- i know this is not the right route.
hope this helps in finding a solution.
Russ from Coral Springs, Fl
-
the error is in the config file platform.txt (/installationdirectory/hardware/digistump/avr/platform.txt)and not in programmers.txt! Once you fix the error there it should work.
-
This will be fixed today - when fixed we will update here
-
My apologies. started out backing up & editing the right file, but then got lost in distractions, i guess...
anyway - i did the change to "PLATFORM.TXT".
the upload went ok - but at the end of the upload i get the line:
"board at COMM12 is not available."
earlier on another post, i was told that when i plug in my DigiSpark board to the PC that getting the "connect" "beep" for 2 seconds, followed by the "Disconnect" "beep" and having no comm device showing was normal.
this is different from what i'm used to with the Digix and Arduino boards.
So my question is, if a Comm Device is not showing in Device Manager for the DigiSpark Pro, is that normal?
Russ from Coral Springs, Fl
-
@rholt - yes that is normal - refer back to this now and it should make sense and agree with that you are seeing:
http://digistump.com/board/index.php/topic,1618.msg7445.html#msg7445 (http://digistump.com/board/index.php/topic,1618.msg7445.html#msg7445)
The nature of the ATTiny with bootloader is a world apart from an Arduino or DIGIX with robust USB support.
There is some of this detail (excluding Windows USB specific notes) here in the Wiki Intro Doc at 'Using the Digispark with the Arduino IDE:':
http://digistump.com/wiki/digispark/tutorials/connectingpro#using_the_digispark_with_the_arduino_ide (http://digistump.com/wiki/digispark/tutorials/connectingpro#using_the_digispark_with_the_arduino_ide)
I just edited the wiki to add this note for the PRO:
After the 5 second delay when the bootloader launches the stored program, the USB device will typically go away (and may report a failure to install) unless the nature of the 'sketch' is to act as a USB device.
-
Updated versions here:
* Windows (now with fully signed drivers!)
* Installer (recommended): https://github.com/digistump/DigistumpArduino/releases/download/v1.5.8B/DigistumpArduinoInstall1.5.8B.exe
* Zip: https://github.com/digistump/DigistumpArduino/releases/download/v1.5.8B/DigistumpIDE1.5.8B.zip
* Mac: https://github.com/digistump/DigistumpArduino/releases/download/v1.5.8B/DigistumpIDE1.5.8BOSX.zip
-
great job ... works now fine for me!
-
Brought a fresh: DigistumpArduinoInstall1.5.8B.exe to a freshly built Win 8.1 PRO x64 machine I've ignored for 10 months [never installed Arduino or DigiStump drivers or anything].
DigiMouse example compiles, after selecting Pro :). And it works 8), unplugging can leave the mouse in an ODD state, of course.
> Surprise? - No BLINK pre-load from factory (on my 4 PROs)? It boots to perpetual bootloader 'wait for upload'.
> My first USB2 port resulted in 'Flash write error -1' - so picked another USB2 and it worked. Just tried USB3 and the PRO uploaded!
> No included IDE DigiSpark blink example with pin1 set? Went to 01.Basics (edit 13 to 1) and all four now blink!
> When I chose default install path to Programs - it seemed default open sketch was "documents/Arduino", not "program files(x86)/Digistump_Arduino". This was a NEW user account and I had "documents\arduino\libraries" with a readme.txt in?
I uninstalled and re-installed and it then seemed to start in "documents\Digistump_Arduino" where installed
-Funny (Win) IDE thing: Open two sketches - compile 1st and switch to 2nd and the compile output after that goes to 2nd.
-Also saw updated MicrOledPRO with two examples! Didn't try that yet.
-
Tried out the 1.5.8B version on my DigiSpark Pro this morning and got the Blink program to run.
thanks so much for all the help & education on this. I'll be moving forward with some I2C and SPI experiments throughout the day.
Russ From Coral Springs, Fl.
-
Linux is up now too!
Digispark: http://digistump.com/wiki/digispark/tutorials/connecting
Digispark Pro: http://digistump.com/wiki/digispark/tutorials/connectingpro
DigiX: http://digistump.com/wiki/digix/tutorials/software
-
I went to the Digispark and Digispark Pro pages, and went to retrieve the 64-bit and 32-bit Linux files, and I got 404 errors (file does not exist).
-
duh! they should have ended in tar.gz not zip - fixed and here they are:
* Windows (now with fully signed drivers!)
* Installer (recommended): https://github.com/digistump/DigistumpArduino/releases/download/v1.5.8B/DigistumpArduinoInstall1.5.8B.exe
* Zip: https://github.com/digistump/DigistumpArduino/releases/download/v1.5.8B/DigistumpIDE1.5.8B.zip
* Mac: https://github.com/digistump/DigistumpArduino/releases/download/v1.5.8B/DigistumpIDE1.5.8BOSX.zip
* Linux:
* 32-bit: https://github.com/digistump/DigistumpArduino/releases/download/v1.5.8B/DigistumpIDE1.5.8B-linux32.tar.gz
* 64-bit: https://github.com/digistump/DigistumpArduino/releases/download/v1.5.8B/DigistumpIDE1.5.8B-linux64.tar.gz
-
Hi, I followed the install instructions on a plain virgin Ubuntu 14.04 box and the first thing was that there was no Java installed and as part of the failure message it offered me 5 different Java installs to try. I tried apt-get the OpenJDK 7 suggestion, and now the . arduino fails:
jparks@jparks-S10-3t:~/Tools/arduino-1.5.8-32bit$ . arduino
Exception in thread "main" java.lang.ExceptionInInitializerError
at processing.app.Preferences.init(Preferences.java:284)
at processing.app.Base.main(Base.java:167)
Caused by: java.awt.HeadlessException
at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(HeadlessToolkit.java:234)
at processing.core.PApplet.<clinit>(Unknown Source)
... 2 more
Any ideas off the top of your head? I'll probably try removing that Java and trying a different one...
Edit: I removed the headless Java and installed the OpenJDK and all is well now!
-
Hi,
DigiUSB sketches do not compile. I added a few "const" in the two attached files, until the complaints disappeared ;)
The echo example compiles and seems working now.
This is also fixed in our next release - coming shortly after Christmas
-
1.5.8B has been released.
Entered the forum and saw this on the top:
Featured Announcement: New IDE Release for All Digistump Boards (Digispark, Pro, and DigiX) - 1.5.8A
And the forum is '© 2013 Digistump LLC'