We are designed custom board using atmega2560. Initial bootloading and program upload is successfully done (using uno for bootloading and upload removing the main IC atmega328p) . The board works fine with boatloader USB port connected to PC and supply is given to atmega2560 using bootloader 5V and ground.
Problem arises when I power the board with external power supply (230V AC to 5V DC ).
Custom PCB RX --> RX ( UNO boatloader)
Custom PCB TX ---> TX ( UNO boatloader)
In this case is not supplied with any power in bootloader uno just connected.
Initially I connected tx and rx with bootloader uno its work and after I remove Rx & Tx pins its work fine.
in this case we can't see any serial monitor because its work with external power supply. i tried blink also its won't work and again i connected with non power uno(removed atmega328p) Tx&RX pins it will work. In this case here Intially hardware wants something to pull the data. please help me guys
It sounds like some sort of phantom powering is involved or the board has other dependencies on the connected Uno, for example the reset connection. Maybe measure the resistance between the Mega reset pin and Vcc when the Uno is completely disconnected. 10k is normal.