HanRun Ethernet shield HR911105A. works with uno not with Mega 2560


hi,
i have shield connected uno , works ok.
on serial output
[starting arduino server]
mac: 74:69:69:2d:30:31
setting dhcp (this can take while...)
ip: 192.168.1.80
netmask: 255.255.255.0
gw ip: 192.168.1.254
dns ip: 192.168.1.254
surf ip view arduino server: 192.168.1.80

now when connect mega get

[s

it seems lock @ stage. if increase serial port speed bit more shown ie
[starting arduino server]
m

but thats it.
i have shiled connected on uno 10,11,12,13  , on mega 50,51,52,53

a sample of code
#include <ethercard.h>

// ethernet interface mac address, must unique on lan
static byte mymac[] = { 0x74,0x69,0x69,0x2d,0x30,0x31 };

byte ethernet::buffer[500];
bufferfiller bfill;

void setup () {
  serial.begin(9600);
  serial.println("\n[starting arduino server]");

  serial.print("mac: ");


any ideas why works on uno , not on mega
i using version 1.6.3 of ide

and downloaded new version of ethercard.h  link found http://forum.velleman.eu/viewtopic.php?f=43&t=14130

any accepted.

thanks
albert

post link ethernet shield. han run brand of ethernet socket, , used on few different shields.
.


Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > HanRun Ethernet shield HR911105A. works with uno not with Mega 2560


arduino

Comments