digistump / DigistumpArduino

Files to add Digistump support (Digispark, Pro, DigiX) to Arduino 1.6.X (1.6.5+)
949 stars 379 forks source link

Cant add digistump boards to any ide not working any more #60

Open dunk8888 opened 7 years ago

dunk8888 commented 7 years ago

My ide is missing programmer parameters,any help would be great.does it work with 1.8.1 or 1.6.5?

pfeerick commented 7 years ago

Programmer parameters? You shouldn't need to set any programmer parameters or upload using a programmer... merely plug in the digispark when prompted by the Arduino IDE, and then let micronucleus do its thing. And yes, the digistump package does works with Arduino IDE 1.8.1 as I am currently running it, and have been for a while now.

dunk8888 commented 7 years ago

When i try to add the board url it doesnt work in 1.8.1 but in the 1.6.5 it does.

dunk8888 commented 7 years ago

Hi thanks for your reply,its working now all of a sudden not sure what was wrong,i wasnt being prompted to plug digispark in but its fine now, i downloaded the 1.6.9 ide and installed on that ide then it seemed to work ok on 1.8.1 now too. thanks again.

On 8 April 2017 at 04:01, pfeerick notifications@github.com wrote:

Programmer parameters? You shouldn't need ot set any programmer parameters or upload using a programmer... merely plug in the digispark when prompted by the Arduino IDE, and then let micronucleus do its thing. And yes, the digistump package does works with Arduino IDE 1.8.1 as I am currently running it, and have been for a while now.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/digistump/DigistumpArduino/issues/60#issuecomment-292690392, or mute the thread https://github.com/notifications/unsubscribe-auth/AGM-H80cdhwt2RJJhcVbUe8bgYJzWdq1ks5rtvilgaJpZM4Mp1FQ .

pfeerick commented 7 years ago

Might have just been something to do with the board selection in the Arduino IDE... hard to tell without screenshots of what you were seeing when it played up. Anyway, seems like it's working for you again, so that's great to hear. Can you close the issue since it's no longer an ongoing problem? Thanks ;)

GDI123 commented 7 years ago

Looks like I have the same issue in Arduino IDE 1.8.2 on Xubuntu. Package manager report "CRC error, file corrupted. Try to repeat later"

pfeerick commented 7 years ago

I just downloaded the Digispark AVR and SAM packages again on Arduino 1.8.1 (Win10) without any issue. Board Manager CRC errors are more often an issue with your download. And unless the Arduino folks have finally fixed the bug, it stays stuck that way unless you delete the corrupted cache packages. I'll have to boot into linux to tell you the proper path, but you want to navigate to something like ~/.arduino15/staging/packages and just delete the contents of that folder... that is where the files are downloaded and then unpacked.

Edit: And on Ubuntu Mate 16.10, using Arduino IDE 1.8.2, I have also been able to install the AVR, SAM and Oak Digistump board packages without any issues.

GDI123 commented 7 years ago

Had the same issue. Package manager reported CRC error for files. I've managed to fix issue, because I've already did installation for other user earlier on my PC. So the fix was to copy 'staging/packages' folder to current user. And the issue was in little size of 'avr-gcc-4.8.1....tar.bz2' file.

pfeerick commented 7 years ago

Drats... so they probably haven't fixed that bug. I thought they said it was fixed a few versions ago... where if a file doesn't pass the CRC check (indicating that the CRC checksum value in the board package hasn't been updated, or that the file hasn't properly downloaded or been tampered with), that it would be deleted/re-downloaded.

Regardless of that... the avr-gcc dependency is pulled in directly from the Arduino board stuff (as shown here), so it failing to pass the CRC check, download, or install is a Arduino problem... not anything that has been done by Erik/Digistump. Glad to hear you managed to fix it though!