Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] LPC 'networking' with PLIP/SLIP/LwIP

2005-11-25 by David Hawkins

Hi Bruce,

> I have implemented a SLIP-like application on a MC68360 in the past.
> SLIP is really incredibly simple. It's the IP packets straight out of
> the TCP/IP stack with a checksum shoved on the end. I suspect PLIP may
> be as trivial.

It looks pretty straightforward from what I have seen so far.

First I'm just trying to understand this stuff, and then I want
to figure out if I should take PLIP and port it to a faster parallel
interface, or create a tty interface over something that actually
uses a parallel bus (and can run at MB/s, not kB/s) and then
run SLIP over that.

Hence if someone had already got LwIP working with SLIP, I
would obviously lean towards the tty approach. (Actually
I haven't had a chance to ask that on an LwIP message group
yet ... since I haven't played with the LwIP stuff yet).

> The SLIP I was using wasn't normal...it could communicate multidrop
> using cascaded devices all talking synchronously (it was a multi-point
> IP network). It never made it out to the real world, but it certainly
> all worked.
> 
> At the time the processor was running pSOS+ (a thing of the past now)
> which had a TCP/IP stack and an poorly/undocumented network interface
> layer so I was able to plug in there. pSOS+ = $$$$ and I'd never go
> there now.

Yeah, we had some 68k's running pSOS around here until recently.

> Despite the fact the 68360 had dedicated communications engines and very
> cool serial port support, the power of the LPC main processors is huge
> by comparison. You should have no problem.
> 
> It's worth including compressed header SLIP support if you're going that
> way. It cuts down the traffic by removing redundant TCP/IP packet
> headers and replacing them with a token to refers back to the original
> header.

I was reading the 'Linux Network Administrator's Guide' and it mentioned
SLIP and CSLIP. I found the RFC for SLIP, but haven't looked for
CSLIP stuff.

I managed to get a PLIP setup working with the non-ethernetworked
machine being able to surf the web, so I have a much better
understanding of the network configuration now; point-to-point
setup, gateway machine configuration, ARP proxy - all new to me.

I'll play with SLIP after I take a look at the lower-levels
of the Linux PLIP driver to see how the hardware layer works.

>>Happy Thanksgiving! (to all the Americans out there anyway)
> 
> Oh yeah this is the time of year all you Yanks die from badly cooked
> turkeys :)

Actually, they like deep frying them now-a-days. Its nice since
it keeps the fire deparment busy. (I'm from New Zealand,
I just happen to live here, so technically not a Yank :).

Thanks!
Dave

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.