Go Down

Topic: arduino lilypad uploading trouble (Read 584 times) previous topic - next topic

Jeffin

Arduino Lilypad ( Windows 10 )

unable to upload the code...the error message reads -
"avrdude: ser_open(): can't open device "\\.\COM1": The system cannot find the file specified."

i am using a USB to Serial converter.

Please help me solve the issue.

pert

Select the port of your USB to serial converter from the Tools > Port menu. If that menu is grayed out or the port of your USB to serial converter is not shown then one of the following may be the cause:
  • You may need to install the driver for the USB-serial chip. From the picture it looks like it's a CP2102.
  • You may be using a charge-only or defective USB cable. Test your cable on another device to confirm that it works for data.
  • Using a USB 3.0 port on your computer may cause problems. Try a USB 2.0 port.

Jeffin

I installed the drivers for CP2102. Used USB port 2.0
The wires used are jumper wires female to female.
Still it shows the same error.
If you try uploading without connecting the CP2102 to the PC, the error comes same.

Please help.

pert

You need to select the correct port from the Arduino IDE's Tools > Port menu. That port should appear a little while after you plug in the CP2102 to your computer and disappear a little while after you unplug it. It would be very rare that it's COM1.

Jeffin

The port option was always grayed.
I removed connection from 3v3 pin of CP2102 to Arduino Lilipad. The Device Manager showed connection on COM3. The port option became available and COM3 was selected. Now when i compiled and uploaded,i got the following error....

Arduino: 1.8.5 (Windows 10), Board: "LilyPad Arduino, ATmega168"

Sketch uses 1046 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x60
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Go Up