I am new to the Arduino world. Find a strange problem when I try to upload thumbnails in the Arduino IDE. This gives me the following error:
avrdude: initialization failed, rc=-1 Double check connections and try again, or use -F to override this check. avrdude: stk500v2_command(): unknown status 0x01 avrdude: stk500v2_disable(): failed to leave programming mode
I get this error in both Duemilanove and Mega 2560.
However, when I record the bootloader with the help of a programmer, and then try to load a sketch, it works for the first time. If I try to download the same sketch again, it throws the error mentioned above.
source share