:::: MENU ::::
Posts tagged with: dns

W5500 Examples on Parallax

작년 말에 Parallax Activity board에 W5500 드라이버를 포팅을 했다. 오늘은 관련된 예제 프로그램들을 모두 포팅해서 github에 올렸다. 이중 흥미로운 것은 Html 5 지원 Webserver인데, 브라우저에서 실시간으로 변동되는 데이터를 그래프로 보여주는 응용이다.

At the end of last year I ported the W5500 driver on the Parallax Activity board. Today, I ported all the related network example and posted on my github. Most interesting example is the Html 5 Webserver showing the real time data in the graph.

Html5_Graph


STM8S-DISCOVERY 보드와 WIZ820io의 연결

ST마이크로의 8비트 MCU EVB인 STM8S-Discovery 보드에 Wiznet의 WIZ820io를 SPI로 연결하여 테스트를 해보았다.

STM8S-DISCOVERY 관련자료 : http://www.st.com/internet/evalboard/product/247087.jsp
STM8S-DISCOVERY보드의 메뉴얼;

cfile7.uf.185721394EB3C4731FDE54.pdfWIZ820io 관련 자료 : http://www.wiznet.co.kr/wiz820io

1. 하드웨어 연결
SPI 신호들은 CN1, CN2에 나와 있는 SPI 신호에 연결하고, nSS, nINT, nRESET, PWDN 신호들은 각각 STM8S의 GPIOs(PA4, PA5, PA3 and PA6)에 연결이 된다.

2. Firmware
컴파일러는 Cosmic사의 CXSTM8 compiler와 ST 홈페이지에서 다운로드 받을 수 있는 STVD를 사용한다. CXSTM8 compiler는 등록을 하면 일정기간 사용이 가능하다.

3. Test
STM8S의 Application Note인 RS232 communications with a terminal using the STM8S-DISCOVERY를 참고로 시리얼 터미널 기반의 application을 만들어 보았다. 기존의 메뉴에 다음과 같이 네트웍을 설정하고 확인하는 메뉴, TCP/UDP loopback, DNS, Twitter 기능을 테스트 할 수 있는 기능을 추가했다.

Application Note:

cfile7.uf.130B70444EB3C74F2E6C98.pdf