This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

P89V51RD2

Hi

I am using 89V51RD2 developed by Philips. I use Keil C51 to program it and Flash magic to burn the program.

Everything works fine but when I use Port 2, it is not giving output as expected.

Only for

 P2=0xff

or

 P2=0x88

the port 2 is activated and for all other inputs such as

 P2=0x01

etc. no pin is pulled up. What could be wrong? Is my program wrong?

0