Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Digispark (Original) Support / Re: Digispark upload + USB problems Windows 10.
« Last post by sebi 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?
22
Digispark (Original) Support / Issue programming Digispark
« Last post by sebi on January 07, 2020, 07:50:24 am »
Dear community,
I used to be able to program my Digisparks, but currently I don't have them anymore to try reprogramming them as they are used in projects I gave away.
In the meantime I got 2 new ones but I am unable to program them using the Arduino IDE as before.
I re-followed some tutorials on the internet to make sure the driver was still installed successfully on my Windows 10 computer.
When I click on upload in the Arduino IDE I get:
Running Digispark Uploader...
Plug in device now... (will timeout in 60 seconds)
And it is written Done uploading in the status bar.
But nothing gets uploaded.
I tried to run C:\Users\sebi\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4/launcher -cdigispark --timeout 60 -Uflash:w:C:\Users\sebi\AppData\Local\Temp\arduino_build_606253/DigiSpark_test.ino.hex:i directly in the command line and after a second or 2 I got the next command prompt, the Digispark being plugged in or not.
In doubt, I reflashed the bootlaoder Micronucleus v2.0a4 on a Digispark using an Arduino Uno but it didn't help.
Do you have any clue what my issue could be? Thanks.
23
Is there any way to lock the program onto the digispark so a new one cant be written and one cant be erased?
24
Anyone finding this in the future looking for a way to remove the startup delay on their Digistump Attiny85 (or other) here are the instructions:

- Go here: https://github.com/micronucleus/micronucleus/tree/v1.11
- Download the whole project on 1.11 (thats the tag where the needed .hex files are at this point in time) and extract it to a dir.
- On Windows, open the command line and drag the file "micronucleus-1.11\commandline\builds\Windows\micronucleus.exe" to the command line so it pastes the whole path in it
- Click on the command line window, put a space in front of the path and add "--run" and another space
- Drag the "micronucleus-1.11\upgrade\releases" file you want to burn to your device, in my case, I use the PB0 as a push button (the only one) for my project, so I am just going to re-use it, so I picked the "micronucleus-1.11-entry-jumper-pb0-upgrade.hex"
- Once you drag you should see the full path of the exe + " --run " + the full path of the hex file
- Make sure the device is disconnected.
- Press enter and it will ask you to connect your device, it will then burn the new bootloader.
- Now when you want to program your device just keep the push button (PB0 in my case) pressed while you plug in the USB.

Note: There is two directories with .hex files, one is for FULL bootloaders (this will fail because of not enough space since there is a bootloader already on the device) and an UPGRADE dir. In the example I used the UPGRADE dir since my device came with a bootloader.

Example output :

Code: [Select]
C:\Users\silent>C:\Users\silent\Downloads\micronucleus-1.11\micronucleus-1.11\commandline\builds\Windows\micronucleus.exe --run C:\Users\silent\Downloads\micronucleus-1.11\micronucleus-1.11\upgrade\releases\micronucleus-1.11-entry-jumper-pb0-upgrade.hex
> Please plug in the device ...
> Press CTRL+C to terminate the program.
> Device is found!
connecting: 16% complete
connecting: 19% complete
connecting: 22% complete
connecting: 25% complete
connecting: 28% complete
connecting: 33% complete
> Device has firmware version 1.6
> Available space for user applications: 6012 bytes
> Suggested sleep time between sending pages: 8ms
> Whole page count: 94  page size: 64
> Erase function sleep duration: 752ms
parsing: 33% complete
parsing: 50% complete
parsing: 50% complete
> Erasing the memory ...
erasing: 50% complete
erasing: 50% complete

....

erasing: 66% complete
erasing: 66% complete
> Starting to upload ...
writing: 66% complete
writing: 66% complete
writing: 67% complete

.....

writing: 83% complete
writing: 83% complete
> Starting the user app ...
running: 83% complete
running: 100% complete
>> Micronucleus done. Thank you!

C:\Users\silent>


25
Digispark (Original) Support / Re: Digipark Attiny85 just won't work : /
« Last post by granzeier on January 04, 2020, 05:55:49 am »
Great! I'm glad that you got it working. Thanks for letting us know.
You are right about solutions often being minor/simple/silly, but this is one that, while simple, is not easy to figure out on your own. It really helped me when I saw this fix from Digistump.
26
Digispark (Original) Support / Re: Digipark Attiny85 just won't work : /
« Last post by TheSecondQuincy on January 03, 2020, 05:14:24 pm »
So USB hub came in today - plugged in the board, and after some finagling, that seemed to do the trick! Thanks for the suggestion, I knew it had to be something really minor / silly I wasn't coming up with.
27
Digispark (Original) Support / Can you use shortcuts on a didispark like Ctrl+t
« Last post by Portal742 on January 02, 2020, 02:26:55 pm »
If someone could answer yes or no and if yes say how that would be great I'm desperate for answers
28
Digispark (Original) Support / Using Command shortcuts
« Last post by Portal742 on January 02, 2020, 06:36:25 am »
I have been trying to use a digispark on a Dell Chromebook. Since it doesn't have cmd or any other multi-function tool I have been trying to get the digispark to use shortcuts like Ctrl-t to open a new tab, but I am unsure of how to get the digispark to do this. If anyone could help me that would be great. I am new to this community and digisparks and I'm trying to learn. Thanks.
29
Digispark (Original) Support / Using Command shortcuts
« Last post by Portal742 on January 02, 2020, 06:33:29 am »
I have been trying to use a digispark on a Dell Chromebook. Since it doesn't have cmd or any other multi-function tool I have been trying to get the digispark to use shortcuts like Ctrl-t to open a new tab, but I am unsure of how to get the digispark to do this. If anyone could help me that would be great. I am new to this community and digisparks and I'm trying to learn. Thanks.
30
Digispark (Original) Support / Re: Digispark upload + USB problems Windows 10.
« Last post by icandothat 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).
Pages: 1 2 [3] 4 5 ... 10