SEARCH
TOOLBOX
LANGUAGES
modified on 11 April 2012 at 15:09 ••• 28,612 views

Lincoln raw Example

From Manuals

Revision as of 15:09, 11 April 2012 by Support (Talk | contribs)
Jump to: navigation, search

Compatibility Lincoln 60E

This example application demonstrates how to test EMAC driver with raw packet frame format that is not related with any upper-layer (i.e. TCP/IP...). In order to run this example you will need the following equipment:

  • 1. Two Lincoln 60Es
  • 2. Two COM ports on a computer
  • 3. One Cat5 cable

Please follow these steps to run the RAW example:

  • 1. Setting flag (in emactest.c): TX_ONLY = 1, BOUNCE_RX = 0
  • 2. Build example and burn into first board.
  • 3. Setting flag: TX_ONLY = 0, BOUNCE_RX = 1
  • 4. Build example and burn into second board.
  • 5. Connect the two boards together using a CAT5 cable from Ethernet jack to Ethernet jack.
  • 6. Connect COM1 on the two Lincoln boards to COM ports on the computer.
  • 7. Open a terminal window for each board set to 115200, 8 data bits, no parity, 1 stop bit, and no hardware handshaking.
  • 8. Hit reset button on two boards.
  • 9. Wait for EMAC initilization completes on two board.
  • 10. If ENABLE_WOL is enabled on board 'BOUNCE_RX' side, after initializing EMAC, it will enter sleep mode to be waked-up on LAN (WoL).
  • 11. On 'TX_ONLY' side, hit User button to send a frame.
  • 12. After receiving frame, 'BOUNCE_RX' side will wake-up and operate properly.

The following screen shots are of the RAW example in action.