thanks to all of you, you just made my day.

and specially for the "You should probably update your firmware..." from @mrehorstdmd

I was already on 3.2.2 firmware version but in the RepRapFirmware Configuration Tool i have selected 1.21 ... what a noob mistake ^^

@alankilian yes, when i saw your endstop definition, i realisez they were something wrong with mine.

@Phaedrux I have already did this trick but thanks for the tips anyway.

@fcwilt Hi, i don't know where you see me talking about this piece of code :

M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop M574 Z2 S1 P"zstop"

But now it works ! Thanks all of you.