Well, after around 6 or 7 hours of dealing with this I finally solved it when I started playing around with a high voltage programmer. I hope this can help someone in the future.
The problem was that the Attiny13 came with the fuse bits set wrong. They were F6 F8, which meant that ISP programming was disabled (SPIEN bit unprogrammed). To make matters worse ...
Somewhere in your main or before the while(1) you should have created the semaphore with one of the following
You appear to be trying to solve a problem that should not exist if you use a properly designed programmer.
Pin 2 on the programming header is not a VCC input - the programmer should not be providing power to this pin.
Instead it is a VTGT output - the target (your device) provides power to the programmer via this pin, with the programmer then using this ...
One way or another you will need some sort of communication module. You could use a GSM module as you mentioned, or a WiFi/Ethernet chip. If the latter, you can use any internet-based SMS service (Google Voice, VOIP, etc). If you go with the WiFi approach, I'd suggest an Espressif chip (ESP32 or ESP8266). They're cheap and have a lot of Arduino support.
I use Linux as my host platform, but I think these tools are also available for Windows varieties.
I use "avra" for the assembly to hex code converter (compiler)
Then I program the chip using a USBTiny programmer and the "avrdude" programming tool.
I believe both of these tools are open source.
As you are using USB, so you won't need any voltage regulator. Mobile phone adapter or laptops provide a constant 5 volts. Use a good adapter and cable.
And 7805 has nothing to do in a circuit where the power is supplied from a 5 volts adapter. 7805 works for supply voltage greater than 7 volts.
Use a Schottky diode for reverse voltage protection.
I am using USB cable. So do i need any stabilizator there?
USB is reasonably well regulated, and your load isn't very sensitive to minor changes in voltage, so you don't need a regulator.
Is there a chance if i connect this to power source it will burn the source?
That depends on the specific device, but most USB source or host devices have internal ...
You generally should have a resistor on the collector (or from A to Vcc) to limit the current. Refer to your LCD datasheet for guidance on that matter, and assume transistor voltage drop is something like 100mV. Failure to include the resistor when one is required will likely lead to early failure of the backlight and/or transistor. Some LCDs have a suitable ...