Author Topic: IDE will not recognize DigiSpark  (Read 9315 times)

swz

  • Newbie
  • *
  • Posts: 2
IDE will not recognize DigiSpark
« on: June 22, 2013, 11:06:38 am »
I've gone through the installation instructions on the wiki.  Installed (unzipped) the DigiStump version of IDE, installed drivers, loaded the sample (Start) app, and compiled -- All went without indicating an error.


When I try to upload to DigiSpark and am prompted to "please plug in the device....", the DigiSpark is not recognized by the IDE.  The PC sees the device as a new USB Device, and brings up the Found New Hardware Wizard, for the device "Digispark Bootloader".   Computer cannot find a driver if I look in the downloaded drivers directory, and if I cancel, IDE is still not able to detect the DigiSpark.


I've tried three different DigiSparks, and all react the same.


Running Win XP, SP3.


caseyjholmes

  • Newbie
  • *
  • Posts: 25
Re: IDE will not recognize DigiSpark
« Reply #1 on: June 22, 2013, 04:21:20 pm »
Sounds almost similar to what's happening to me.

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: IDE will not recognize DigiSpark
« Reply #2 on: June 24, 2013, 01:21:39 am »
Sometimes windows XP "forgets" where the driver is - try selecting "Have Disk" in the new hardware wizard and then selecting DigisparkArduino-Win32\DigisparkWindowsDriver\Digispark_Bootloader.inf - from the IDE folder you downloaded and unzipped.

caseyjholmes

  • Newbie
  • *
  • Posts: 25
Re: IDE will not recognize DigiSpark
« Reply #3 on: June 25, 2013, 09:24:28 pm »
It doesn't let me brows to the Digispark_bootloader.inf driver.


digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: IDE will not recognize DigiSpark
« Reply #4 on: June 26, 2013, 12:55:02 am »
Can you select the "DigisparkWindowsDriver" folder?

caseyjholmes

  • Newbie
  • *
  • Posts: 25
Re: IDE will not recognize DigiSpark
« Reply #5 on: June 27, 2013, 06:14:32 pm »
Yes I tried highlighting the entire folder by itself and this didn't work.
I just figured I'd show the contents of the folder I suppose.

To clarify "didn't work".. I mean XP didn't find the driver when I had just the "digisparkwindowsdriver" file highlighted and pressed ok. A message similar to "windows could not find the driver for this device in the file specified" popped up.

Thanks for the help.

If I can remember, I'll get to my laptop in storage and try that. It runs Windows 7.
« Last Edit: June 27, 2013, 06:19:17 pm by caseyjholmes »

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: IDE will not recognize DigiSpark
« Reply #6 on: June 27, 2013, 06:37:02 pm »
Windows 7 should be much smoother for it - XP has always had some strange driver issues. ALso worth trying is to be sure that all Arduino drivers are removed - a few people have mentioned that they had drivers from other Arduino devices conflict (only on XP).


Aside from that if you search around the forums there are some other XP suggestions. I personally have it running on many XP machines without issue, but I've also seen some pretty strange driver issues with XP.

Mark

  • Full Member
  • ***
  • Posts: 196
Re: IDE will not recognize DigiSpark
« Reply #7 on: June 27, 2013, 10:18:02 pm »
Windows won't find the driver there, because its looking for an .inf file.
There are no .inf files in either folder.

The driver needs to be installed using the InstallDriver.exe found under Digispark - Windows Driver
This then creates a OEMxx.inf which has all the necessary information  (which is basically that its a serial port) edit as bluebie pointed out ...
C:\windows\inf (select the last modified tab to see which one is new)
You can open them in notepad and they are plain english

If windows fails it sometimes keeps going back to the OEMxx.pnf (which is the runtime version) and won't override it.
The cure is delete it, and reinstall using the InstallDriver.exe.

There are details here.
http://digistump.com/board/index.php/topic,937.0.html
and
http://digistump.com/board/index.php/topic,149.0.html



IMO I wouldn't count on Win7 being any better, as it ALWAYS heads off to mummy to check if this is a valid device.....

mark
« Last Edit: July 08, 2013, 08:57:55 pm by Mark »

caseyjholmes

  • Newbie
  • *
  • Posts: 25
Re: IDE will not recognize DigiSpark
« Reply #8 on: June 28, 2013, 10:02:55 pm »
Thanks, will try all the suggestions and get back to ya.
In the middle of a move too and today's the day I take down the PC..

caseyjholmes

  • Newbie
  • *
  • Posts: 25
Re: IDE will not recognize DigiSpark
« Reply #9 on: July 03, 2013, 07:08:09 pm »
I get this error shown below with the Windows 7 laptop..
the driver installed and the laptop recognizes the digispark as digispark bootloader but there is still this error when trying to download test code:
It gets this error regardless of if the digispark is plugged in or not when I compile/build.


PC will be packed up for a bit so can't test the last few suggestions out on XP yet..

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: IDE will not recognize DigiSpark
« Reply #10 on: July 03, 2013, 11:57:21 pm »
You need to select Tools->Board->Digispark and Tools->Programmer->Digispark

caseyjholmes

  • Newbie
  • *
  • Posts: 25
Re: IDE will not recognize DigiSpark
« Reply #11 on: July 04, 2013, 06:06:37 pm »
..and it worked!
Thanks!

Now I can build something with it. I'll just program it with my laptop so it doesn't interfere with Arduino drivers on my PC.



Bluebie

  • Sr. Member
  • ****
  • Posts: 486
Re: IDE will not recognize DigiSpark
« Reply #12 on: July 08, 2013, 06:18:51 pm »
@Mark: I want to clarify, that maybe true for Arduino products, but the digispark is never a serial port, in any mode, and no operating system believes it is, with the only exception I know of being if you upload the cdc232 firmware from littlewire. The digispark driver is a 'filter driver' (not just an inf file) with real code, which grants libusb programs direct access to the digispark with raw usb messages. No other operating systems require such a driver.

Mark

  • Full Member
  • ***
  • Posts: 196
Re: IDE will not recognize DigiSpark
« Reply #13 on: July 08, 2013, 08:56:19 pm »
Jenna

Sorry you're right
Quote
(which is basically that its a serial port).
is incorrect and has been edited.

It does create the OEMxxx.inf (and the OEMxxx.pnf) files.


Thanks
Mark
« Last Edit: July 08, 2013, 08:58:29 pm by Mark »