SEARCH
TOOLBOX
LANGUAGES
modified on 20 June 2010 at 01:09 ••• 17,114 views

Eagle enet ptpd Example

From Manuals

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
-
__TOC__
 
=Ethernet with PTP (enet_ptpd)=
=Ethernet with PTP (enet_ptpd)=
-
==Compatibility [http://www.micromint.com/index.php/SBC/eagle-50.html 50E], [http://www.micromint.com/index.php/SBC/eagle-100.html 100]==
+
==Compatibility [http://www.micromint.com/index.php/SBC/eagle-50.html Eagle 50E], [http://www.micromint.com/index.php/SBC/eagle-100.html 100]==
This example application demonstrates the operation of the Stellaris Ethernet controller using the lwIP TCP/IP Stack. DHCP is used to obtain an Ethernet address. If DHCP times out without obtaining an address, AUTOIP will be used to obtain a link-local address. The address that is selected will be shown on the OLED display.
This example application demonstrates the operation of the Stellaris Ethernet controller using the lwIP TCP/IP Stack. DHCP is used to obtain an Ethernet address. If DHCP times out without obtaining an address, AUTOIP will be used to obtain a link-local address. The address that is selected will be shown on the OLED display.

Current revision as of 01:09, 20 June 2010

Ethernet with PTP (enet_ptpd)

Compatibility Eagle 50E, 100

This example application demonstrates the operation of the Stellaris Ethernet controller using the lwIP TCP/IP Stack. DHCP is used to obtain an Ethernet address. If DHCP times out without obtaining an address, AUTOIP will be used to obtain a link-local address. The address that is selected will be shown on the OLED display.


A default set of pages will be served up by an internal file system and the httpd server.


The IEEE 1588 (PTP) software has been enabled in this code to synchronize the internal clock to a network master clock source.


Two methods of receive packet timestamping are implemented. The default mode uses the Stellaris hardware timestamp mechanism to capture Ethernet packet reception time using timer 3B. On parts which do not support hardware timestamping or if the application is started up with the “Select” button pressed, software time stamping is used.


References:

For additional details on lwIP, refer to the lwIP web page at:

http://savannah.nongnu.org/projects/lwip/


For additional details on the PTPd software, refer to the PTPd web page at:

http://ptpd.sourceforge.net