The board is Arduino Nano V3.0 328ATmega, using win7 system, and IDE version 1.6.4. When nano connecting to the computer, it said "driver installed successfully", and I found A new USB Serial Port in the devices manager, COM10. Before uploading, I selected board:nano; processor: ATmega328; com10; programmer:AVRISP mkII(default).
But uploading always fails.
P.S Thanks for @CrossRoads, after reloading the bootloader, this problem is solved. But I got another problem:
"avrdude: stk500_getsync(): not in sync: resp=0x00"
The RX LED flashes only three times at the beginning of uploading, then goes out while the uploading process is still continuing.
The original problem:
When uploading fails , it says:
Arduino:1.6.4 (Windows 7), Board:"Arduino Duemilanove or Diecimila, ATmega328"
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03