I am using command line programming. I have three new STK500 boards that are giving me the same error. I have an older STK 500 board that is working flawlessly. These STK500 boards are used for production programming.
With the failing boards I get this error when I use the following command: stk500 -dATmega168 -s
the error goes like this.
STK500 command line programmer, v 2.2 Atmel Corp (C) 2004-2005.
COM1 ... Port busy or STK500 not connected
COM2 ... Port busy or STK500 not connected
COM3 ... Port busy or STK500 not connected
COM4 ... Port busy or STK500 not connected
COM5 ... Connected to STK500 V2 on port COM5
Device parameters loaded
Could not enter programming mode
Programming mode left
Connection to STK500 V2 closed
WARNING! One or more operations failed! Please examine the output log above!
Any suggestions as to what it might be?
Thanks in advance.