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

Problem with PIC16F1827.h

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



Joined: 10 Feb 2010
Posts: 9

View user's profile Send private message

Problem with PIC16F1827.h
PostPosted: Wed Feb 10, 2010 12:40 am     Reply with quote

Previously using PIC16F690, now using PIC16F1827
Complied with MPLAB, PCM version 4.038

The following errors are as shown below:

*** Error 7 "C:\PROGRA~1\PICC\devices\16F1827.h" Line 191(2,6): Invalid Pre-Processor directive
*** Error 48 "C:\PROGRA~1\PICC\devices\16F1827.h" Line 191(18,23): Expecting a (
*** Error 43 "C:\PROGRA~1\PICC\devices\16F1827.h" Line 191(0,1): Expecting a declaration
*** Error 43 "C:\PROGRA~1\PICC\devices\16F1827.h" Line 191(0,1): Expecting a declaration
*** Error 91 "C:\PROGRA~1\PICC\devices\16F1827.h" Line 192(0,1): Expression must be a constant or simple variable
*** Error 91 "C:\PROGRA~1\PICC\devices\16F1827.h" Line 193(0,1): Expression must be a constant or simple variable
*** Internal Error - Contact CCS Built in call fail, setup_adc_ports

Anyone can help?

Many thanks in advance
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Feb 10, 2010 1:02 am     Reply with quote

Quote:
now using PIC16F1827
Complied with MPLAB, PCM version 4.038

I don't think vs. 4.038 supports the 16F1827. I deleted the 16F1827.h
file from my installation of 4.104, and then installed 4.038, and it did not
put a 16F1827.h file in the Devices directory. Therefore, it's not supported.
TCC



Joined: 10 Feb 2010
Posts: 9

View user's profile Send private message

PostPosted: Wed Feb 10, 2010 1:12 am     Reply with quote

PCM programmer wrote:
Quote:
now using PIC16F1827
Complied with MPLAB, PCM version 4.038

I don't think vs. 4.038 supports the 16F1827. I deleted the 16F1827.h
file from my installation of 4.104, and then installed 4.038, and it did not
put a 16F1827.h file in the Devices directory. Therefore, it's not supported.


Sorry, that means i must upgrade my current version PCM 4.038 to 4.104, in order to run 16F1827, right?

I have PCH Version 4.104 installed in my MPLAB too, does it helps?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Feb 10, 2010 1:17 am     Reply with quote

Quote:
that means i must upgrade my current version PCM 4.038 to 4.104, in order to run 16F1827, right?

Possibly some earlier versions support it. But I know that vs. 4.104
does because when I re-installed it, the 16F1827.h file was put into the
Devices directory.

Quote:

I have PCH Version 4.104 installed in my MPLAB too, does it help?

No, PCH is for the 18F-series PICs.
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