Burn bootloader from arduino uno to leonardo

Hi,

After burning software on arduino leonardo the kit was stuck.
Since then the computer not recognize the my kit - arduino leonardo.
I have another kit arduino uno and i have tried to burn bootloader from uno to leonardo.
The first step i burned on uno kit ArduinoISP program and its pass with no error.
Secend step - i connected the wire from arduino uno to leonardo.
After that i changed the setting board from uno to leonardo and programmer from AVRISP mkll to arduino as ISP and tried to burn bootloader.
I got error:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03
I have IDE version1.7.10
Please support
Thx

You need to disable autoreset on the Uno after uploading the arduino as ISP sketch, otherwise when it opens the serial connection to talk to arduino as ISP, it'll reset the board and the bootloader will run, so now the IDE is talking to the bootloader on the Uno instead of Arduino as ISP.

Put a 10uf capacitor (or really anything over 1uF) between reset and ground on Uno after uploading arduino as ISP. Remove it before uploading another sketch to the Uno afterwards.

You are using IDE version 1.7.x - that is from the Arduino.org people. We don't use that version, and the two versions have diverged significantly since Arduino.org went rogue (when they split from the real arduino, they bumped the version number of their fork of the IDE to make people think it was newer or better). Use the official Arduino.cc IDE version - the latest one, 1.6.12, is great, get it from the download link above