I had attempted to interface DS2401 with P89V51RD2 but on serial number read operation DS2401 responding correctly to reset pulse, but giving 0xFF for all eight bytes of serial number information
My program sequence is as.
1) Reset pulse of 490 microsecond.
2) After correct response to reset pulse by DS2401 delay of 500 microsecond.