standalone atmega 8

Thank you, it worked.Problem was same as what u were saying.
lose connection.
thanks for assistance.