2008-01-21 06:12 AM
2011-05-17 12:49 AM
For the str9 comstick, does anyone know how to get the data that is sent to the ethernet port.
It is to read from Pin 0.2 to 0.5 which is the MII_RXD0, PHY Rx data? Thank you for any replies. Lazycat. [ This message was edited by: lazycat1049 on 09-01-2008 10:39 ]2011-05-17 12:49 AM
Hi Lazycat
The RXD lines of the MII interface are used by the Ethernet controller to receive the data from the external PHY device. The MII interface must be configured to operate in this mode and the interneal Ethernet controller must be configured to automatically receive the data and save it to internal RAM. To do this its buffer descriptors must be correctly programmed. The SW doesn't use the MII data interface except for the serial lines to configure the PHY and read its status. Regards Mark www.uTasker.com2011-05-17 12:49 AM
Hi Mjbc,
Thanx for ur help!! So i get the data from the address in the buffer descriptor rite ? Thanx alot Regards lazycat2011-05-17 12:49 AM
Hi
Yes, this is correct, but it is up to you to first configure the Ethernet controller to correctly use the buffer descriptors. Regards Mark PS. Check out the following page for some demo code for the STR91 - with FTP, Web Server, HTTP etc. There is one for the ST STR91 dongle, which may run also on the COM stick(?). There is also a demo inline at For more details visit2011-05-17 12:49 AM
Hi mjbc,
Thanks alot Regards, Lazycat2011-05-17 12:49 AM
Hi ,
i am using a winsock application to send a short data like ''cc'' to the uip web server. But i cannot find the data in the buffer. it only acknowlege the connection. Could i know what may be the problem? Thanks lazycat