User Tools

Site Tools


products:w5500:w5500_evb:getting_started

Getting Started

Hello World

If you've just purchased W5500 EVB, let the following points for the checking board operation at the first time.

Connect your board to a PC using USB and connect LAN cable.

Don't forget : LAN cable should be connected to the board
The W5500 EVB Need to be LAN cable connected because default demo firmware check the PHY link status periodically. If the LAN cable is not connected, the board does not operate and RGB LED is not blinking.

1. RGB LED blinky

If the board operate normal at the first time, On board RGB LED is blinking forever. The red, green and blue LEDs are blink alternated.

2. On/Off the RGB LED blinky

The RGB LED status will be changed if the button1 (SW1) pressed (LED Blinky On/Off). In this case, the board outputs 'On' or 'Off' message via serial debug port.

3. Serial Debug message print out

The board outputs serial “debug” message via USB port (virtual COM Port). This will give you info about network configuration and loopback socket.
Check the the virtual COM port number in your systems properties.
Please connect with any terminal to that serial port with 115200.8.N.1.

4. Loopback test

The following is the loopback test procedure of the 'Tinygecko' board + W5500 chip. (Network configuration information can vary among different firmware.)
Please progress the test in accordance with the following procedure.

If you need detailed figures, please refer to the next link.
TCP and UDP loopback test

The loopback example runs with a TCP session and a UDP session.

First, Board and your PC should have the network config with the same network range.
If you want to modify board-side, edit the following code in [src»LB_main.c] with the same range which your PC has. If you want to modify your PC-side, refer to IP configuration.

LB_main.c
wiz_NetInfo gWIZNETINFO = { .mac = {0x00, 0x08, 0xdc,0x00, 0xab, 0xcd}, //<-mac should be unique.
                            .ip = {192, 168, 1, 123},
                            .sn = {255,255,255,0},
                            .gw = {192, 168, 1, 1},
                            .dns = {0,0,0,0},
                            .dhcp = NETINFO_STATIC };
TCP
  1. Connect to Board
  2. When connected
    • send data to board
    • check whether the loopback data is same to what it sent before.
  3. When failed to connect
    • Check link status.
    • Check ping test
    • Check network config.
    • Check the security program as virus vaccines and fire-wall on your PC.
UDP
  1. Send data
  2. When success
    • check to the loopback data
  3. When fail
    • Check link status.
    • Check ping test
    • Check network config.
    • Check the security program as virus vaccines and fire-wall on your PC.

Firmware

W5500 EVB firmware project based on LPCXpresso IDE. For more details about LPCXpresso IDE, please refer to NXP LPCXpresso platform page.

LPCXpresso IDE Install & Activation Guide
How to Install and Activate LPCXpresso IDE

Download the Libraries and Application example source code for W5500-EVB
https://github.com/Wiznet/W5500_EVB

Firmware components

The provided firmware is consist of components as follows.

NXP MCU Library (The required component of new projects)

WIZnet W5500 EVB Libraries (The required components of new projects)

  • wiznet_evb_w5500evb_board (WIZnet W5500 EVB board library)
  • ioLibrary (WIZnet W5500 EVB ethernet library and protocols)

Application demo projects

  • Basic demos (LED blinky and loopback test)
  • DHCP client
  • DNS client
  • On-board Temperature sensor
  • On-board Potentiometer

Drivers / Application Projects for W5500-EVB

2015/02/03 20:47 · Joachim Wuelbeck

Downloading a new program

Flash programming via UART

1. W5500 EVB enter the ISP mode

Press the 'ISP' push button switch on board until turn on the board after reset or power supply.

2. Run the Flash Magic tool

Flash Magic is a program to perform in-system programming (ISP) of the LPC flash via its UART.
'Flash Magic' download page

3. Tool settings

Set the settings on main window of Flash Magic program. It is easy to set along with each step.
The figure below shows the default configuration for W5500 EVB.

4. Flash programming start

Press the 'Start' button on main window of Flash Magic program.

5. Run the new program

After flash programming and board reset, The MCU is now running the program;


products/w5500/w5500_evb/getting_started.txt · Last modified: 2015/03/16 10:33 (external edit)