ATTinyCore icon indicating copy to clipboard operation
ATTinyCore copied to clipboard

ATtiny88 Micronucleus Upload Error

Open SpenceKonde opened this issue 3 years ago • 2 comments

Discussed in https://github.com/SpenceKonde/ATTinyCore/discussions/710

Originally posted by founfabug August 3, 2022 Arduino: 1.8.13 ATTinyCore-2.0.0-dev: From today System: Windows 10 Error on uploading: java.io.IOException: Cannot run program "C:\Users\...\AppData\Local\Arduino15\packages\ATTinyCore\tools\micronucleus\2.5-azd1b/launcher": CreateProcess error=2, The system cannot find the file specified

micronucleus.exe is at that location.

Note that platform.txt contains a definition: tools.micronucleus.cmd.path={runtime.tools.micronucleus.path}/launcher which differs from master branch: tools.micronucleus.cmd.path={runtime.tools.micronucleus.path}/micronucleus

Reverting the definition in platform.txt resolves the error, but introduces Unrecognized option: -cdigispark

Additional debugging indicates other things are not quite right, including my understanding of what is going on :-)

Uploads as expected with 1.5.2 core.

Thank you

SpenceKonde avatar Aug 03 '22 06:08 SpenceKonde

This is one of the many reasons 2.0.0-dev is 2.0.0-dev instead 0f 2.0.0

SpenceKonde avatar Aug 03 '22 06:08 SpenceKonde

I wonder if this is reklated to the issues I was having with the 861 ultramini boards I'm planning to sell as soon as I can make the bloody things work

SpenceKonde avatar Aug 03 '22 06:08 SpenceKonde

If I use your core I get the error: Error during install: Error downloading tool ATTinyCore:[email protected]: Get "https://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1-x86_64-linux-gnu.tar.bz2": dial tcp 3.218.2.136:443: connect: connection timed out see here: https://github.com/ArminJo/Github-Actions/runs/8044312905?check_suite_focus=true#step:4:312) and here https://github.com/ArminJo/Arduino-OpenWindowAlarm/runs/8044572270?check_suite_focus=true#step:3:63

ArminJo avatar Aug 26 '22 21:08 ArminJo

I can't reproduce that issue, it sounds like a connectivity issue of some sort....

SpenceKonde avatar Sep 09 '22 04:09 SpenceKonde

I thought you fixed it, since it worked a few hours later 😏

ArminJo avatar Sep 09 '22 06:09 ArminJo

All I did was log onto the server long enough to do ps to see that httpd was runing, and confirm that I could download it.

Okay, 2.0.0 is now calling micronucleus directly for uploads.

SpenceKonde avatar Sep 09 '22 07:09 SpenceKonde