[En-Nut-Discussion] Ethernut--HELP--

Raul Valle rvl180 at hotmail.com
Mon Jul 17 19:30:29 CEST 2006


I am using iccavr to develop from the ethernut software manual a very simple code to familiarize with the tcp. The application is compiling ok and i have program my ethernut card already but the manual says that with this code the card should be responding to pings from my command prompt and is not happening the card is establishing a connection with my computer but when i try to ping it is saying Requeste timed out.

My code is the following , please if someone can help me!!!!!!:
///////////////////////////////////////////////////
#include <dev/nicrtl.h>
#include <sys/thread.h>
#include <arpa/inet.h>


static u_char mac[]={0x00,0x06,0x98,0x01,0x01,0x43};
int main(){
NutRegisterDevice(&devEth0, 0x8300, 5);
NutNetIfConfig("eth0",mac,inet_addr("192.168.100.1"),inet_addr("255.255.255.0"));

}
void NutThreadDestroy(){
}
/////////////////////////////////////////////////


More information about the En-Nut-Discussion mailing list