View previous topic :: View next topic |
Author |
Message |
stoyanoff
Joined: 20 Jul 2011 Posts: 375
|
Is it possible to create a TCP/IP device with CCS??? |
Posted: Wed Nov 09, 2011 3:28 am |
|
|
I know microchip has developed C18 complier and TCP/IP stack library for such devices. Is it something similar for CCS? Is there a way to program controllers like 18F66J60 to comunicate with TCP/IP?
Thanks! |
|
|
RF_Developer
Joined: 07 Feb 2011 Posts: 839
|
|
Posted: Wed Nov 09, 2011 3:42 am |
|
|
I hope there is, as I'm proposing to do that for a new project. I'm expecting to port the C18 stack to CCS myself. I don't see it as a big project, just a challenging one. However, no I haven't found any examples yet .
On a related point, the Microchip TCP/IP stack works. However it really is stretching the PIC performance wise. I'm intending to run a PIC18F67J60 as a pure LAN server and nothing else. I intend to use program memory as file storage for the web server. We have an old project that used external serial flash for webpages and also did USB and serial IO and controlled other stuff. Its really slow, clanky and the web pages timeout often. Its NOT acceptable, and this is supposed to be a flagship add-on for us (its a optional remote interface thingy). I'm strongly thinking of dropping in a Lantronix Xport Pro to do all the LAN stuff. Expensive but you get a fully developed LAN/web server with decent memory, 32 bit processor, everything all inside an extended RJ-45 socket! Cool bit of kit that.
RF Developer |
|
|
Douglas Kennedy
Joined: 07 Sep 2003 Posts: 755 Location: Florida
|
|
Posted: Wed Nov 09, 2011 7:16 am |
|
|
TCP/IP allows for the re-sequencing of packets received out of order due to Network traffic. It is one of the reasons that a tcp packet has sequence numbers. AFAIK there is no provision for re-sequencing with the PIC based stacks. Re-sequencing is very likely to be unnecessary on a dedicated local network. |
|
|
|