I have found it ADVANCED_PAUSE_FEATURE is blocking my code.
But I rally do not know why it enters in this function it is I did not find where ADVANCED_PAUSE_FEATURE is defined
Anyway I have just commented it and I can now connect with Repetier and it seams all is working.
Now only one problem remains M100 has ULN2003 on Z axis.
I will probably test if everything is working with new motor drivers, and if it will work make a board that have bluepill and all four dirver placeholders.
Anything not related to STM32