Telnet or TCP sample
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: Telnet or TCP sample
by hjjeon0608 ·
안녕하세요.
TCP/IP sample code는 드라이버나 펌웨어를 말씀하시는 것 같은데요.
이는 WIZnet 홈페이지에 있으므로 참조하시면 됩니다.
[url]https://www.wiznet.co.kr:8011/sub_modules/en/product/product_detail.asp?Refid=630&page=1&cate1=5&cate2=7&cate3=27&pid=1010&cType=2[/url]
Telnet 같은경우 W3150으로 제작된 것은 없으나 W5200용으로 제작 된 것이 있으므로 이를 참조하여 포팅하시면 될겁니다.
[url]https://www.wiznet.co.kr:8011/sub_modules/en/product/product_detail.asp?Refid=634&page=1&cate1=5&cate2=7&cate3=56&pid=1144&cType=2[/url]
RE: Telnet or TCP sample
by kevinlee ·
안녕하세요?
W3150A+ 와 Ethernet PHY를 결합한 W5100이라는 제품이 있습니다.
W5100의 core가 W3150A+ core와 동일하므로, W5100 제품의 Firmware를 참고하시면 좋을 것 같습니다.
아래 홈페이지 링크를 참고하십시오.
wiznet.co.kr/sub_modules/en/ … d=1011#tab
감사합니다.
RE: Telnet or TCP sample
by NohYoungsoo ·
답변주신 drive와 sample code를 받아 w5200–> W3150A+ 작업중입니다.
사용하는 MCU는 STM32F10x 계열이고 기본 기능은 TCP server 입니다.
또한 W5200_TCP_and_UDP_SampleCode_v1.3 를 기본으로 하고 있습니다.
질문은 SPI init에 대한 것으로
W5200 응용에서는 SPI2 에서
void WIZ_SPI_Init(void)
{
SPI_InitTypeDef SPI_InitStructure;
}
를 선언 한번 초기화하고 있습니다.
W3150A+도 동일하게 사용해도 되는지요?
RE: Telnet or TCP sample
by hjjeon0608 ·
MCU가 같기 때문에 그대로 사용하셔도 될거 같습니다.
RE: Telnet or TCP sample
by NohYoungsoo ·
SPI_init 는 W5200 을 사용했습니다.
그런데 다음 Set_network(void)
에서
setSHAR(Config_Msg.Mac);
setSUBR(Config_Msg.Sub);
saveSUBR(Config_Msg.Sub);
setGAR(Config_Msg.Gw);
setSIPR(Config_Msg.Lip);
를 통해 통신정보를 설정하고
//Set PTR and RCR register
//Init. TX & RX Memory size
한 후 통신정보 값을 읽어 비교해보면 값이 같지 않습니다.
(간단히 getSIPR 을 이용 버퍼값을 비교해서 LED_ON/OFF 로 판단)
제대로 네트워크 정보가 설정되는지를 확인하는 방법은 없을까요?
마이콤 부분은 얼마안되어서 아직 디버거를 이용하는 것을 모릅니다.
RE: Telnet or TCP sample
by hjjeon0608 ·
시리얼 통신으로 출력하는 방법이 아니라면 디버깅이 쉽진 않아 보이네요.
지속적으로 설계를 진행하려고 한다면 시리얼 출력하는걸 권장 드립니다.