Burning HEX CODE or the BOOTLOADER don't work

Hi,

i have used the Chinese Arduino mega with CH340g schematics to create a Arduino mega as a custom one to complete my motor controller,

First i connected the parts ( locally sourced ) and tested the POC, and then decided to put all them together and draw one PCB, Hence i used the schematics of the Chinese mega2560 boards and motor controller drawings and soldered them once later.

Now first step i wanted to burn the bootloader and i used my uno and the "Arduino as ISP" method to burn the bootloader and that did not work, i get either 0x000000 or 0xffffff.

then i tried to burn a blink code using the final hex code over the ISP and that also did not work,

can someone help me to figure out this,

  1. when burning the bootloader am i supposed to keep all other pins not connected ??

for reference i have here attached the reference schematics i used to draw the my board

Your schematic does not include part numbers or component values and ratings.

Could also be a layout issue, you need to post the layout.