Here is a picture that explains everything about how to program the ATMEGA64 repair chip in XPROG with UPA-USB programmer.
Finally, I publish the final version of XPROG schematic diagram rev. B. Fixed some bugs and added marking elements, as well as on the original PCB to XPROG-BOX from ELDB.
Download XPROG schematic diagram on Mega for details:
(Big thanks to the contributor @ Holtek from http://www.digital-kaos.co.uk/…XPROG-m-Schematic-diagram-and-documentation/)