View previous topic :: View next topic |
Author |
Message |
[email protected]
Joined: 05 Nov 2003 Posts: 23
|
MPLAB cof file can't be read or written? |
Posted: Mon Aug 09, 2004 9:31 pm |
|
|
I'm using MPLAB 6.6, ICD 2 and PCM 3.18. I'm working with an
16f73. When I compile my code, it compiles but MPLAB comes back
with this error:
"The format of the file C:....\cvision.cof can not be read or written because
its extension was not recognized."
Huh? The extension is .cof. I'm running on Windows 2000 SP2 BTW if
that helps. I've never seen this before, is there some problem with
some chips, MPLAB 6.6 and CCS? Any comments from anyone else
that has seen this before?
thanks,
DLC _________________ --
------------------------------------
Dennis Clark [email protected]
http://www.techtoystoday.com
------------------------------------ |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
|
|
Posted: Tue Aug 10, 2004 7:45 am |
|
|
YES,. try the register bat.
I am using the same version
6.60.00.0
without a problem
Quote: | 0 Errors, 19 Warnings.
Loaded C:\Program Files\PICC\Projects\001\3200i.cof
BUILD SUCCEEDED: Tue Aug 10 07:41:48 2004
|
I am also using CCS as the compiler choice
-->project -->Select language toolsuite |
|
|
Ttelmah Guest
|
|
Posted: Tue Aug 10, 2004 7:52 am |
|
|
treitmey wrote: | YES,. try the register bat.
I am using the same version
6.60.00.0
without a problem
Quote: | 0 Errors, 19 Warnings.
Loaded C:\Program Files\PICC\Projects\001\3200i.cof
BUILD SUCCEEDED: Tue Aug 10 07:41:48 2004
|
I am also using CCS as the compiler choice
-->project -->Select language toolsuite |
That is the probem!...
There should be two CCS selections there.
There should be one entry like 'CCS C Compiler', and another that says something like 'CCS C compiler for PIC12/16/18'. The second one is the one that must be selected, or you will get the problem being described.
Best Wishes |
|
|
Guest
|
running "register" fixed it. |
Posted: Tue Aug 10, 2004 8:41 pm |
|
|
Well,
That fixed it - But why? Is this just another "feature" of the ubiquitous
Windows system?
thanks all,
DLC
|
|
|
|