it is possible to download program in P89V51rd2 which is written in AT89C51 by using keil-uv3 software . and if i write program in P89V51rd2 then i found one error " P0 is undefined identifier " so which header file is required to include in keil software.
when i download program in P89V51rd2 using flash magic then one pop up menu come " reset device in isp mode " and when i reset my device then nothing is happen and my program cant be download so what is the problem behind this so pls help me immediately
is it required to write program by selecting P89V51rd2 in keil-uv3 software or we can write similar program by selecting AT89C51
Before you use the code, please confirm the configurations for AT89c51 and P89v51rd2 are compatible or not. Probably it should be compatible. But for hands on experience please go ahead by urself.
Then you have to have #include <P89V51Rx2.H> instead of #include <regx51.H>