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 support@ccsinfo.com

Failed to load .cof

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
skoberlink



Joined: 27 May 2010
Posts: 52

View user's profile Send private message

Failed to load .cof
PostPosted: Wed Jul 14, 2010 10:59 am     Reply with quote

I'm using CCS v4.105 with MPLab v8.53. I was using CCS C v4.105 with MPLab v8.50 when this problem first appeared. It was working fine and then suddenly it couldn't load the .cof for this project. Other projects compile without a problem.

I tried updating to MPLab v8.53. This seemed to fix it but I was having a lot of weird issues. I discovered that MPLab did not uninstall the old version so after fixing that issue and getting a stable CCS v4.105 and MPLab v8.53 I tried it again. It still cannot load the .cof file.

What might be causing this and how can I fix it?

EDIT: forgot to mention that the build succeeds according to the compiler output. I have been unable to discern whether or not the chip is burned correctly since I can't tell if it's my circuit, my code, or this .cof problem.
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Wed Jul 14, 2010 11:31 am     Reply with quote

I get those every now and then...

I don't know why -- I think I clean out the dir of the dynamic files and it goes away.

I'd have to go play -- maybe someone else has more -- but I've seen it too. So, you're not alone.

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
skoberlink



Joined: 27 May 2010
Posts: 52

View user's profile Send private message

PostPosted: Thu Jul 15, 2010 7:57 am     Reply with quote

ah well thanks for the info. Unfortunately cleaning out the directory didn't help.

Since I don't have a problem with other projects, I believe that it's something about this project in particular. Maybe a compiler setting or a particular set of fuses throws it off?
skoberlink



Joined: 27 May 2010
Posts: 52

View user's profile Send private message

PostPosted: Thu Jul 15, 2010 8:22 am     Reply with quote

Update: I found that there maybe an issue with COFF compatibility so I tried it with COD debugging information. It didn't have an issue loading a .cod file.

I'm not entirely clear on what this means for my problem nor am I clear on what the difference between the two formats is. Is there any reason I should be using COFF over COD? If I should be using COFF is there a fix for this problem other than updating since I'm already up-to-date?
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