I'm trying to setup my ethernet connection, but mbed doesn't receive its IP address.
Thats what i get when using eth.setup()...
Setting up...
[..\fwk\if\eth\EthernetNetIf.cpp:setup@86] HW Addr is : 00:02:f7:f0:35:22.
[..\fwk\if\eth\EthernetNetIf.cpp:setup@99] DHCP Started, waiting for IP...
eth.link() always returns 1 when i plug my RJ45 at MagJack if this logic
void ethCheckFunction() {
if (eth.link()) {
lcd.locate(5,0);
lcd.printf("ES: Online ");
wait(0.5);
} else {
lcd.locate(5,0);
lcd.printf("ES: Offline");
wait(0.5);
}
}
And that's what i get using EthernetTesterGood example
mBed Ethernet Tester 1.0
Starting Up...
Configuring device for DHCP...
The DHCP is enabled at my router settings, any ideas why it doesn't work?
I'm trying to setup my ethernet connection, but mbed doesn't receive its IP address.
Thats what i get when using eth.setup()...
eth.link() always returns 1 when i plug my RJ45 at MagJack if this logic
The DHCP is enabled at my router settings, any ideas why it doesn't work?