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

Lincoln raw Example

From Manuals

(Difference between revisions)
Jump to: navigation, search
(Compatibility Lincoln 60E)
Line 15: Line 15:
*  5. Connect the two boards together using a CAT5 cable.
*  5. Connect the two boards together using a CAT5 cable.
*  6. Connect COM1 on the two Lincoln boards to COM ports on the computer.
*  6. Connect COM1 on the two Lincoln boards to COM ports on the computer.
-
*  7. Configure hardware and serial display as above instruction.  
+
*  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.
*  8. Hit reset button on two boards.
*  9. Wait for EMAC initilization completes on two board.
*  9. Wait for EMAC initilization completes on two board.

Revision as of 16:00, 10 April 2012

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.
  • 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.