SEARCH
TOOLBOX
LANGUAGES
modified on 10 April 2012 at 15:54 ••• 28,616 views

Lincoln raw Example

From Manuals

Revision as of 15:54, 10 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 CAN 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.
  • 6. Connect COM1 on the two Lincoln boards to COM ports on the computer.
  • 7. Configure hardware and serial display as above instruction.
  • 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.