## Information Center for ARM

## Example description

     EMAC

      For the EMAC test, there are two ways to test:
      TX_ONLY and BOUNCE_RX flags can be set one at a time, not both.
      When TX_ONLY is set to 1, it's a TX_ONLY packet from the IAR LPC-x2378-SK
     board to the LAN. Use the traffic analyzer such as ethereal, once
     the program is running, the packets can be monitored on the traffic
     analyzer.
      When BOUNCE_RX is set to 1 (TX_ONLY needs to reset to 0), it's a
     test to test both TX and RX, use the traffic generator/analyzer,
     you can creat a packet with the destination address as that on the
      IAR LPC-x2378-SK board, use the traffic generator to send packets,
     as long as the destination address matches, IAR LPC-x2378-SK will
     reverse the source and destination address and send the packets back
     on the network.
      ENABLE_WOL flag is used to test power down and WOL functionalty.
      BOUNCE_RX flag needs to be set to 1 when WOL is being tested.

    Note:
     After power-up the controller get clock from internal RC oscillator that
     is unstable and may fail with J-Link auto detect, therefore adaptive clocking
     should always be used. The adaptive clock can be select from menu:
     Project->Options..., section Debugger->J-Link/J-Trace  JTAG Speed - Adaptive.