error: avrdude: stk500_getsync(): not in sync: resp=0x00


I have tried to upload sketches on my Arduino Due many times, but this error appears. I think that the problem must be because in the option "Tools>Boards" is selected "Arduino Mega (ATmega1280)" but I haven´t found "Arduino Due" on that list, and I don´t know why it isn´t on it.

You have double posted your question, can you delete this double thread?
already answered the other one.

thank you