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

Failed to load cof file / stacksize?

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



Joined: 18 Dec 2013
Posts: 8

View user's profile Send private message

Failed to load cof file / stacksize?
PostPosted: Thu Feb 13, 2014 3:12 am     Reply with quote

Hello

I already found some topics with that title, but non of these helped me by solving my problem.
I change form CCS 4.137 to CCS 5. 018 . I´m using MPLAB IDEv8.92 and PIC24HJ256GP610.

After a successful build of the project a pop up window appears with the message: Failed to load .../filepath/filename.cof
I already changed the Build Option to Debug = none instead of Debug = COFF format, but this makes no difference.

I also checked the STA File of the project and the Stack is at 100% (30/30, Interrupts=0). My privious build with CCS 4.137 has only 9/30.

I`m not sure if these issues depend on each other but I`m very happy about any advice or tip to solve the problems.

Thank you
Ttelmah



Joined: 11 Mar 2010
Posts: 19538

View user's profile Send private message

PostPosted: Thu Feb 13, 2014 4:48 am     Reply with quote

On the stacksize, the newer compiler makes no attempt to reduce this, until it has to. It will fill the stack up on the basis that code is smaller. However the STA reports seem also to be 'wrong' at times. Have had code reporting ROM use at 170% in the STA reports. Tend to just look at the .LST file, whose figures seem to be right....

Best Wishes
MeisterOss



Joined: 18 Dec 2013
Posts: 8

View user's profile Send private message

PostPosted: Thu Feb 13, 2014 7:57 am     Reply with quote

Ok thanks Ttelmah.

I solved the problem by updating the compiler to V5.019

May be this was the reason:
RECENT CHANGES
5.019 A problem with addressmod for some chips and data types is fixed
MeisterOss



Joined: 18 Dec 2013
Posts: 8

View user's profile Send private message

PostPosted: Thu Feb 13, 2014 7:59 am     Reply with quote

By the way CCS V5.016 works too Confused
Ttelmah



Joined: 11 Mar 2010
Posts: 19538

View user's profile Send private message

PostPosted: Thu Feb 13, 2014 8:36 am     Reply with quote

Are you using Addressmod?.

It'll be nice if this starts working. It is one of those "hasn't been working for several versions" features, that I miss.... Smile
jeremiah



Joined: 20 Jul 2010
Posts: 1354

View user's profile Send private message

PostPosted: Thu Feb 13, 2014 11:28 am     Reply with quote

I sent CCS an email about address mod a month ago. The reply said they had fixed it in the latest version. I haven't had a way to test it out just yet.
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