Lincoln raw Example
From Manuals
(Difference between revisions)
(Created page with '==Compatibility [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60E]== This example application demonstrates how to test EMAC driver with raw packet frame format …') |
(→Compatibility Lincoln 60E) |
||
| (6 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
==Compatibility [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60E]== | ==Compatibility [http://www.micromint.com/index.php/SBC/lincoln60.html Lincoln 60E]== | ||
| - | This example application demonstrates how to test EMAC driver with raw packet frame | + | This example application demonstrates how to test EMAC driver with raw packet frame formats sent from one Lincoln 60E to another Lincoln 60E. In order to run this example you will need the following equipment: |
* 1. Two Lincoln 60Es | * 1. Two Lincoln 60Es | ||
| Line 7: | Line 7: | ||
* 3. One Cat5 cable | * 3. One Cat5 cable | ||
| - | Please follow these steps to run the | + | Please follow these steps to run the RAW example: |
| - | * 1. | + | * 1. Setting flag (in emactest.c): TX_ONLY = 1, BOUNCE_RX = 0 |
| - | + | ||
| - | + | ||
* 2. Build example and burn into first board. | * 2. Build example and burn into first board. | ||
| - | * 3. Setting flag: | + | * 3. Setting flag: TX_ONLY = 0, BOUNCE_RX = 1 |
| - | + | ||
| - | + | ||
* 4. Build example and burn into second board. | * 4. Build example and burn into second board. | ||
| - | * 5. Connect the two boards together using a CAT5 cable. | + | * 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. | * 6. Connect COM1 on the two Lincoln boards to COM ports on the computer. | ||
| - | * 7. | + | * 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. | ||
Current revision as of 15:11, 11 April 2012
Compatibility Lincoln 60E
This example application demonstrates how to test EMAC driver with raw packet frame formats sent from one Lincoln 60E to another Lincoln 60E. 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.


