[realtek] Help:Problem encounter while developing driver for the Rea tek 8139(B)

Rajesh rajesh.v at accord-soft.com
Tue Nov 14 22:07:47 PST 2006


Hello,

I have developed a device driver for RTL8139(C) LAN card on DOS system. 
I have few problems using the driver.

*How this Driver is tested?*

I had a REMOTE PC (Windows 2000) in which I was running the TCP Server 
application, which could respond to any client connection. The driver, 
which I developed on DOS system hereafter called as TEST PC, was one of 
the client side, which request for the connection with the server.

*Polling* method is used for reception / transmission of data.

 

The following steps are performed for the data transfer between the TEST 
PC and the REMOTE PC.

1)      Address has to be resolved between the TEST PC and REMOTE PC 
before any data transfer takes place.

To do this,

·        ARP (Address Resolution Protocol) Request is sent from the TEST 
PC to the REMOTE PC. TEST PC activates Transmit interrupt flag when the 
data is successfully sent out to the line.

·        On receiving the ARP Request, the REMOTE PC sends the ARP 
Response to the TEST PC. TEST PC activates Receive Interrupt flag on 
successfully reception of the data. Address resolution on the REMOTE PC 
could be checked with the *arp --a* command from the command prompt.

2)      Data is sent/ received between the TEST PC and REMOTE PC.

* *

* *

*What is the problem encountered?*

TEST PC initially seems to be communicating with the REMOTE PC without 
any problems.

But, later when I updated the code making few changes, the communication 
between the TEST PC and REMOTE PC was not happening. The addition of the 
code does not affect the functionality of the driver.

The following observation was made:

·        TEST PC while sending ARP Request activates Transmit interrupt 
flag.

·        Address is not resolved on the REMOTE PC. This is checked with 
the arp --a command.

·        TEST PC do not activates Receive Interrupt flag, which 
indicates no data from the REMOTE PC is received.

The same setup was also tried with the point-to-point connection between 
the two systems using cross cable.

 

Thank you and regards,
Rajesh.V

##############################################################################################################################################
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination, copying or other use of, or taking any action in reliance upon, this information by
persons or entities other than the intended recipient is prohibited. If you have received this in error, please contact the sender and delete
the material from your system. Accord Software & Systems Pvt. Ltd. (ACCORD) is not responsible for any changes made to the material other
than those made by ACCORD or for the effect of the changes on the meaning of the material.
##############################################################################################################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scyld.com/pipermail/realtek/attachments/20061115/677c4939/attachment.html


More information about the realtek mailing list