Author Topic: Digispark upload + USB problems Windows 10.  (Read 14684 times)

Bigstone

  • Newbie
  • *
  • Posts: 5
Digispark upload + USB problems Windows 10.
« on: May 16, 2017, 09:29:02 am »
Hi,

Came across this fabulous little device and are now trying to make it compute with my will... let's just state that it doesn't.

Problems is as follows:
A. When klicking the upload I get the "Running Digispark Uploader... Plug in device now... (will timeout in 60 seconds)" I plug in the Digispark but nothing happens for over 3 minutes. Is this normal?

B. After the  3 minutes long waiting  I get to the "100% complete" and ">> Micronucleus done. Thank you!" and the Digispark disconnects from the USB port and shortly connects again... and after 5 seconds it disconnects again... and so it keeps on repeating with connecting and disconnecting even if I unplug it for a while. Why?

C. Changes in programming (Blink, changed delay times) had no effect other than that the original program seem to be erased from the Digispark and now there is no blinking at all.

I have tried to reinstall the original Blink but with no success.

I running Windows 10 if that has anything to do with it.
First of in the installation all the board files did not play at all with Arduino IDE 1.8.2. It took me quite a while to understand that it wanted version 1.6.5 as of highest. :P ;) So ok, got the non Administrator version of the IDE and got it up and running, finally got the Digistump AVR Boards downloaded and my card recognized by Windows 10 so drivers seems to be working ok.
I use the "Digispark (Default - 16.5mhz) and tried various programmers like Micronucleus, USBtinyISP (ATtiny),  USBtinyISP SLOW(ATtiny), USBtinyISP etc. but to no avail..
Code: [Select]
void setup()
{
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(0, OUTPUT);
  pinMode(1, OUTPUT);
  pinMode(2, OUTPUT);
}

// the loop function runs over and over again forever
void loop()
{
  digitalWrite(0, HIGH);       // turn the LED on (HIGH is the voltage level)
  digitalWrite(1, HIGH);
  digitalWrite(2, HIGH);
  delay(100);                       // wait for 100ms
  digitalWrite(0, LOW);       // turn the LED off by making the voltage LOW
  digitalWrite(1, LOW);
  digitalWrite(2, LOW);
  delay(500);                       // wait for a 0,5 seconds
}
(Yeah, I Blink all three of them, better safe then sorry. Not sure which one is connected to the LED so...  ??? ;))

I'm stuck. I doing something wrong here but I need help to figure out what! :-\

Anyone familiar to this?

KASA

  • Newbie
  • *
  • Posts: 34
Re: Digispark upload + USB problems Windows
« Reply #1 on: May 16, 2017, 10:23:32 am »
I had a similar Problem and I think my USB port was just a bit wobbly... try a USB Hub or an extension cable.

Bigstone

  • Newbie
  • *
  • Posts: 5
Re: Digispark upload + USB problems Windows 10.
« Reply #2 on: May 17, 2017, 01:20:55 am »
Well.. I have tried different USB ports, unplugging other devices, used a USB hub with and without external power but no progress. :-\

bulrush

  • Newbie
  • *
  • Posts: 7
Re: Digispark upload + USB problems Windows 10.
« Reply #3 on: May 23, 2017, 04:38:53 am »
I have a Win 10 laptop and got my DS to work fine. Before you click Upload the DS must NOT be connected to the PC. Only connect the DS when it says "Uploading... timeout in 60 seconds...".

If you change your program in the IDE, remove the DS, click Upload again, then insert the DS again.

Also, if you are connecting via a USB cable, it MUST have the 2 data wires connected as well as power connected. Most USB charging cables are "power only", the 2 data wires are not connected. Now I mark all my data USB cords with a silver sharpie with "data" on them.



beamzzer

  • Newbie
  • *
  • Posts: 1
Re: Digispark upload + USB problems Windows 10.
« Reply #4 on: June 19, 2017, 11:40:13 pm »
I have a Win 10 laptop and got my DS to work fine. ...
Did you use the v1.8.x of Arduino IDE, or ary you using v1.6.5 ?

s030100000408

  • Newbie
  • *
  • Posts: 1
Re: Digispark upload + USB problems Windows 10.
« Reply #5 on: October 09, 2017, 02:50:19 am »
I use the auduino 1.8.3,and plug while programming.It works.
Here's the video that teach you how to program it.

https://youtu.be/MmDBvgrYGZs

Good luck!
« Last Edit: October 09, 2017, 02:51:52 am by s030100000408 »

icandothat

  • Newbie
  • *
  • Posts: 7
Re: Digispark upload + USB problems Windows 10.
« Reply #6 on: January 01, 2020, 11:29:13 am »
I had the same problem, I think it's because you're choosing the wrong board. Choose the digispark 16Mhz (default).

sebi

  • Newbie
  • *
  • Posts: 6
Re: Digispark upload + USB problems Windows 10.
« Reply #7 on: January 07, 2020, 01:55:57 pm »
I think I have a similar issue.
But in my case the Arduino IDE keeps showing eternally:
Running Digispark Uploader...
Plug in device now... (will timeout in 60 seconds)

What I have noticed is that the status bar goes from Uploading... to Done uploading. in less than a second, but nothing is uploaded eventually.
Did you notice such a similar behavior?
Did you find a way to solve this issue?