@Yveaux i try your advice to add pull up resistor in my code and it works immediately!!!!!! THANK YOU VERY MUCH !!!!!! i will never find the solution without your help. @MasMat @mfalkvidd thank you too i keep in mind th flowvhart and resistors on the ethernet connector for next issues......