User Tools

Site Tools


products:w7500:documents:appnote:keil_exam

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:w7500:documents:appnote:keil_exam [2015/04/28 16:34]
hjjeon0608
products:w7500:documents:appnote:keil_exam [2015/05/04 21:12] (current)
jameskim
Line 1: Line 1:
 <​markdown>​ <​markdown>​
-#How to use Peripheral example with Keil project+#How to use MDK for W7500 Peripherals Examples
  
 +******************************************************************************
 +(C) COPYRIGHT 2015 WIZnet
 +
 +  * author ​ : IOP Team
 +  * version : V1.0.0
 +  * date    : 1-May-2015
 +  * brief   : Description of How to use W7500 Peripheral example with Keil project.
 +
 +******************************************************************************
 ##​Introduction ##​Introduction
  
-This application note guides user to use peripheral ​example ​with Keil uVision compiler. ​The peripheral of TCP/IP core Offload Engine(TOE) ​is used.+This application note guides user to use W7500 peripheral ​examples ​with Keil uVision compiler. ​Here we use TCP/IP core Offload Engine(TOE) ​among W7500 peripherals and loopback test example as sample.
  
-This document ​use Keil uVision MDK-Lite version:​5.14.0.0 and WIZwiki-W7500 platform.+This document ​is based on Keil uVision MDK-Lite version:​5.14.0.0 ​compiler ​and WIZwiki-W7500 platform ​as hardware.
  
 ##Download W7500 library and example ##Download W7500 library and example
Line 15: Line 24:
 ##Directory structure ##Directory structure
  
-The W7500 provides ​the CMSIS, driver and peripheral example. ​+The extracted files consist of the CMSIS, driver and peripheral example. ​
 The W7500 standard peripheral library provides a rich set of examples covering the main features of each peripheral. ​ The W7500 standard peripheral library provides a rich set of examples covering the main features of each peripheral. ​
  
Line 22: Line 31:
 ##Example of WZTOE directory ##Example of WZTOE directory
  
-In WZTOE folder, directory structure is like as follows.+In WZTOE folder, directory structure is as follows.
  
 ![](http://​wizwiki.net/​wiki/​lib/​exe/​fetch.php?​media=products:​w7500:​documents:​appnote:​directory3.jpg) ![](http://​wizwiki.net/​wiki/​lib/​exe/​fetch.php?​media=products:​w7500:​documents:​appnote:​directory3.jpg)
Line 28: Line 37:
 DHCPClient, DNSClient and LoopbackTest are example project and ioLibrary contains library of socket APIs, DHCP APIs, DNS APIs and etc. DHCPClient, DNSClient and LoopbackTest are example project and ioLibrary contains library of socket APIs, DHCP APIs, DNS APIs and etc.
  
-In LoopbackTest folder, directory structure is like as follows.+In LoopbackTest folder, directory structure is as follows.
  
 ![](http://​wizwiki.net/​wiki/​lib/​exe/​fetch.php?​media=products:​w7500:​documents:​appnote:​directory2.jpg) ![](http://​wizwiki.net/​wiki/​lib/​exe/​fetch.php?​media=products:​w7500:​documents:​appnote:​directory2.jpg)
Line 39: Line 48:
 If you want to enable/​disable peripheral header file, uncomment/​comment the line. If you want to enable/​disable peripheral header file, uncomment/​comment the line.
  
-The **W7500x_it.c** file contains interrupt ​handler functions ​for own project.+The **W7500x_it.c** file contains interrupt ​handlers ​for the project.
  
 The **readme.md** file contains the example description,​ hardware and software environment and description of how to use. The **readme.md** file contains the example description,​ hardware and software environment and description of how to use.
Line 47: Line 56:
 ##Open Keil project ​ ##Open Keil project ​
  
-In MDK directory ​has one file: Keil project file. Double click the file. Then Keil uVision will be opened.+In MDK directory ​is here a file: Keil project file. Double click the file, then Keil uVision will be opened.
  
 ![](http://​wizwiki.net/​wiki/​lib/​exe/​fetch.php?​media=products:​w7500:​documents:​appnote:​project_explorer.jpg) ![](http://​wizwiki.net/​wiki/​lib/​exe/​fetch.php?​media=products:​w7500:​documents:​appnote:​project_explorer.jpg)
  
-You can see upper image at left side on your uVision. In **W7500x_Periph** group contains ​peripheral drivers ​using this project.+You can see upper image at left side on your uVision. In **W7500x_Periph** group are peripheral drivers ​which are used for this project.
 The **User** group contains main function. The **User** group contains main function.
  
Line 62: Line 71:
 ##Download code ##Download code
  
-WIZwiki-W7500 board supports CMSIS-DAP, so you can drag & drop the code file to download.+WIZwiki-W7500 board supports CMSIS-DAP, so you can just drag & drop the code file to download ​into '​mbed'​ directory on your system.
  
 ![](http://​wizwiki.net/​wiki/​lib/​exe/​fetch.php?​media=products:​w7500:​documents:​appnote:​draganddrop.jpg) ![](http://​wizwiki.net/​wiki/​lib/​exe/​fetch.php?​media=products:​w7500:​documents:​appnote:​draganddrop.jpg)
  
-##Connect to WIZwiki-W7500 and loopback test+##Connect to WIZwiki-W7500 and do the loopback test
  
 Now, WIZwiki-W7500 is running TCP server: IP - 192.168.77.9,​ PORT - 5000. Now, WIZwiki-W7500 is running TCP server: IP - 192.168.77.9,​ PORT - 5000.
-Type IP address and Port number(This application note use TCP client program ​as Hercules). And then click '​Connect'​ button.+Type IP address and Port number(This application note use Hercules as TCP client program). And then click '​Connect'​ button.
  
 ![](http://​wizwiki.net/​wiki/​lib/​exe/​fetch.php?​media=products:​w7500:​documents:​appnote:​tcp_client1.jpg) ![](http://​wizwiki.net/​wiki/​lib/​exe/​fetch.php?​media=products:​w7500:​documents:​appnote:​tcp_client1.jpg)
  
-After connection, send some string and you can see return string ​same as you send.+After connection, send some string and you can see the same as you sent.
  
 ![](http://​wizwiki.net/​wiki/​lib/​exe/​fetch.php?​media=products:​w7500:​documents:​appnote:​tcp_client2.jpg) ![](http://​wizwiki.net/​wiki/​lib/​exe/​fetch.php?​media=products:​w7500:​documents:​appnote:​tcp_client2.jpg)
  
 </​markdown>​ </​markdown>​
products/w7500/documents/appnote/keil_exam.1430206453.txt.gz ยท Last modified: 2015/04/28 16:34 by hjjeon0608