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 CCS Technical Support

MPLAB cof file can't be read or written?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
[email protected]



Joined: 05 Nov 2003
Posts: 23

View user's profile Send private message

MPLAB cof file can't be read or written?
PostPosted: Mon Aug 09, 2004 9:31 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Aug 09, 2004 10:10 pm     Reply with quote

Anytime MPLAB can't recognize a file type, first try to run register.bat.
See the following thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=19669&highlight=register+bat
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Tue Aug 10, 2004 7:45 am     Reply with quote

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







PostPosted: Tue Aug 10, 2004 7:52 am     Reply with quote

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.
PostPosted: Tue Aug 10, 2004 8:41 pm     Reply with quote

Well,

That fixed it - But why? Is this just another "feature" of the ubiquitous
Windows system?

thanks all,
DLC

PCM programmer wrote:
Anytime MPLAB can't recognize a file type, first try to run register.bat.
See the following thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=19669&highlight=register+bat
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