How to make two arduinos (arduino mini and mega 2560)communicate each other

You WILL have to disconnect the two Arduinos in order to upload code.