View previous topic :: View next topic |
Author |
Message |
tipoldo
Joined: 01 Feb 2006 Posts: 14 Location: Palma Mallorca
|
#use standard_io(B) error in 16F690 |
Posted: Wed Sep 05, 2007 3:55 am |
|
|
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
|
|
Posted: Wed Sep 05, 2007 10:29 am |
|
|
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
|
|
Posted: Thu Sep 06, 2007 2:08 am |
|
|
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! |
|
|
|