목차

-. 개발 환경 구축

-. 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 확인

+ Recent posts