Re:https://forum.arduino.cc/t/issue-accessing-http-drazzy-com-package-drazzy-com-index-json/1354916

Mingw32

The process works upto the mingw32.zip

Failed to install platform: 'ATTinyCore:1.5.2'. 13 INTERNAL: Download failed: performing HEAD request: Head "``https://azduino.com/bin/micronucleus/micronucleus-cli-2.5-azd1b-x86_64-mingw32.zip``": dial tcp 3.218.2.136:443: connectex: No connection could be made because the target machine actively refused it.

Hi @giantkiller. This is due to DrAzzy/SpenceKonde not having performed required maintenance on the azduino.com website they use to host the Micronucleus dependency on the ATTinyCore platform.

Try using the provisional Boards Manager URL I created as a workaround for a previous occurrence of the same problem. I provide instructions for doing that here:


The problem has been reported to DrAzzy/SpenceKonde here:

AtTinyCore showed up and all the boards.

Thank you.

I did receive this though:

Tool arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7 already installed
Downloading packages
arduino:avrdude@6.3.0-arduino18
ATTinyCore:micronucleus@2.5-azd1b
ATTinyCore:avr@1.5.2
Installing arduino:avrdude@6.3.0-arduino18
arduino:avrdude@6.3.0-arduino18 installed
Installing ATTinyCore:micronucleus@2.5-azd1b
Configuring tool.
WARNING: cannot configure tool: exit status 1024
ATTinyCore:micronucleus@2.5-azd1b installed
Installing platform ATTinyCore:avr@1.5.2
Platform ATTinyCore:avr@1.5.2 installed

This means an error occurred when Arduino IDE ran the "post-install script" for the ATTinyCore:micronucleus@2.5-azd1b tool. This is a Windows batch file which has the following content:

@echo off
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" (
  "%~dp0\Drivers\DPinst64.exe"
) ELSE IF "%PROCESSOR_ARCHITEW6432%" == "AMD64" (
  "%~dp0\Drivers\DPinst64.exe"
) ELSE (
  "%~dp0\Drivers\DPinst.exe %ARGS%"
)

The purpose of this batch file is to install the Windows drivers for the Digispark boards. These drivers are located in the Drivers subfolder of the Micronucleus uploader tool installation, at the following path on your hard drive:

C:\Users\<username>\AppData\Local\Arduino15\packages\ATTinyCore\tools\micronucleus\2.5-azd1b\Drivers

(where <username> is your Windows username)


:red_exclamation_mark: If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".


If you have already been successfully uploading to your Digispark board, then this means you already have the necessary drivers and the fact that the post-install script failed won't cause any problems.

Appdata and Arduino15 are already exposed and in File Explorer Quick Access.

I already spend too much in there for other reasons.

And yes I have done a lot of previous sketch flashes to Digistumps so the next effort should work. I am going the ArduinoISP route:

Exceedingly well!

"C:\Users\phyzx\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino18/bin/avrdude" "-CC:\Users\phyzx\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2/avrdude.conf" -v -pattiny85 -cstk500v1 -PCOM6 -b19200 -e -Uefuse:w:0xFE:m -Uhfuse:w:0b11011111:m -Ulfuse:w:0xF1:m "-Uflash:w:C:\Users\phyzx\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2/bootloaders/micronucleus/t85_entry_on_power_on_no_pullup_fast_exit_on_no_USB.hex:i"

