ENC28j60不能打开网页

2020-02-05 09:21发布

本帖最后由 onbluesun 于 2012-5-19 17:49 编辑

51单片机+ENC28j60可以PING通,但不能打开WESERVER网页,高手求助!!!我用的IE9
IP什么的配置如下:(哪个是配置DNS的?)
  1. #define UIP_IPADDR0     192 /**< The first octet of the IP address of
  2.                                this uIP node, if UIP_FIXEDADDR is
  3.                                1. hideinitializer */
  4. #define UIP_IPADDR1     168 /**< The second octet of the IP address of
  5.                                this uIP node, if UIP_FIXEDADDR is
  6.                                1. hideinitializer */
  7. #define UIP_IPADDR2     1   /**< The third octet of the IP address of
  8.                                this uIP node, if UIP_FIXEDADDR is
  9.                                1. hideinitializer */
  10. #define UIP_IPADDR3     13   /**< The fourth octet of the IP address of
  11.                                this uIP node, if UIP_FIXEDADDR is
  12.                                1. hideinitializer */

  13. #define UIP_NETMASK0    255 /**< The first octet of the netmask of
  14.                                this uIP node, if UIP_FIXEDADDR is
  15.                                1. hideinitializer */
  16. #define UIP_NETMASK1    255 /**< The second octet of the netmask of
  17.                                this uIP node, if UIP_FIXEDADDR is
  18.                                1. hideinitializer */
  19. #define UIP_NETMASK2    255 /**< The third octet of the netmask of
  20.                                this uIP node, if UIP_FIXEDADDR is
  21.                                1. hideinitializer */
  22. #define UIP_NETMASK3    0   /**< The fourth octet of the netmask of
  23.                                this uIP node, if UIP_FIXEDADDR is
  24.                                1. hideinitializer */

  25. #define UIP_DRIPADDR0   192 /**< The first octet of the IP address of
  26.                                the default router, if UIP_FIXEDADDR is
  27.                                1. hideinitializer */
  28. #define UIP_DRIPADDR1   168 /**< The second octet of the IP address of
  29.                                the default router, if UIP_FIXEDADDR is
  30.                                1. hideinitializer */
  31. #define UIP_DRIPADDR2   1   /**< The third octet of the IP address of
  32.                                the default router, if UIP_FIXEDADDR is
  33.                                1. hideinitializer */
  34. #define UIP_DRIPADDR3   1   /**< The fourth octet of the IP address of
  35.                                the default router, if UIP_FIXEDADDR is
  36.                                1. hideinitializer */
复制代码
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
3条回答
lklhzu
1楼-- · 2020-02-05 09:56
用的哪个片子?我用STC12C5A60S2,配置和你一样,可以打开网页。见下图:

2012-05-14_174636.jpg (90.85 KB, 下载次数: 0)

下载附件

2012-5-19 16:05 上传

onbluesun
2楼-- · 2020-02-05 13:54
我用的是STC90C516RD+
tiancaigao7
3楼-- · 2020-02-05 18:03
 精彩回答 2  元偷偷看……

一周热门 更多>