Hi Seb,

The 18F devices are certainly capable of implementing a client or
server for tcp/ip or for http work. But thru-put will be low. Think
connectivity rather than performance/thruput and you'll be OK. For
example, I'd recommend you look at the uIP stack or even the one from
Microchip.  I've used both, but they are in C. But that isn't the
point- the point is- the picmicro itself can do the job.

For the purpose of SLIP - any 18F chip should work since the I/O will
be via the UART.

Now then, about the Jal Ethernet project -- the writeup in sourcesafe
describes the project but yes, we implemented a telnet server and an
http server. Web pages were mostly static and there were scripts to
generate JAL source code to implement them at run-time.

The big problem back then was that the old JAL compiler didn't support
the extra RAM very well, and didn't have 16-bit integers either.  So,
unfortunately the workings of the tcp/ip stack are obscured by the
extra code dealing with 16-bits and extra RAM, etc.

I'd recommend you study the smalltcp version since it was early and
didn't have so much other things obscuring the tcp/ip code.  I don't
know if I could commit to working on porting it to JALV2 but I would
certain try to answer any questions.  If you want to understand how
tcp/ip works 'under the hood' it would be a worthwhile investment of
your time, IMO. If you just want a nice tcp/ip solution then probably
not such a good idea.

For actual ethernet, the chip I used most recently (with uIP) was the
18f67j60, which has the ethernet chip built-in. You can find small
boards with this chip already installed from Olimex and others.  A
small JAL library for the ethernet functions would be needed if it
doesn't already exist.

William

ps: the jalethernet.com didn't seem like it was getting any use and
after many years I didn't bother renewing this time. Perhaps it was a
mistake?

On Jul 13, 8:46 am, Sebastien Lelong <[email protected]>
wrote:
> Hi William,
>
> While searching for potentially interesting protocols (like SLIP), I had a
> very brief look at jalethernet (btw your domain name wasn't renewed, right
> ?). I wanted to estimate how much would it cost to port it, but I've given
> up fast :) I'm not sure what these libs do, do they implement a full
> software IP stack ? How much space would it need to put a Ethernet layer on
> a PIC ? IP ? TCP/IP ? Do you need an external board, like jal wifi ?
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to