This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Redboot network setup




> -----Original Message-----
> From: Robin Farine [mailto:acnrf@dial.eunet.ch]
> Subject: Re: [ECOS] Redboot network setup
> 
> 
> Shouldn't the error case call eth_drv_msg_put(&eth_msg_free, msg)?
> 
> +               if(msg->len > len || msg->len < 14){
> +                   diag_printf("ETHERNET PACKET ERROR: 
> msg->len <0 or > len\n");
> +                   eth_drv_msg_put(&eth_msg_free, msg);
> +                   return 0;
> +               }
> 
> Robin

Yes probably, i'm not sure, it seems to works better ...somewhat

But anyway I'm still not able to use gdb through TCP/IP. It connects, then I
have a few ETHERNET PACKET ERROR on the serial console. I Try to load but:

(gdb) load
Loading section .rom_vectors, size 0x40 lma 0x20000

Error: Remote communication error: Connection reset by peer.

I'm not sure what's going on, but may be there is some problem in the
Integrator HAL i'm  using.

-- 
Fabrice Gautier
Software Engineer, Sigma Designs
Fabrice_Gautier@sdesigns.com




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]