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

device file not recognized in PCW

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



Joined: 25 Aug 2005
Posts: 16

View user's profile Send private message

device file not recognized in PCW
PostPosted: Mon Sep 14, 2009 1:30 pm     Reply with quote

I am using an older version of the compiler. I can compile a design for 18F4550, but when I change to device to 18F45K20 the error message says the device file cannot be found. However, the .h file is in the devices subdirectory, and I can open it in a text editor.

Anyone had this problem?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Sep 14, 2009 1:32 pm     Reply with quote

What version ? To test it, we need the version.
pic_user



Joined: 25 Aug 2005
Posts: 16

View user's profile Send private message

PostPosted: Mon Sep 14, 2009 1:40 pm     Reply with quote

I am using :

CCS PCH C Compiler, Version 4.064,
pic_user



Joined: 25 Aug 2005
Posts: 16

View user's profile Send private message

PostPosted: Mon Sep 14, 2009 1:43 pm     Reply with quote

Specifically it says "File can not be opened" in response to:

#include <PIC18F45K20.h>
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Sep 14, 2009 2:00 pm     Reply with quote

Quote:
#include <PIC18F45K20.h>

The CCS header files do not have "PIC" in front of the name.
Delete those 3 letters.
pic_user



Joined: 25 Aug 2005
Posts: 16

View user's profile Send private message

PostPosted: Mon Sep 14, 2009 2:05 pm     Reply with quote

Thank you very much.
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