avrdude: Version 6.3-20201216
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\phyzx\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2/avrdude.conf"

         Using Port                    : COM6
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
         Setting bit clk period        : 5.0
         AVR Part                      : ATtiny85
         Chip Erase delay              : 400000 us
         PAGEL                         : P00
         BS2                           : P00
         RESET disposition             : possible i/o
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    12     4    0 no        512    4      0  4000  4500 0xff 0xff
           flash         65    12    32    0 yes      8192   64    128 30000 30000 0xff 0xff
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           calibration    0     0     0    0 no          2    0      0     0     0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel STK500 Version 1.x firmware
         Hardware Version: 2
         Firmware Version: 1.18
         Topcard         : Unknown
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x1e930b (probably t85)
avrdude: erasing chip
avrdude: reading input file "0xFE"
avrdude: writing efuse (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of efuse written
avrdude: verifying efuse memory against 0xFE:
avrdude: load data efuse data from input file 0xFE:
avrdude: input file 0xFE contains 1 bytes
avrdude: reading on-chip efuse data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ...
avrdude: 1 bytes of efuse verified
avrdude: reading input file "0b11011111"
avrdude: writing hfuse (1 bytes):

Writing | ################################################## | 100% 0.02s

avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0b11011111:
avrdude: load data hfuse data from input file 0b11011111:
avrdude: input file 0b11011111 contains 1 bytes
avrdude: reading on-chip hfuse data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ...
avrdude: 1 bytes of hfuse verified
avrdude: reading input file "0xF1"
avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.02s

avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0xF1:
avrdude: load data lfuse data from input file 0xF1:
avrdude: input file 0xF1 contains 1 bytes
avrdude: reading on-chip lfuse data:

Reading | ################################################## | 100% 0.01s

avrdude: verifying ...
avrdude: 1 bytes of lfuse verified
avrdude: reading input file "C:\Users\phyzx\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2/bootloaders/micronucleus/t85_entry_on_power_on_no_pullup_fast_exit_on_no_USB.hex"
avrdude: writing flash (8182 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 8182 bytes of flash written
avrdude: verifying flash memory against C:\Users\phyzx\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2/bootloaders/micronucleus/t85_entry_on_power_on_no_pullup_fast_exit_on_no_USB.hex:
avrdude: load data flash data from input file C:\Users\phyzx\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2/bootloaders/micronucleus/t85_entry_on_power_on_no_pullup_fast_exit_on_no_USB.hex:
avrdude: input file C:\Users\phyzx\AppData\Local\Arduino15\packages\ATTinyCore\hardware\avr\1.5.2/bootloaders/micronucleus/t85_entry_on_power_on_no_pullup_fast_exit_on_no_USB.hex contains 8182 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% -0.00s

avrdude: verifying ...
avrdude: 8182 bytes of flash verified

avrdude done.  Thank you.

More exceedingly great!

FQBN: digistump:avr:digispark-tiny
Using board 'digispark-tiny' from platform in folder: C:\Users\phyzx\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.7.5
Using core 'tiny' from platform in folder: C:\Users\phyzx\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.7.5

Detecting libraries used...
Using cached library dependencies for file: C:\Users\phyzx\AppData\Local\arduino\sketches\B989537E2FFEDDED381696957CA77415\sketch\HeelerPodV3.ino.cpp.merged
Generating function prototypes...
Using cached sketch with function prototypes.
Compiling sketch...
Using previously compiled file: C:\Users\phyzx\AppData\Local\arduino\sketches\B989537E2FFEDDED381696957CA77415\sketch\HeelerPodV3.ino.cpp.o
Compiling libraries...
Compiling core...
Using previously compiled file: C:\Users\phyzx\AppData\Local\arduino\sketches\B989537E2FFEDDED381696957CA77415\core\pins_arduino.c.o
Using precompiled core: C:\Users\phyzx\AppData\Local\arduino\cores\f9a23a9591584bf3e859390c170928cd\core.a
Linking everything together...
"C:\\Users\\phyzx\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -Os -g -Wl,--gc-sections -mrelax -fmerge-all-constants -mmcu=attiny85 -o "C:\\Users\\phyzx\\AppData\\Local\\arduino\\sketches\\B989537E2FFEDDED381696957CA77415/HeelerPodV3.ino.elf" "C:\\Users\\phyzx\\AppData\\Local\\arduino\\sketches\\B989537E2FFEDDED381696957CA77415\\sketch\\HeelerPodV3.ino.cpp.o" "C:\\Users\\phyzx\\AppData\\Local\\arduino\\sketches\\B989537E2FFEDDED381696957CA77415\\core\\pins_arduino.c.o" "C:\\Users\\phyzx\\AppData\\Local\\arduino\\cores\\f9a23a9591584bf3e859390c170928cd\\core.a" "-LC:\\Users\\phyzx\\AppData\\Local\\arduino\\sketches\\B989537E2FFEDDED381696957CA77415" -lm
"C:\\Users\\phyzx\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\phyzx\\AppData\\Local\\arduino\\sketches\\B989537E2FFEDDED381696957CA77415/HeelerPodV3.ino.elf" "C:\\Users\\phyzx\\AppData\\Local\\arduino\\sketches\\B989537E2FFEDDED381696957CA77415/HeelerPodV3.ino.eep"
"C:\\Users\\phyzx\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\phyzx\\AppData\\Local\\arduino\\sketches\\B989537E2FFEDDED381696957CA77415/HeelerPodV3.ino.elf" "C:\\Users\\phyzx\\AppData\\Local\\arduino\\sketches\\B989537E2FFEDDED381696957CA77415/HeelerPodV3.ino.hex"
cmd /C "C:\\Users\\phyzx\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objdump" --disassemble --source --line-numbers --demangle --section=.text "C:\\Users\\phyzx\\AppData\\Local\\arduino\\sketches\\B989537E2FFEDDED381696957CA77415/HeelerPodV3.ino.elf" > "C:\\Users\\phyzx\\AppData\\Local\\arduino\\sketches\\B989537E2FFEDDED381696957CA77415/HeelerPodV3.ino.lst"
cmd /C "C:\\Users\\phyzx\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-nm" --numeric-sort --line-numbers --print-size "C:\\Users\\phyzx\\AppData\\Local\\arduino\\sketches\\B989537E2FFEDDED381696957CA77415/HeelerPodV3.ino.elf" > "C:\\Users\\phyzx\\AppData\\Local\\arduino\\sketches\\B989537E2FFEDDED381696957CA77415/HeelerPodV3.ino.map"
"C:\\Users\\phyzx\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\phyzx\\AppData\\Local\\arduino\\sketches\\B989537E2FFEDDED381696957CA77415/HeelerPodV3.ino.elf"
Sketch uses 2358 bytes (35%) of program storage space. Maximum is 6650 bytes.
Global variables use 57 bytes (11%) of dynamic memory, leaving 455 bytes for local variables. Maximum is 512 bytes.
"C:\Users\phyzx\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.6/micronucleus" --no-ansi --run --timeout 60 C:\Users\phyzx\AppData\Local\arduino\sketches\B989537E2FFEDDED381696957CA77415/HeelerPodV3.ino.hex
> Please plug in the device (will time out in 60 seconds) ... 
> Device is found!
connecting: 16% complete
connecting: 22% complete
connecting: 28% complete
connecting: 33% complete
> Device has firmware version 2.5
> Device signature: 0x1e930b 
> Available space for user applications: 6586 bytes
> Suggested sleep time between sending pages: 7ms
> Whole page count: 103  page size: 64
> Erase function sleep duration: 721ms
parsing: 50% complete
> Erasing the memory ...
erasing: 55% complete
erasing: 60% complete
erasing: 65% complete
> Starting to upload ...
writing: 70% complete
writing: 75% complete
writing: 80% complete
> Starting the user app ...
running: 100% complete
>> Micronucleus done. Thank you!

Installed the flashed Digistump and it performs as it should. The initial 6 second pause is gone. A few more code tweaks and I roll into the pcb effort.

I only use the USB to flash. It has no use in the application device.

Thank you all especially Ptillisch and Tuuli in Discord Arduino.

As any experience computer person knows the litmus test is when you get something working, it doesnt truly test out until one powers down and commit to the new process the next day after launching all necessary apps to start the environment. Any failures then can look like BSCP-B)ull S)**t C)omputer P)roblems that need immediate attention because 'It worked before'.

Today I powered everything up, Arduino IDE 2.3.10. Bootburned 4 digistumps then flashed the device application to them. The application device runs exactly as designed. One of the Digistumps was bricked.

:laughing: You and me both!

I try to avoid making any assumptions about the user's system and level of knowledge in my support efforts. I figure that those who don't need the extra level of detail can always skim over the superfluous content in my responses, while those who do need it will benefit greatly from not being left scratching their head (e.g., "He says there is an AppData folder, but I don't see one???").

Great news! Congratulations on persevering through all the challenges to achieve success in your endeavor.