Ok. I think that I am a 1 step to the Finish.
It seems I write successful data with "Burn_AT85_Bootloader.bat" file.
Found solution for first error from THIS THREAD.
ERROR: 1)
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.
Above Error solved with recconect pins. Mega has different PIN places for MOST/MISO/SCK pins !! So, I recconect pins like:
MOSTI: 11-->51
MISO: 12-->50
SCK/SCL:13-->52
SS 10-->53
Next you can see successful CMD outpot:
C:\Program Files (x86)\Arduino>"C:\Program Files (x86)\Arduino\\hardware\tools\a
vr/bin/avrdude" -C"C:\Program Files (x86)\Arduino\\hardware\tools\avr/etc/avrdud
e.conf" -v -pattiny85 -cstk500v1 -PCOM3 -b19200 -Uflash:w:"C:\Program Files (x86
)\Arduino\\AT85_Bootloader.hex":i -U lfuse:w:0xe1:m -U hfuse:w:0xdd:m -U efuse:w
:0xfe:m
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino\\hard
ware\tools\avr/etc/avrdude.conf"
Using Port : COM3
Using Programmer : stk500v1
Overriding Baud Rate : 19200
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 Max
W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ---
-- ---------
eeprom 65 12 4 0 no 512 4 0 4000 45
00 0xff 0xff
flash 65 6 32 0 yes 8192 64 128 30000 300
00 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 90
00 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
calibration 0 0 0 0 no 1 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.06s
avrdude: Device signature = 0x1e930b (probably t85)
avrdude: safemode: lfuse reads as E1
avrdude: safemode: hfuse reads as DD
avrdude: safemode: efuse reads as FE
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be perform
ed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "C:\Program Files (x86)\Arduino\\AT85_Bootloader.hex
"
avrdude: writing flash (8124 bytes):
Writing | ################################################## | 100% 0.26s
avrdude: 8124 bytes of flash written
avrdude: verifying flash memory against C:\Program Files (x86)\Arduino\\AT85_Boo
tloader.hex:
avrdude: load data flash data from input file C:\Program Files (x86)\Arduino\\AT
85_Bootloader.hex:
avrdude: input file C:\Program Files (x86)\Arduino\\AT85_Bootloader.hex contains
8124 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.24s
avrdude: verifying ...
avrdude: 8124 bytes of flash verified
avrdude: reading input file "0xe1"
avrdude: writing lfuse (1 bytes):
Writing | ################################################## | 100% 0.02s
avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0xe1:
avrdude: load data lfuse data from input file 0xe1:
avrdude: input file 0xe1 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 "0xdd"
avrdude: writing hfuse (1 bytes):
Writing | ################################################## | 100% 0.01s
avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xdd:
avrdude: load data hfuse data from input file 0xdd:
avrdude: input file 0xdd 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 "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: safemode: lfuse reads as E1
avrdude: safemode: hfuse reads as DD
avrdude: safemode: efuse reads as FE
avrdude: safemode: Fuses OK (E:FE, H:DD, L:E1)
avrdude done. Thank you.
Press any key to continue . . .
But even if I did it successfully, Digispark still doesn’t work properly (I think).
Now, the MAIN QUESTION is:
Do I need burn bootloader with "TOOLS->BURN BOOTLOADER" ??? Can digispark work without that?
Becuase, when I go to Tools-->Burn Bootloader, I got new similar message:
ERROR: 2)
avrdude: Device signature = 0x1e930b (probably t85)
avrdude: Expected signature for ATmega2560 is 1E 98 01
Double check chip, or use -F to override this check.
(I Figured out that for burnig with "Tools Burn Bootloader" path is different, his path is there: C:\Users\MyName\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17\etc\Avrdude.conf)
I tried everithyng. Is problem with pins again? I tried change AtMega2560
signature from "0x1e 0x98 0x01" to "0x1E 0x98 0x03", but same.