I was trying to upload a hex file to my attiny85 with an arduino,and I came across this:
avrdude -c avrisp (followed by other codes and the flash address )
This doesn't work and it gave one of the most famous arduino errors : stk500_getsync() : not in sync: resp=0x00
Then I tried
avrdude -c arduino
And the code was successfully downloaded, but the chip itself doesn't work as intended. So this is the question, what does the -c [programmer id] actually do, for example in this case, does it download the hex file to my arduino?
Thanks in advance.