Arduino MEGA problem when downloading program to MCU

Hi,

please, i need some help,
i have a MEGA 2560, i made my program, compilation finished, and then downloading.
It starts download, for few seconds, RX/TX flashing, and then RX/TX stops flashing. IDE says downloading..., i wait for more than 10 minutes, program didn't go in MEGA MCU.

I tried on 3 differents MEGA boards, always the same problem, i tried sending a basic program, the MEGA Boards work perfectly.

Please, anybody knows what could append ?

Thanks for help

(Code in attached fil because too big for forum edition)

prog_arduino_forum.ino (13 KB)

  Serial.println ("Activation fin de course X !!!");

Three ! in a row causes the bootloader to enter debug mode. Why do you want to do that? Why do you not then send debug commands?

fell into that trap myself a few weeks back..

I raised a bug report.

I don't even know where the debug mode commands are documented, nor have I ever heard of anyone using them…