Digistump Forums
Back to Digistump.com
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Digistump Forums
»
The Digispark
»
Digispark (Original) Support
»
Upload issue Linux
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Upload issue Linux (Read 9873 times)
phord
Newbie
Posts: 5
Re: Upload issue Linux
«
Reply #15 on:
February 08, 2013, 12:12:25 pm »
@dhylands Thanks for the tips. I had all the same problems you were running into.
[/size]
Pins are too short.
[/size]
Card is too wide
[/size]
VirtualBox running (though I don't know if this really interfered)
[/size]
Ubuntu Linnux 64-bit on a Lenovo W520 laptop
[/size]
I tried running Arduino IDE as root, but it still didn't work.
[/size]
I followed your libusb instructions -- they worked perfectly. Thanks fo
[/size]
r the detailed notes. But this didn't help either, afaik.
I finally managed to program the DS using an external powered hub.
[/font]
On the way, I "bricked" 4 of 5 digisparks. Two of these seemed to be stuck in a reboot-loop, probably because the sketch portion of flash had been at least partially erased. When I plugged those in, lsusb would show me the device appearing and disappearing every 5 seconds. Here's a handy command:
[/font]
[/font]
Code:
[Select]
watch -d -n 1 "lsusb "
[/size]
I see that after I successfully program a new sketch on the devices, the Grautech entry does stay present as long as the device is plugged in. I guess the sample sketches don't emit some signal that the default sketch did.
[/size]
I eventually recovered all 4 of my bricks. Two of them were tricky and required me to manually push or twist the board in the USB connector socket to ensure a good contact for the duration of the programming.
[/size]
Emboldened by my success, I went on to program the other 7 digisparks I have (total of 12). About half of them programmed correctly in one try using the external USB hub (powered). The other half took two or three tries, but eventually made it to 100% and ran the Start sketch just fine.
I'm guessing the programmer needs some robustification. But also the electrical contacts seem to be pretty hit-or-miss at this point.
All of my boards are "rev 2", if that matters.
Phil
Logged
RussNelson
Newbie
Posts: 23
Re: Upload issue Linux
«
Reply #16 on:
April 20, 2013, 10:01:18 am »
No, it's not USB3, and not a length issue either. I have a shortie USB cable (~1 foot), and it works in the hub and doesn't work directly into the laptop.
Logged
Print
Pages:
1
[
2
]
« previous
next »
Digistump Forums
»
The Digispark
»
Digispark (Original) Support
»
Upload issue Linux