504835618 发表于 2014-10-3 22:36:43

请问MAC地址是路由器的MAC地址还是26J60的地址呢?一直未品通

hokyyang 发表于 2014-10-25 01:22:50

老是烧录不进去,大神们看一下怎么回事
d:/arduino-1.0.1/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: webClient.cpp.elf section .text will not fit in region text
d:/arduino-1.0.1/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: region text overflowed by 2826 bytes
就是按照上面来的,用ide1.01,库也换成ethnicar的,就是不行

hokyyang 发表于 2014-10-25 09:32:49

yhy60 发表于 2014-9-10 12:00 static/image/common/back.gif
是库的问题,可以ping 通了

这个程序你为什么烧录成功,我编译总是提示
d:/arduino-1.0.1/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: webClient.cpp.elf section .text will not fit in region text
d:/arduino-1.0.1/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: region text overflowed by 2826 bytes
怎么解决

学习啊 发表于 2014-12-13 11:08:13

if(ether.begin(sizeof Ethernet::buffer,mymac)==0) 才好用 为什吗

zhouzhou 发表于 2014-12-24 23:19:41

halioo 发表于 2014-4-19 15:42 static/image/common/back.gif
老师您好,我的程序是:#include
static byte mymac[] = {0x74,0x69,0x69,0x2D,0x30,0x31};
static byte ...

Serial.begin(25000);

调试窗口你默认是9600,改一致

毒师老白 发表于 2015-1-26 11:38:10

本帖最后由 毒师老白 于 2015-1-26 11:39 编辑

我的CS接8,其他的都没变。
程序如下
#include <EtherCard.h>
static byte mymac[] = {0x74,0x69,0x69,0x2D,0x30,0x31};
static byte myip[] = {192,168,1,10};
byte Ethernet::buffer;

void setup () {

Serial.begin(9600);
Serial.println("PING Demo");

if (ether.begin(sizeof Ethernet::buffer, mymac,8) == 0)
    Serial.println( "Failed to access Ethernet controller");

if (!ether.staticSetup(myip))
    Serial.println("Failed to set IP address");
}

void loop() {

ether.packetLoop(ether.packetReceive());
}
还是不通,请教是怎么回事哈

gxluzj 发表于 2015-2-15 17:52:19

学习了!!!!!!!!!!!!!!

dagunliyu 发表于 2015-3-27 14:21:40

mark一下吧

li23108 发表于 2015-4-9 06:58:58

感谢!我发了一块板子学习下

dkm382638608 发表于 2015-4-10 17:42:42

smfox10 发表于 2012-11-4 19:27 static/image/common/back.gif
张老师,我接好线,下载好程序,然后打命令ping 网络模块对应的IP ,如果成功是不是串口会出现Failed to ac ...

我也是这个问题

Z-Maker 发表于 2015-7-7 18:18:50

halioo 发表于 2014-4-19 15:42 static/image/common/back.gif
老师您好,我的程序是:#include
static byte mymac[] = {0x74,0x69,0x69,0x2D,0x30,0x31};
static byte ...

波特率不对

mostblack 发表于 2015-7-26 23:44:28

棒棒哒~正在学习使用,组个内网玩玩

kpj001 发表于 2015-7-27 00:15:23

本帖最后由 kpj001 于 2015-7-27 00:16 编辑

http://www.geek-workshop.com/thread-200-1-1.html 准备库文件,连接模块
附件是库和例程,个别地方因为IDE更新有些错误,看看提示可以克服的, 不确定你用的库来源,我这个基本可以调通前7个测试,后面的还没看,下面是我的笔记供参考

例程1   PING ok
                  static byte mymac[] = {0x74,0x69,0x69,0x2D,0x30,0x31};   \\ 用原例程里DD开头的MAC不能获得DHCP,应该是被路由器过滤了, 以下所有例程需要改

例程2   DHCP ok

                  ether.printIp("Netmask:\t", ether.mymask);

                  ether.printIp("Netmask:\t", ether.netmask);       正确的

例程3   Client ok

                  char website[] PROGMEM = "www.lucadentella.it";

                  const char website[] PROGMEM = "www.lucadentella.it";


例程5    BasicServer ok

例程6    NoIPClientDDNSok

                  const char getIP_web[] PROGMEM = "www.lucadentella.it";
                  const char noIP_web[] PROGMEM = "dynupdate.no-ip.com";
                  const char noIP_host[] PROGMEM = "enctutorial.no-ip.info";
                  const char noIP_auth[] PROGMEM = "XXXXXXXXXX";

guoguoguo 发表于 2015-8-19 11:28:09

没有库可下载C:\Users\guoqiuge\Pictures

guoguoguo 发表于 2015-8-19 11:33:41

葱头同学 发表于 2012-12-15 16:57 static/image/common/back.gif
下了最新的ethercard库 貌似CS接8或10 都ping 不通 是同一网段 接线是 INT - 2 , SO - 12 , SCK - 13 , RES ...

请问我打开连接咋么没有地方下载ethercard库啊
页: 1 2 3 4 5 [6] 7
查看完整版本: 【翻译教程】enc28J60 和 Arduino (1)——ping通你的Arduino