Created Wed, 17 Dec 2014 12:34:54 +0000 by Jackix
Wed, 17 Dec 2014 12:34:54 +0000
I have recently tried to get the ChipKITUdpNtpClient up and running with a mac address defined in the Ethernet.begin(mac,ip). The example works fine if I use DHCP to initiate the example.
I looked around on the forum and found a post where a guy had the same problem: http://chipkit.net/forum/viewtopic.php?f=19&t=1565
And i tried to change the heap size in chipKITEthernet.cpp (which have the same define as suggested in the post. 0x2000 changed to 0x5000). But the example won't run.
The reason i would like to define an mac address is because i wan't to run a simple webserver on the board aswell.
Board: Chipkit mx7.
Can anyone help me?
Wed, 17 Dec 2014 14:51:05 +0000
This would not be a problem if the webserver could run without a mac defined in the initialization, but if I try to run the webserver with only IP defined it won't trigger the Client client = server.available();
Can anyone either explane why i can't leave out the mac initialisation for server use or why i can't initiate a mac when using udp?