The Digispark > Digispark (Original) Support

Digispark upload + USB problems Windows 10.

(1/2) > >>

Bigstone:
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: ---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
}
--- End code ---
(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:
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:
Well.. I have tried different USB ports, unplugging other devices, used a USB hub with and without external power but no progress. :-\

bulrush:
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:

--- Quote from: bulrush on May 23, 2017, 04:38:53 am ---I have a Win 10 laptop and got my DS to work fine. ...

--- End quote ---
Did you use the v1.8.x of Arduino IDE, or ary you using v1.6.5 ?

Navigation

[0] Message Index

[#] Next page

Go to full version