Bootloader to nano(Atmega328p-AU) using Mega 2560

Hi,

Im trying to burn bootloader on Nano board(Atmega328p-AU) using Mega2560. Im getting these errors :

<
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xe0

avrdude done. Thank you.

Error while burning bootloader.

Please tell how i can resolve these.

That's not a normal output when trying to burn a bootloader. Can you give more details how you try to do it?

Hi Septillion,

Here steps are ther which i followed:
First dump code on mega board then connect with nano board using SPI connections. After that tool>board>arduino nano
processor>atmega328p
then burn bootloader.

these steps I followed.
Are these right steps?

Looks roughly correct. I miss setting the correct programmer and connecting power and reset.