I have been trying IAP mode of operation on an P89V51RD2FN using Keil and flash magic and found a program online but while simulating, the Program counter gets stuck on CALL 01FFh statement. Do I need to write some code on that location os is there some inbuilt code for IAP?
Don't try to simulate IAP - test it on real hardware.