I'm planning to develop an small application involving several Arduinos and other hardware in a RS-485 network. While speaking with my office colleague, I realised that there is a chance to enter into bootloader mode during start-up (also power-up or any sort of reset) if receiving the right message.
What do you recommend me to avoid this unwished situation?
I haven't found anything appart from the Bootloader spec.
It is possible to compile a sketch in the Arduino IDE and then burn the resulting Intel Hex file into a target Arduino board using a hardware programmer. Not only do you eliminate the bootloader you gain the extra memory size that the bootloader would have taken.
Specific steps to perform this might vary with programmer type used and Arduino IDE version used, but here is a link that talks about it.
I recommend the TinyUSB programmer, it is supported by the Arduino IDE and works great for me so far: