Getting data sent from ethernet
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-01-21 6:12 AM
This discussion is locked. Please start a new topic to ask your question.
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:49 AM
Posted on May 17, 2011 at 09:49
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 ]Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:49 AM
Posted on May 17, 2011 at 09:49
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.comOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:49 AM
Posted on May 17, 2011 at 09:49
Hi Mjbc,
Thanx for ur help!! So i get the data from the address in the buffer descriptor rite ? Thanx alot Regards lazycatOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:49 AM
Posted on May 17, 2011 at 09:49
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 visitOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:49 AM
Posted on May 17, 2011 at 09:49
Hi mjbc,
Thanks alot Regards, LazycatOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:49 AM
Posted on May 17, 2011 at 09:49
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