YuvalS
(YuvalS)
8
After some reading in the Attiny Datasheet and other sources about the fuse, mrheosuper was correct and the problem was in the fuse settings.
In case, someone will have the same problem in the future:
The tutorials on the web for flashing MCU using Arduino include burning bootloader. During the burning of bootloader the fuse is also burned.
In order to use the same fuse settings as toykeeper set the BOD to 1.8v and clock to 4.8 MHz internal (under tools menu at the Arduino IDE).
Thanks mrheosuper for the Tip.