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

Thiago A. Corrêa thiago.correa at gmail.com
Mon Jul 17 19:37:50 CEST 2006


Hi Raul,

  In this code looks like you are returning from main(), I belive that you
shouldn't, althought I'm not sure. Try compiling one of the examples to make
sure everything is alright, ie, setup and fuses...

Regards,
   Thiago A. Correa

On 7/17/06, Raul Valle <rvl180 at hotmail.com> wrote:
>
> 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(){
> }
> /////////////////////////////////////////////////
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>



More information about the En-Nut-Discussion mailing list