HELP ME!!! Arduino Ethernet Shield Problems! - Page 1
Forum section: electronics / general

author: Bobajake
author_rank: Contributor
timestamp: April 08, 2015, 11:47:44 pm
content: Okay so I picked up the seedstudio ethernet shield (v2) and i can not for the life of me get it to connect to my network!I have spent the last hour or so googling and have found nothing, everyone else's work fine.I didn't know what to do so i said "hey lets go see if someone could help me on the eev blog!"any help would be greatly appreciated!I've tried it on the mega and uno. I am using the library i got from the seedstudio wiki on the shield. and i get the following error, if you want me to upload the example program code i gladly will.Thanks JakeCode:Arduino: 1.6.1 (Windows 8.1), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp: In member function 'void EthernetClass::begin(uint8_t*, IPAddress, IPAddress, IPAddress, IPAddress)':C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:64:39: error: no matching function for call to 'W5100Class::setIPAddress(IPAddress::<anonymous union>&)'W5100.setIPAddress(local_ip._address);^C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:64:39: note: candidate is:In file included from C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:1:0:C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\utility/w5200.h:410:6: note: void W5100Class::setIPAddress(uint8_t*)void W5100Class::setIPAddress(uint8_t *_addr) {^C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\utility/w5200.h:410:6: note: no known conversion for argument 1 from 'IPAddress::<anonymous union>' to 'uint8_t* {aka unsigned char*}'C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:65:38: error: no matching function for call to 'W5100Class::setGatewayIp(IPAddress::<anonymous union>&)'W5100.setGatewayIp(gateway._address);^C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:65:38: note: candidate is:In file included from C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:1:0:C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\utility/w5200.h:386:6: note: void W5100Class::setGatewayIp(uint8_t*)void W5100Class::setGatewayIp(uint8_t *_addr) {^C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\utility/w5200.h:386:6: note: no known conversion for argument 1 from 'IPAddress::<anonymous union>' to 'uint8_t* {aka unsigned char*}'C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:66:38: error: no matching function for call to 'W5100Class::setSubnetMask(IPAddress::<anonymous union>&)'W5100.setSubnetMask(subnet._address);^C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:66:38: note: candidate is:In file included from C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:1:0:C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\utility/w5200.h:394:6: note: void W5100Class::setSubnetMask(uint8_t*)void W5100Class::setSubnetMask(uint8_t *_addr) {^C:\Users\Bobajake\Documents\Arduino\libraries\EthernetV2_0\utility/w5200.h:394:6: note: no known conversion for argument 1 from 'IPAddress::<anonymous union>' to 'uint8_t* {aka unsigned char*}'Error compiling.This report would have more information with"Show verbose output during compilation"enabled in File > Preferences.

author: Bobajake
author_rank: Contributor
timestamp: April 09, 2015, 12:23:11 am
content: SOLVED!!!I'm Gonna keep this post up, In case i can help people in the future in my situation.You need to downgrade the arduino IDE software to 1.0.1 in order for it to work. No idea why you just do...

author: stevech
author_rank: Contributor
timestamp: April 09, 2015, 04:49:20 am
content: HELP ME!!as you posted, is what a drowning swimmer screams.