View previous topic :: View next topic |
Author |
Message |
alyeomans
Joined: 26 Feb 2014 Posts: 24
|
No Header File for device |
Posted: Tue Jun 30, 2015 4:38 am |
|
|
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
|
|
Posted: Tue Jun 30, 2015 4:48 am |
|
|
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: 19498
|
|
Posted: Tue Jun 30, 2015 4:50 am |
|
|
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
|
|
Posted: Tue Jun 30, 2015 5:13 am |
|
|
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 |
|
|
|