Hi,
I am trying to program an atmega8L using Nick Gammon's sketches. The Atmega8L is part of a diy USBasp pcb from fischl.de.
For reference the usbasp circuit is as below

Now I have connected an arduino mega2560 as per Nick Gammon's website. The scheme of connections is as follows:
Mega2560 Target(Pin No. of Mega8L on USBasp)
D10 to Reset(Pin1)
D51 to MOSI(Pin17)
D50 to MISO(Pin18)
D52 to SCK (Pin19)(JP1-1: Jumper in place)
Gnd to Gnd (Pin8)
+5V to +5V (Pin7) (JP1-2: Jumper in place)
When I run the sketch the following is output on the serial monitor:
Atmega fuse calculator.
Written by Nick Gammon.
Version 1.11
Compiled on Apr 23 2017 at 12:00:55 with Arduino IDE 10612.
Attempting to enter programming mode ....
Entered programming mode OK.
Signature = 0x1E 0x93 0x07
Processor = ATmega8A
Flash memory size = 8192
LFuse = 0x00
HFuse = 0xD9
EFuse = 0x00
Lock byte = 0x00
Clock calibration = 0xA9
External Reset Disable.................. [ ]
Watchdog Timer Always On................ [ ]
Self Programming Enable................. [X]
Oscillator Options...................... [ ]
Preserve EEPROM through chip erase...... [ ]
Boot into bootloader.................... [ ]
Brown out detector level................ [X]
Brown out detector enable............... [X]
Bootloader size: 2048 bytes.
Start-up time: SUT0: [X] SUT1: [X] (see datasheet)
Clock source: external clock.
However I am unable to load the USbasp hexfile thru the mega2560.
Please help.
TIA
azhaque