I want to test my own Arduino code on OpenROV. The arduino I have does not contain any usb input. So I am using an external ISP programmer (Pololu usb avr programmer driver). I selected Arduino Mega 2560 in Board selection menu and tried with both of AVRISP and AVRISP mkII programmer selection. However I am not able to program it and got this following error:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
Any help will be appreciated.