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

No Header File for device

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



Joined: 26 Feb 2014
Posts: 24

View user's profile Send private message

No Header File for device
PostPosted: Tue Jun 30, 2015 4:38 am     Reply with quote

Hi All
I have specified a PIC16F1615 on a project and now having produced the PCB now realise that there is not header file under my device directory.

I'd like to explore the options:
1. go to another compiler
2. produce a header file specific for the PIC16F1615

Any advice is appreciated.

Cheers
Alex
_________________
I type therefore I press buttons
alyeomans



Joined: 26 Feb 2014
Posts: 24

View user's profile Send private message

PostPosted: Tue Jun 30, 2015 4:48 am     Reply with quote

Sorted it. Downloaded and installed the demo and got the updated list of header files.

A
_________________
I type therefore I press buttons
Ttelmah



Joined: 11 Mar 2010
Posts: 19431

View user's profile Send private message

PostPosted: Tue Jun 30, 2015 4:50 am     Reply with quote

A search here would have found past answers.

The header file itself is 'minor', just copy one for a similar chip. However if the header file is not present, this implies that your compiler does actually not 'know' about the chip. This means that it is not in the device database. A header file will not fix this. While it is possible to add chips to the device database (with the device editor, in the IDE), it is a major task. You need to know technical details of every setting for the chip. What registers each peripheral uses etc. etc..
I have done it years ago, when new chips arrived and CCS then took a long time to add support, or when dealing with my own 'custom' variants of chips that didn't generally exist. It is though a _lot_ of work. In all honesty getting a compiler update is a lot easier. This chip has been supported for quite a few versions now.
alyeomans



Joined: 26 Feb 2014
Posts: 24

View user's profile Send private message

PostPosted: Tue Jun 30, 2015 5:13 am     Reply with quote

Many thanks for that. As you say it does not work as it seems the device5.dat file authenticates device files according to version. I will lobby for the update.
_________________
I type therefore I press buttons
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