목차

-. 개발 환경 구축

-. WIZwiki-W7500 소개

-. ARM mbed 소개

-. mbed OS5 포팅 실습

-. WIZnetInterface library 포팅 실습


개발 환경 구축

Python, Git, Mercurial, GCC, mbed-cli 설치

참조링크


WIZwiki-W7500 소개

Features

참조링크


참조링크


WIZnet W7500

ARM® Cortex™-M0 Core 48MHz
128KB Flash memory
16KB to 48 KB SRAM (Min 16KB available if 32KB socket buffer is used, Max 48KB available if no socket buffer is used)
Hardwired TCP/IP Core (8 Sockets, MII: Medium-Independent Interface)
12-bit, 8ch ADC
53 I/Os
1ch Watchdog, 4ch Timers and 8ch PWM
3ch UART
2ch SPI
2ch I2C

Arduino form-factor

Compatible with a wide range of commercially available shields

CMSIS-DAP interface firmware

Built-in USB drag 'n' drop FLASH programmer
USB Virtual COM port for serial terminal
CMSIS-DAP interface for programming and debugging from offline tools

mbed.org Developer Website

Online Compiler
High level C/C++ SDK
Active developer community

WIZwiki-W7500 USB Driver 설치

참조링크

참조자료

mbedWinSerial_16466.exe 

mbedWinSerial_16466.exe


설치방법

mbedWinSerial_16466.exe 실행 및 설치.
WIZwiki-W7500 보드를 PCUSB케이블로 연결.
장치관리자에서 COM Port 확인.

ARM mbed 소개

Introduction

참조링크


mbed OS5 포팅 실습

예제실습

mbed-os-example-blinky 프로젝트 실습

Github 소스 import
파일 추가 및 파일 수정
소스 컴파일
바이너리 Fusing
LED 점등 확인

Github 소스 import

파일 추가 및 파일 수정

added.zip
mbed-os-example-blinky\mbed-os\targets\TARGET_WIZNET\mbed_rtx.h

modified.zip
mbed-os-example-blinky\mbed-os\targets\targets.json
mbed-os-example-blinky\mbed-os\targets\TARGET_WIZNET\TARGET_W7500x\TARGET_WIZwiki_W7500\device\TOOLCHAIN_GCC_ARM\startup_W7500.S

mbed-os-example-blinky\main.cpp

modified.zip


소스 컴파일

바이너리 Fusing

LED 점등 확인


WIZnetInterface library 포팅 실습

예제실습

mbed-os-example-blinky 프로젝트 실습

WIZnetInterface library 추가
netsocket 디렉토리 삭제 및 파일 수정
소스 컴파일
바이너리 Fusing
Echo back 확인

WIZnetInterface library 추가

netsocket 디렉토리 삭제 및 파일 수정

mbed-os-example-blinky\mbed-os\features\netsocket

modified2.zip

mbed-os-example-blinky\main.cpp

modified2.zip


소스 컴파일

바이너리 Fusing

Echo Back 확인

신고

TFTP Example on WIZwiki-W7500 platform

Recently WIZwiki-W7500 platform was announced by WIZnet. So I implemented a firmware of WIZwiki-W7500 by using TFTP
because I can handle a source code easily.
Please refer to the following step.

Step1 : Prepare materials

