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

Using ccstcp/ip stack

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



Joined: 10 Feb 2007
Posts: 78

View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger

Using ccstcp/ip stack
PostPosted: Sat Feb 24, 2007 7:58 pm     Reply with quote

Hello guys I am using the 18F6722 with the ccs compilers tcp/ip stack. but when I call this stack the following error appears

1)Error 100"c:\..\ccstcpip.h" line...: USE parameter velue i out of range NOT a number:PIN_C6

..the code at which it shows the error is
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)

2)Error 128"c:\..\ccstcpip.h" line...: A #DEVICE required before this line.

..the line on which this error occurs is

#byte PORTA = 0xF80

Since this is a TCP/IP stack and can be used with all the PICs compatable to use this code.

3)Error 119"c:\..\ccstcpip.h" line...:"You need to define your custom hardware."

This line was used with the #error statement, although the syntax seems to be correct. The error still shows.

Can you guys help?
Guest








Re: Using ccstcp/ip stack
PostPosted: Sat Feb 24, 2007 9:31 pm     Reply with quote

tranz wrote:
Hello guys I am using the 18F6722 with the ccs compilers tcp/ip stack. but when I call this stack the following error appears

1)Error 100"c:\..\ccstcpip.h" line...: USE parameter value is out of range NOT a number:PIN_C6

..the code at which it shows the error is
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)

2)Error 128"c:\..\ccstcpip.h" line...: A #DEVICE required before this line.

..the line on which this error occurs is

#byte PORTA = 0xF80

Since this is a TCP/IP stack and can be used with all the PICs compatable to use this code.

3)Error 119"c:\..\ccstcpip.h" line...:"You need to define your custom hardware."

This line was used with the #error statement, although the syntax seems to be correct. The error still shows.

Can you guys help?
...some errors in the description in the poat as well :D
Guest








PostPosted: Tue Feb 27, 2007 1:25 pm     Reply with quote

Put the include file for the device before the include file of the TCP/IP stack.
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