Re: AT89S52 programming
As I could understand from the post and the link provided, the issue is related to connecting the programmer to the microcontroller. From the data sheet or pin diagram of (44 pin TQFP package) locate the four pins shown in Figure attached (RESET, MOSEI, CLOCK and MISO) remaining two pins are 5V and GND. All these pins can be located on the package used.
The connector to the target labels these pins as P1, P2 . . . P6. If the correct lines are connected to the corresponding pins on the (44 pin TQFP package) it should resolve the problem.