View previous topic :: View next topic |
Author |
Message |
Richi Guest
|
Unknown device type "PIC16F688" |
Posted: Tue Sep 05, 2006 2:42 pm |
|
|
Hi all,
I have this problems with the CCS M Compiler 3.180.
If I write: #include <16F676.h> it starts to compile, but my program is to large. No problem I thought- use a bigger one so I wrote:
#include <16F688.h>
but now this error occours:
*** Error 24 "C:\PROGRA~1\PICC\devices\16F688.h" Line 2(9,18): Unknown device type "PIC16F688"
Whats wrong? Any ideas? The compiler is about 5 month old! |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Tue Sep 05, 2006 3:06 pm |
|
|
That version of the compiler is a whole lot older than 1 YEAR. It was released December of 2003. The following version (3.181) was released January of 2004.
The last release in V3 was 3.249 which is more than 50 versions later. If you purchased it from a dealer you should have had 30 days of upgrade rights to get the latest version and you probably need to go back and talk to them. |
|
|
Richi Guest
|
|
Posted: Wed Sep 06, 2006 8:27 am |
|
|
O.k. I can update the compiler - I didnīt use the update until now. I also should have a talk to the dealer- itīs really a old version!
BUT this Pic type 16F688 is in the device list! So It must work also with this version! |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Wed Sep 06, 2006 11:25 am |
|
|
Someone else here may know if that version supported the 'F688.
Generally, if I don't find a header file I assume it is not supported by that version.
Just FYI...getting the header file somehow would not fix the problem because chip support is built into the compiler. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Sep 06, 2006 11:57 am |
|
|
It's not in the device list and there is no 16F688.h file installed by
vs. 3.180. To see the device list, run:
Start/Programs/PIC-C/Compiler Version
Or, open a DOS window, go to c:\Program Files\PICC
and run: CCSC +Q
Edited to change the path to CCSC.EXE to the correct one.
Last edited by PCM programmer on Wed Sep 06, 2006 3:45 pm; edited 1 time in total |
|
|
Richi Guest
|
|
Posted: Wed Sep 06, 2006 3:25 pm |
|
|
O.k. thanks, I will draw the update! |
|
|
Richi Guest
|
|
Posted: Wed Sep 06, 2006 3:37 pm |
|
|
Iīm sorry I donīt have the Version 3.180, I have the version 3.235.
The 3.180 version is my old one- I bought it 4 years ago- you are right. I over installed the new one, so I had the header files, but it seems that MPLAB takes the old compiler.
Now I deinstalled both, reinstalled the new one- now itīs running!
Thanks |
|
|
|