xiuos/Ubiquitous/XiZi_IIoT/board/xidatong-riscv64/third_party_driver/ethernet
wuzheng 04dc796f95 fix problems in client recv 2022-12-12 16:22:36 +08:00
..
imgs add w5500 support. 2022-11-15 07:45:21 -08:00
Kconfig add w5500 support. 2022-11-15 07:45:21 -08:00
Makefile add w5500 support. 2022-11-15 07:45:21 -08:00
ReadMe.md add w5500 support 2022-11-15 17:40:51 -08:00
connect_w5500.c fix problems in client recv 2022-12-12 16:22:36 +08:00
socket.c add w5500 support. 2022-11-15 07:45:21 -08:00
spi_interface.c add w5500 support. 2022-11-15 07:45:21 -08:00
w5500.c add w5500 support. 2022-11-15 07:45:21 -08:00
wiz_ping.c update w5500 functions. 2022-11-21 19:07:50 -08:00
wiz_ping.h add w5500 support. 2022-11-15 07:45:21 -08:00
wizchip_conf.c add w5500 support. 2022-11-15 07:45:21 -08:00

ReadMe.md

w5500 测试文档

通过board/xidatong-riscv64/third_party_driver/ethernet/connect_w5500.c 可以找到内写的3个包含ping, tcp server test, tcp client test;

  • ping 测试,测试结果包括:
    • pc ping w5500
    • w5500 ping baidu.com (DNS实现暂未实现因此使用baidu.com的ip地址进行寻址)
  • tcp server 测试在xizi中调用wiz_server_op指定port之后可以在pc中向该端口发送数据
    • wiz_server 将额外启动一个线程执行server工作server将向client返回client发来的消息
  • client 测试通过wiz_client_op可以向pc中打开的tcp server发送消息
    • 由于wiz_client_test函数参数接收问题测试使用的ip地址暂时使用硬编码实现