Arduino - Unable to record thumbnails

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.

+4
source share
3 answers

I managed to solve the problem by changing the settings of the fuses. After I changed the settings of the fuses, I can now record the thumbnails as many times as I like.

0
source

I would try reinstalling the arduino IDE as it could be corrupted or outdated. Check if you have the right model and serial port selected in the menu. Also go to the arduino website ( arduino.cc ), and there should be a link for contacts.

Hope this helps.

0
source

I remember I had this problem. Therefore, basically this suggests that the Arduino is not connected (although it can physically be connected). Basically, make sure your computer sees Arduino, so make sure your COM port detects that Arduino and drivers are installed correctly. For me, it was connected to a USB port, but first it went through a USB hub (so basically Arduino → USB hub → computer). The way I decided this was to connect the Arduino directly to the computer so that it entered Arduino → Computer.

0
source

Source: https://habr.com/ru/post/1413776/


All Articles