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 CCS Technical Support

#use standard_io(B) error in 16F690

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



Joined: 01 Feb 2006
Posts: 14
Location: Palma Mallorca

View user's profile Send private message

#use standard_io(B) error in 16F690
PostPosted: Wed Sep 05, 2007 3:55 am     Reply with quote

hi,
using ccsc v3.236, I get an error with the pragma #use standard_io(B) compiling the program for a 16F690. This error disappear compiling for another PICs (for example 16F873A). There are no problems using the pragma with another port like A or C using the 16F690.
I think that the problem is relationated with the number of pins in the port B (16F690 has only B4-B7), but it's strange because similar pragmas like #use fast_io(B) doesn't get any problems.
Can somebody give me any suggestion? Thank's in advance.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Sep 05, 2007 10:29 am     Reply with quote

I tested vs. 3.236 and got the same error. I then tested vs. 3.249
and it's fixed in that version.

Do you need to set standard i/o mode ? It's the default mode.
If you don't specify any mode, the compiler automatically uses
standard i/o mode.
tipoldo



Joined: 01 Feb 2006
Posts: 14
Location: Palma Mallorca

View user's profile Send private message

PostPosted: Thu Sep 06, 2007 2:08 am     Reply with quote

PCM programmer wrote:
I tested vs. 3.236 and got the same error. I then tested vs. 3.249
and it's fixed in that version.


Ok thank you. Then I'll update my compiler.

PCM programmer wrote:

Do you need to set standard i/o mode ? It's the default mode.
If you don't specify any mode, the compiler automatically uses
standard i/o mode.


Yes I know, but I need to use it because I have to use the fast_io pragma in a small part of the code to make it faster. After these faster lines code, I want to restore again to the standart_io.

Thank you again!
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