Author Topic: HELP ME!!! Arduino Ethernet Shield Problems!  (Read 2400 times)

0 Members and 1 Guest are viewing this topic.

Offline BobajakeTopic starter

  • Contributor
  • Posts: 14
HELP ME!!! Arduino Ethernet Shield Problems!
« on: April 08, 2015, 11:47:44 pm »
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! |O

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 Jake

Code: [Select]
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.
 

Offline BobajakeTopic starter

  • Contributor
  • Posts: 14
Re: HELP ME!!! Arduino Ethernet Shield Problems!
« Reply #1 on: April 09, 2015, 12:23:11 am »
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... :-//
 

Offline stevech

  • Contributor
  • Posts: 10
Re: HELP ME!!! Arduino Ethernet Shield Problems!
« Reply #2 on: April 09, 2015, 04:49:20 am »
HELP ME!!
as you posted, is what a drowning swimmer screams.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf