EmbeddedRelated.com
Forums

PPP on LPC2478/2368 - KEIL

Started by Ganesh December 1, 2011
Hello everyone.

I am trying to integrate a GPRS modem with my ARM LPC2478/LPC2368 board.
I am successful in using the TCP/IP stack from KEIL with Ethernet though,
I am supposed to integrate the GPRS modem.
I understand that to have a TCP connection with GPRS modem , the PPP link has to be working .

The question is whether the PPP link has to made "UP" by the application code (code written by me ) or the TCP/IP stack of KEIL takes care of it .

Since I am doing this for the first time , I am confused about the whole affair.

will appreciate , If anyone can provide me with a step by step process about the procedure.

Thanks
K.Ganesh

An Engineer's Guide to the LPC2100 Series

Hi Ganesh,

look at the GSM/GPRS module you are going to use as AFAIK most of current modules already incorporate a TCP/IP and with that PPP stack, so you only have to issue a couple of appropriate AT commands (if you're communicating via UART) and connection will be established by the GPRS module.

Re, Uros

--- In l..., "Ganesh" wrote:
>
> Hello everyone.
>
> I am trying to integrate a GPRS modem with my ARM LPC2478/LPC2368 board.
> I am successful in using the TCP/IP stack from KEIL with Ethernet though,
> I am supposed to integrate the GPRS modem.
> I understand that to have a TCP connection with GPRS modem , the PPP link has to be working .
>
> The question is whether the PPP link has to made "UP" by the application code (code written by me ) or the TCP/IP stack of KEIL takes care of it .
>
> Since I am doing this for the first time , I am confused about the whole affair.
>
> will appreciate , If anyone can provide me with a step by step process about the procedure.
>
> Thanks
> K.Ganesh
>

Hi Uros,
I am aware that some modem has built-in TCP/IP stack , but in my case I
have to use the TCP/IP stack from Keil.
and TCPnet (TCP/IP stack from keil) talks about the Modem interface using
PPP.

Thanks

On Thu, Dec 1, 2011 at 2:04 PM, active_si wrote:

> **
> Hi Ganesh,
>
> look at the GSM/GPRS module you are going to use as AFAIK most of current
> modules already incorporate a TCP/IP and with that PPP stack, so you only
> have to issue a couple of appropriate AT commands (if you're communicating
> via UART) and connection will be established by the GPRS module.
>
> Re, Uros
> --- In l..., "Ganesh" wrote:
> >
> > Hello everyone.
> >
> > I am trying to integrate a GPRS modem with my ARM LPC2478/LPC2368 board.
> > I am successful in using the TCP/IP stack from KEIL with Ethernet though,
> > I am supposed to integrate the GPRS modem.
> > I understand that to have a TCP connection with GPRS modem , the PPP
> link has to be working .
> >
> > The question is whether the PPP link has to made "UP" by the application
> code (code written by me ) or the TCP/IP stack of KEIL takes care of it .
> >
> > Since I am doing this for the first time , I am confused about the whole
> affair.
> >
> > will appreciate , If anyone can provide me with a step by step process
> about the procedure.
> >
> > Thanks
> > K.Ganesh
> >
>

--
K.Ganesh
9910807145


On Thursday 01 December 2011 14:04:29 active_si wrote:
> Hi Ganesh,
>
> look at the GSM/GPRS module you are going to use as AFAIK most of current
> modules already incorporate a TCP/IP and with that PPP stack, so you only
> have to issue a couple of appropriate AT commands (if you're communicating
> via UART) and connection will be established by the GPRS module.

I think not. Most modems dont have a tcp stack on board.

Uip and other small tcp stacks have only experimental ports afair.

However for lpc2468 / 78 one has uclinux ports, which has ppp.

>
> Re, Uros
>
> --- In l..., "Ganesh" wrote:
> > Hello everyone.
> >
> > I am trying to integrate a GPRS modem with my ARM LPC2478/LPC2368 board.
> > I am successful in using the TCP/IP stack from KEIL with Ethernet
> > though, I am supposed to integrate the GPRS modem.
> > I understand that to have a TCP connection with GPRS modem , the PPP link
> > has to be working .
> >
> > The question is whether the PPP link has to made "UP" by the application
> > code (code written by me ) or the TCP/IP stack of KEIL takes care of it .
> >
> > Since I am doing this for the first time , I am confused about the whole
> > affair.
> >
> > will appreciate , If anyone can provide me with a step by step process
> > about the procedure.
> >
> > Thanks
> > K.Ganesh

Guys .....

I also have the PPP routines ....

But the point is How I will be using these routines ? ie whether TCP net
calls this or I have to call these routines

On Thu, Dec 1, 2011 at 3:21 PM, wrote:

> **
> On Thursday 01 December 2011 14:04:29 active_si wrote:
> > Hi Ganesh,
> >
> > look at the GSM/GPRS module you are going to use as AFAIK most of current
> > modules already incorporate a TCP/IP and with that PPP stack, so you only
> > have to issue a couple of appropriate AT commands (if you're
> communicating
> > via UART) and connection will be established by the GPRS module.
>
> I think not. Most modems dont have a tcp stack on board.
>
> Uip and other small tcp stacks have only experimental ports afair.
>
> However for lpc2468 / 78 one has uclinux ports, which has ppp.
> >
> > Re, Uros
> >
> > --- In l..., "Ganesh" wrote:
> > > Hello everyone.
> > >
> > > I am trying to integrate a GPRS modem with my ARM LPC2478/LPC2368
> board.
> > > I am successful in using the TCP/IP stack from KEIL with Ethernet
> > > though, I am supposed to integrate the GPRS modem.
> > > I understand that to have a TCP connection with GPRS modem , the PPP
> link
> > > has to be working .
> > >
> > > The question is whether the PPP link has to made "UP" by the
> application
> > > code (code written by me ) or the TCP/IP stack of KEIL takes care of
> it .
> > >
> > > Since I am doing this for the first time , I am confused about the
> whole
> > > affair.
> > >
> > > will appreciate , If anyone can provide me with a step by step process
> > > about the procedure.
> > >
> > > Thanks
> > > K.Ganesh
>
>
>

--
K.Ganesh
9910807145