This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ethernet_how_to [2011/01/28 10:16] – [Project settings] ba | ethernet_how_to [2011/02/23 15:25] – ba | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ethernet How To ====== | ====== Ethernet How To ====== | ||
+ | **We recommend to use UDP instead of TCP** if possible. See [[udp_vs_tcp_ip|TCP vs UDP]].\\ | ||
===== Project settings ===== | ===== Project settings ===== | ||
**dynamic configuration** \\ | **dynamic configuration** \\ | ||
Line 6: | Line 7: | ||
The section //Set IP address programmatically// | The section //Set IP address programmatically// | ||
**fix configuration** \\ | **fix configuration** \\ | ||
- | If you set any other IP address or enable [[wp> | + | If you set any other IP address or enable [[wp> |
You will get the error **Failed to open the lan-device** in the VisualDSP++ console output if you use programmatic IP configuration with fix configuration.\\ | You will get the error **Failed to open the lan-device** in the VisualDSP++ console output if you use programmatic IP configuration with fix configuration.\\ | ||
Line 13: | Line 14: | ||
{{: | {{: | ||
In version 3.2.1 a [[MAC address workaround|workaround]] is needed to enable a correct setting of the MAC address. | In version 3.2.1 a [[MAC address workaround|workaround]] is needed to enable a correct setting of the MAC address. | ||
- | ===== UDP example | + | ===== Protocolls |
- | A UDP master slave connection can be implemented as shown in the two snippets below:\\ | + | |
- | + | | |
- | Slave communications loop. (can run on the PC or on a a Zsystem hardware platform.)\\ | + | |
- | {{: | + | |
- | + | ||
- | Master loop. (Can run on a PC.)\\ | + | |
- | {{: | + | |