[lwip-users] ping out from RAW API

2011-02-03 Thread shogun
I am using the RAW API of lwip version 1.3.2 on a Stellaris CPU. I would like to ping the network device (PC) on the other end of the cable. I didn't see anything in the API to do a ping to another IP. Is this supported and if so how would I do it? Thanks, DB

Re: [lwip-users] ping out from RAW API

2011-02-03 Thread Simon Goldschmidt
shogun shogu...@rochester.rr.com wrote: I didn't see anything in the API to do a ping to another IP. Is this supported and if so how would I do it? There's an example ping application in the contrib module/ZIP file (apps/ping/ping.c). The upper half of the file contains socket code, the

[lwip-users] lwip port for LPC17xx micros

2011-02-03 Thread Bernard Mentink
Hi all, Does anyone have a port to this family of micros? I guess I am just wanting the eth_driver.c and eth_driver.h files ... Many Thanks, Bernie -- You always have believers and scepticts.. A True inventor is always a believer.. ___ lwip-users

Re: [lwip-users] lwip port for LPC17xx micros

2011-02-03 Thread FreeRTOS Info
Hi, If you look at the LPC1768 demos in the FreeRTOS download you will find uIP demos, but the drivers are probably just as relevant to lwIP. Regards, Richard. + http://www.FreeRTOS.org Designed for Microcontrollers. More than 7000 downloads per month. + http://www.SafeRTOS.com Certified by

Re: [lwip-users] lwip port for LPC17xx micros

2011-02-03 Thread Bernard Mentink
Hi There, Yes, I do have uIP working on the LPC1766, so I can use their drivers ... they don't use interrupts, just polling, so will need to do some hacking there (I am also using it with QP OS so every thing needs to be event based ..) Reason I am asking, is to try and save myself the work of

Re: [lwip-users] lwip port for LPC17xx micros

2011-02-03 Thread FreeRTOS Info
Hi again, The drivers in FreeRTOS are interrupt (and I think DMA (?)) driven. The driver moves a packet into a buffer pointed to by a chain of DMA descriptors, thats it. I don't see why the driver would not be agnostic of the stack it is being used with - the packets coming in off the network

Re: [lwip-users] lwip port for LPC17xx micros

2011-02-03 Thread Bernard Mentink
Hi Richard, You are write, the uIP implementation is DMA driven, however the lwIP stack sample which is written for the Stellaris MCUs writes to a FiFO, I don't know if that is a DMA address on that micro , or not. i.e in the read function you get the following:

[lwip-users] Re: ping out from RAW API

2011-02-03 Thread shogun
Thanks Simon! The files weren't part of my distribution, I found them on the download sight http://download.savannah.gnu.org/releases/lwip/;. I'll give it a try and see if it works. Thanks, DB shogun shogu...@rochester.rr.com wrote: I didn't see anything in the API to do a ping to

Re: [lwip-users] lwip port for LPC17xx micros

2011-02-03 Thread FreeRTOS Info
I think all you need to do is a memcpy into the buffer then tell the DMA there is something in the buffer pointed to by the Tx descriptor. No copying byte by byte. Although the DMA driver itself is more complex than the simply FIFO driver, the actually copying of data is much easier. The uIP