Please refer to the following.
1. WIZwiki-W7500 board. ( http://www.shopwiznet.com/wizwiki-7500 )
2. Mini USB cable
3. LAN cable

Step2 : Hardware connection

Please connect an USB cable and LAN cable.
You can get more HW info by the following site.
http://wizwiki.net/wiki/doku.php?id=products:wizwiki_w7500:start

Step3 : Prepare development environment
I prepared GCC development environment by the following site.
http://opensrclab.tistory.com/33
I installed GNU Toolchain, Java JDK, Eclipse, Cygwin.
If you install all tools, you are ready for running this project.
You can use a Configuration Tool by the following temporarily. http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:wiz550s2e:wiz550s2e_configuration_tool_ver1.03beta_20151005.zip
How to use a CFG tool : http://wizwiki.net/wiki/doku.php?id=products:wiz550s2e:wiz550s2epg_en#configuration_tool
## Reference
WIZwiki-W7500 library source : http://wizwiki.net/wiki/doku.php?id=products:w7500:library

Step4 : Software : GitHub repository
I opened source codes of this project in GitHub.
https://github.com/bingdo/TFTP_WIZwiki-W7500_Eclipse
You can download this project files. And then import project into Eclipse.
After compile, you can run TFTP application of WIZwiki-W7500.
This project is open for everyone. I expect your participation to improve a quality of project.

WIZ750TFTP(Boot App).bin

TFTPApp.bin

Step5 : How to run : Test result

1. To program FW into a target.
2. To reset a target and insert MAC address.
3. To search a target by Configuration Tool.
4. To check Host IP and Options.
5. To change IP, Gateway properly.
6. To search a target by Configuration Tool again.
7. To select "F/W Uploading".
8. To change Server IP, File Name properly.
9. To press OK.
10. Check a version of new FW through termainal program.
You can see the test result by the video.
Thank you for your attention.
*Tip : If you register in www.wiznetian.com and work actively, you can get a sample cheaper than E-sales as well as a free sample.

 

 

신고

Convert ioLibrary into BSD socket style on WIZwki-W7500 platform

 

Recently WIZwiki-W7500 platform was announced by WIZnet. So I implemented a firmware of WIZwiki-W7500 by using BSD socket API
because I can handle a source code easily. Please refer to the following step.

Step1 : Prepare materials

Please refer to the following.
1. WIZwiki-W7500 board. ( http://www.shopwiznet.com/wizwiki-7500 )
2. Mini USB cable
3. LAN cable

Step2 : Hardware connection

Please connect an USB cable and LAN cable.
You can get more HW info by the following site.
http://wizwiki.net/wiki/doku.php?id=products:wizwiki_w7500:start

Step3 : Prepare development environment
I prepared GCC development environment by the following site.
http://opensrclab.tistory.com/33
I installed GNU Toolchain, Java JDK, Eclipse, Cygwin.
If you install all tools, you are ready for running this project.
## Reference
W5500-EVB source repository : https://github.com/bingdo/Loopback_BSD_LPC11E36_LPCXpresso
WIZwiki-W7500 library source : http://wizwiki.net/wiki/doku.php?id=products:w7500:library

Step4 : Software : GitHub repository
I opened source codes of this project in GitHub.
https://github.com/bingdo/Loopback_BSD_WIZwiki-W7500_Eclipse
You can download this project files. And then import project into Eclipse.
After compile, you can run an application of WIZwiki-W7500.
This project is open for everyone. I expect your participation to improve a quality of project.

  Loopback_BSD_WIZwiki-W7500_Eclipse.bin

Step5 : How to run : Test result

 

1. To program FW into a target.
2. To reset a target.
3. To check Host IP and Server.
4. To connect a target through Client tool.
5. Confirm an echoback operation.
You can see the test result.
Thank you for your attention.
*Tip : If you register in www.wiznetian.com and work actively, you can get a sample cheaper than E-sales as well as a free sample.

 

 

 

 

신고

Convert ioLibrary into BSD socket style on W5500-EVB

W5500-EVB platform was announced by WIZnet. So I implemented a firmware of W5500-EVB by using BSD socket API
because I can handle a source code easily.
You can know http://wizwiki.net site. Please refer to the following step.

 Step1 : Prepare materials

Please refer to the following.
1. W5500-EVB board. ( http://www.shopwiznet.com/w5500-evb )
2. Mini USB cable
3. LAN cable

Step2 : Hardware connection

Please connect an USB cable and LAN cable.
You can get more HW info by the following site.
http://wizwiki.net/wiki/doku.php?id=products:w5500:w5500_evb:start

Step3 : Prepare development environment
I prepared LPCXpresso development environment by the following site.
http://wizwiki.net/wiki/doku.php?id=osh:lpcxpresso:start
I installed LPCXpresso IDE. If you install a tool, you are ready for running this project.
## Reference
W5500 ioLibrary source : https://github.com/Wiznet/ioLibrary_Driver

Step4 : Software : GitHub repository
I opened source codes of this project in GitHub.
https://github.com/bingdo/Loopback_BSD_LPC11E36_LPCXpresso
You can download this project files. And then import project into LPCXpresso.
After compile, you can run an application of W5500.
This project is open for everyone. I expect your participation to improve a quality of project.

  Loopback_BSD_LPC11E36_LPCXpresso.hex

Step5 : How to run : Test result

1. To program FW into a target by Flash Magic tool.
2. To reset a target.
3. To check Host IP and Server.
4. To connect a target through Client tool.
5. Confirm an echoback operation.
You can see the test result.
Thank you for your attention.
*Tip : If you register in www.wiznetian.com and work actively, you can get a sample cheaper than E-sales as well as a free sample.

 

 

 

 

 

신고

Chat by using websocket on WIZwiki-W7500 platform

 

Recently WIZwiki-W7500 platform was announced by WIZnet. So I implemented a firmware of WIZwiki-W7500 by changing UART definition
because I can handle a source code easily.
You can know www.mbed.org site. Please refer to the following step.


Step1 : Prepare materials

Please refer to the following.
1. WIZwiki-W7500 board x2. ( http://www.shopwiznet.com/wizwiki-7500 )
2. Mini USB cable
3. LAN cable

Step2 : Hardware connection

 

Please connect an USB cable and LAN cable.
You can get more HW info by the following site.
http://wizwiki.net/wiki/doku.php?id=products:wizwiki_w7500:start

Step3 : Prepare development environment

I prepared cloud development environment by the following site.
https://developer.mbed.org/getting-started/
<Reference>
WIZwiki-W7500 example source : https://developer.mbed.org/platforms/WIZwiki-W7500/
WIZwiki-W7500 library source : https://developer.mbed.org/teams/WIZnet/code/WIZnetInterface/

Step4 : Software : mbed repository

I opened source codes of this project in mbed site.
https://developer.mbed.org/users/bingdo/code/WebSocketClient_Chat_WIZwiki-W7500/
You can import this project files into your workspace.
You must modify source codes for this test. (MAC address, websocket server IP & port)
After compile, you can run an application of WIZwiki-W7500.
This project is open for everyone. I expect your participation to improve a quality of project.

<Reference>
Websocket Server example : https://github.com/bingdo/ChatDemoWithWebSocket

 

Step5 : How to run : Test result

 

1. To modify MAC address and websocket server IP & port as your case.
2. To compile a project in cloud.
3. To program FW into targets.
4. To run Websocket server on your PC.
5. To activate each connection with serial terminal.
6. To reset targets.
7. To insert chat messages after connecting with websocket server.
You can see the test result.

 


Thank you for your attention.
*Tip : If you register in www.wiznetian.com and work actively, you can get a sample cheaper than E-sales as well as a free sample.

신고

Intro : Turn on the light by WIZwiki IoT platform

Recently WIZwiki-W7500 platform was announced by WIZnet. So I implemented a firmware of WIZwiki-W7500 by WIZ550web SW modification because I can handle a source code easily.
You can use the web page on home networking. Please refer to the following step.

Step 1: Prepare materials

 

Please refer to the following.
1. WIZwiki-W7500 board. ( http://www.shopwiznet.com/wizwiki-7500 )
2. Mini USB cable
3. LAN cable
4. UART2USB adapter

Step 2: Hardware connection

 

Please connect an USB, LAN cable and UART2USB adapter
You can get more HW info by the following site.
http://wizwiki.net/wiki/doku.php?id=products:wizwiki_w7500:start

Step 3: Prepare development environment

I prepared GCC development environment by the following site.
http://opensrclab.tistory.com/33
I installed GNU Toolchain, Java JDK, Eclipse, Cygwin.
If you install all tools, you are ready for running this project.
You can use a Configuration Tool by the following site temporarily.
http://wizwiki.net/wiki/doku.php?id=products:wiz550s2e:wiz550s2e_download
How to use a CFG tool : http://wizwiki.net/wiki/doku.php?id=products:wiz550s2e:wiz550s2epg_en#configuration_tool
<Reference>
WIZ550web source repository : https://github.com/Wiznet/WIZ550web
WIZwiki-W7500 library source : http://wizwiki.net/wiki/doku.php?id=products:w7500:library

Step 4: Software : GitHub repository

I opened source codes of this project in GitHub.
https://github.com/bingdo/WEBApp_WIZwiki-W7500_Eclipse
You can download this project files. And then import project into Eclipse.
After compile, you can run WEB application of WIZwiki-W7500.
This project is not finished yet. This is open for everyone. I expect your participation to improve a quality of project.

  WEBApp_WIZwiki-W7500_Eclipse.bin

 

Step 5: How to run : Test result

1. To program FW into a target.
2. To reset a target and insert MAC address.
3. To search a target by Configuration Tool.
4. To change IP, Gateway properly.
5. To connect to a target by ALFTP.
6. To upload web page to a target.
7. To connect to a target by browser program.
8. To control lights through web page.
You can see the test result by the video.
Thank you for your attention.
*Tip : If you register in http://www.wiznetian.com/ and work actively, you can get a sample cheaper than E-sales as well as a free sample.

 

 

신고

Intro: How to monitor a remote equipment by WIZwiki platform
I know WIZ550S2E solution for monitoring. Recently WIZwiki-W7500 platform was announced by WIZnet. So I implemented a firmware of WIZwiki-W7500 by WIZ550S2E SW modification because I can handle a source code easily.
You can know the status of equipment even if it is so far. Please refer to the following step.

 

Step 1: Prepare materials
Please refer to the following.
1. WIZwiki-W7500 board. ( http://www.shopwiznet.com/wizwiki-7500 )
2. Mini USB cable
3. LAN cable

Step 2: Hardware connection
Please connect an USB cable and LAN cable.
You can get more HW info by the following site.
http://wizwiki.net/wiki/doku.php?id=products:wizwiki_w7500:start

 

Step 3: Prepare development environment
I prepared GCC development environment by the following site.
http://opensrclab.tistory.com/33
I installed GNU Toolchain, Java JDK, Eclipse, Cygwin.
If you install all tools, you are ready for running this project.
You can use a Configuration Tool by the following site temporarily.
http://wizwiki.net/wiki/doku.php?id=products:wiz550s2e:wiz550s2e_download
How to use a CFG tool : http://wizwiki.net/wiki/doku.php?id=products:wiz550s2e:wiz550s2epg_en#configuration_tool
<Reference>
WIZ550S2E source repository : https://github.com/Wiznet/WIZ550S2E
WIZwiki-W7500 library source : http://wizwiki.net/wiki/doku.php?id=products:w7500:library

Step 4: Software : GitHub repository
I opened source codes of this project in GitHub.
https://github.com/bingdo/S2EApp_WIZwiki-W7500_Eclipse
You can download this project files. And then import project into Eclipse.
After compile, you can run S2E application of WIZwiki-W7500.
This project is open for everyone. I expect your participation to improve a quality of project.

  S2EApp_WIZwiki-W7500_Eclipse.bin

 

 

Step 5: How to run : Test result
1. To program FW into a target.
2. To reset a target and insert MAC address.
3. To search a target by Configuration Tool.
4. To check Host IP and start Server.
5. To change IP, Gateway, HostIP properly.
6. To change Working Mode of target to TCP Client or Mixed by CFG tool.
7. Send "hello" to Server through terminal program.
You can see the test result by the video.
Thank you for your attention.
*Tip : If you register in http://www.wiznetian.com/ and work actively, you can get a sample cheaper than E-sales as well as a free sample.

 

 

 

 

신고

W5500EVB(WIZnet)+ioLibrary Tutorial UCC

-. YouTube 동영상입니다.

 

 

 

신고

W5500EVB(WIZnet)+TFTP Tutorial UCC

-. YouTube 동영상입니다.

 

 

 

 

신고

임베디드 FTP Server 구현하기(W5500-EVB) Tutorial

목차:

1.     W5500 chip 소개

2.     ioLibrary 소개

3.     W5500-EVB 소개

4.     LPCXpresso 개발환경 셋업

5.     W5500-EVB FTP 예제 실습

6.     Flash Magic 사용법 실습

7.     ALFTP를 이용한 파일전송 실습

 

1. W5500 chip 소개

2. ioLibrary 소개

3. W5500-EVB 소개

-. W5500 chip, ioLibrary, W5500-EVB 소개 부분은 11월 강의 중 “W5500으로 이더넷 구현하기의 강의노트로 대체합니다.

http://wiznetacademy.com/wp/wp-content/uploads/2015/01/WIZnet-Academy-w5500으로_이더넷_구현하기1.pdf

4. LPCXpresso 개발환경 셋업

-. LPCXpressoNXP사에서 지원하는 개발 IDE입니다. LPCXpresso 설치에 대한 내용은 WIZnet 연구원 Raphael님의 블로그를 참조 부탁 드립니다.

http://xeon011.tistory.com/147

5. W5500-EVB FTP 예제 실습

-. GitHub에서 FTP_LPC11E36_LPCXpresso 프로젝트를 검색 후 소스를 다운로드 한다.

 

 -. LPCXpresso를 실행 후 import로 프로젝트를 가져온다.

 

 

 

 -. 먼저 lpc_chip_11exx, wznet_evb_w5500evb_board 프로젝틀 컴파일 한다.

 

 -. FTP 프로젝트를 컴파일 후 결과를 확인한다.

6. Flash Magic 사용법 실습

-. Flash MagicNXP사에서 지원하는 flash programming tool입니다. Flash Magic 설치에 대한 내용은 WIZnet 연구원 Sam님의 블로그를 참조 부탁 드립니다.

http://blog.cahg.org/wp/?p=137

-. Flash Magic을 실행 후 W5500-EVB 보드에 USB 케이블을 연결한다.

-. ISP 버튼을 누른 상태에서 Reset 버튼을 눌러서 다운로드 받을 수 있는 상태로 만든다.

-. COM Port, Baud Rate, Interface, Hex File path를 그림과 같이 셋팅 한다.

 -. Start를 선택해서 FW를 다운로드 한다.

 

-. Reset 버튼을 누른 후 LED 정상 동작을 확인한다.

7. ALFTP를 이용한 파일전송 실습

-. YouTube 동영상을 참조 바랍니다.

 

소스 참조 https://github.com/Wiznet/FTP_LPC11E36_LPCXpresso

 

 

 

 

 

 

신고
  1. 겨울비 2016.06.09 03:57 신고

    좋은 정보 잘보고 갑니다

+ Recent posts

티스토리 툴바