View previous topic :: View next topic |
Author |
Message |
Tabbot
Joined: 29 Oct 2008 Posts: 2
|
PCM: The CRG file is damaged ??? |
Posted: Wed Oct 29, 2008 9:17 am |
|
|
hi!
i installed mplab v8.10 from microchip.com including the ccs c compiler.
i think i set all properly according to the "getting started manual" and this link: "http://www.ccsinfo.com/faq.php?page=ccs_mplab" but i always get the error message above, after pressing compile.
I find it strange, because i use the included crg files which came along with the mplab v8.10 install.
greetz
Tabbot |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Wed Oct 29, 2008 5:45 pm |
|
|
Not really sure what you mean.
The CCS compiler comes in several flavours, depending on the chip family supported:
- PCB for the PIC12 (with some exceptions)
- PCM for the PIC16
- PCH for the PIC18
- PCD for the PIC24
- a combination of the above acronyms, mixed in with a 'W' for Windows as opposed to the command line only versions.
Assuming you are talking about the free CCS compiler supplied with MPLAB v8.10, this is the PCB version (as stated on the Microchip website), only suitable for PIC12 processors. You are trying to compiler for a PIC16 processor not supported by the free compiler.
The error message could have been more informative... |
|
|
Ttelmah Guest
|
|
Posted: Thu Oct 30, 2008 4:15 am |
|
|
The other possibility, is that he has a 'full' copy of CCS, but has used the MPLAB crg files. This also won't work. The crg files need to be the ones that came wth the compiler. The MPLAB ones are 'cut down' versions for the supplied compiler.
Best Wishes |
|
|
|