CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

TCP-IP stack, how to?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Guest








TCP-IP stack, how to?
PostPosted: Thu Oct 08, 2009 11:39 am     Reply with quote

Hi, I'm planning to make a project which involves connecting a PIC to a remote location via WWW.
So the TCP-IP stack will be used.

Microchip is releasing new revisions of their C18 stack, i'd like to use them into CCS.

Have someone already ported the C18 stack by himself?
Can you confirm that the last CCS ported stack is version 3.02?
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Thu Oct 08, 2009 12:27 pm     Reply with quote

The last stack converted by CCS was 3.75.

The latest Stack from MCHP is 5.1. It has not been "CCS-ized"...

Using the stack requires the usual required learning according to code size. I think I got the stack up and running in a day or two so that I could use it on a PICdem.net2. From there playing with the webserver was immediate.

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Fri Oct 09, 2009 11:47 am     Reply with quote

Darko Roberts wrote:

Do you mean that you use the stack 3.75 for CCS or that you've ported 5.1 to CCS?

Looking the examples it's simple to play with, but porting surely is a big work. I'd like to know the reason CCS don't port the stack anymore. As said before it's a huge work but having it usable with their compiler would be a nice feature no? Smile



The last stack CCS made available was 3.75.

From Microchip, 5.1 is the current version available. I'm working on "porting" it for a client.

I heard a rumor that CCS is making efforts to make 5.1 PIC-C friendly without a lot of re-work.

This would allow MCHP to release whatever and it would compile readily under CCS without the headaches.

It sounds like time better spent.

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Fri Oct 09, 2009 12:52 pm     Reply with quote

Darko Roberts wrote:

Pardon but I'm making confusion with version numbers...
You mean that CCS C compiler version 5.1 will 'eat' Microchip stack -as is- or that CCS is porting microchip stack v. 5.1?
I think/hope the first hypothesis, it would be very nice! At this point just one question remains: when? Smile


Not a problem.

Current version of CCS is 4.099. This includes PCM, PCB, PCH PCD... (according to my version information)

The Current version of the CCS compilable TCP/IP stack is microchip's v3.75 that CCS "fixed" to make PIC-C friendly.

If you go to Microchip's website and download their latest TCP/IP stack, that version is 5.1.

It does not compile with PIC-C "out of the box".


CCS can do one of two things:

1. Port MCHP TCPIP 5.1 to compile with PIC-C.
2. Change PIC-C so that MCHP's TCPIP will compile "out of the box".

#1 is not a long term solution.

#2 is long term solution.

My understanding is that #2 is the present course of action.

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group