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

CCS Support has been horrible, i need someone else's help

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



Joined: 08 Apr 2010
Posts: 13

View user's profile Send private message

CCS Support has been horrible, i need someone else's help
PostPosted: Thu Apr 08, 2010 5:52 pm     Reply with quote

My ccs c compiler simply stopped compiling. I am not even sure what I did, but the build keeps failing even with codes that have compiled before. This is what I get with no matter what codes I use.
Quote:

Executing: "C:\Program Files\PICC\Ccsc.exe" +FM "..\Codes that worked!\RFIDtestwithoutoutputdrive.c" #__DEBUG=true +ICD +DF +LN +T
+A +M +Z +Y=9 +EA #__16F877A=TRUE
BUILD FAILED: Wed Mar 31 12:46:48 2010

No matter what, even with codes that have compiled before, it keeps giving me this error. I am using MPLAB plugin to compile from there. Anybody have this problem before? Thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Apr 08, 2010 6:19 pm     Reply with quote

Try compiling the simple test program shown below. What happens ?
Post your compiler version.

Quote:

..\Codes that worked!\RFIDtestwithoutoutputdrive.c

Also, I noticed you're using complicated pathnames.
I suggest that you get rid of those and use something simple.

Code:

#include <16F877.H>
#fuses XT, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock = 4000000)

//=============================
void main()


while(1)
  {
   output_high(PIN_B0);
   delay_ms(500);
   output_low(PIN_B0);
   delay_ms(500);
  }

}
curiousaboutcircuits85



Joined: 08 Apr 2010
Posts: 13

View user's profile Send private message

hello
PostPosted: Sun Apr 11, 2010 4:36 pm     Reply with quote

thank you for your input. I tried that and i still get build failed

Executing: "C:\Program Files (x86)\PICC\Ccsc.exe" +FM "..\simplecode.c" #__DEBUG=true +ICD +DF +LN +T +A +M +Z +Y=9 +EA #__16F877A=TRUE
BUILD FAILED: Sun Apr 11 17:35:19 2010

do you have any other suggestions?

thanks
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Apr 11, 2010 4:53 pm     Reply with quote

Quote:

I am not even sure what I did, but the build keeps failing even
with codes that have compiled before.

If the compiler worked previously on the same computer, and now it
fails, then re-install the compiler.
curiousaboutcircuits85



Joined: 08 Apr 2010
Posts: 13

View user's profile Send private message

PostPosted: Sun Apr 11, 2010 7:35 pm     Reply with quote

Thank you, I reinstalled for the 7th time, and it's starting to work correctly. I am not sure what the problem was. Thank you for your help.
KaraMuraT



Joined: 16 May 2006
Posts: 65
Location: Ankara/Turkey

View user's profile Send private message Send e-mail

PostPosted: Wed Apr 14, 2010 3:49 am     Reply with quote

I have a solution for such situations, but it's not a complete one.

In this "it was working but not working right now, even if I didn't do anything" situation I'm changing the Debug Output Type. I'm doing this in MPLab, and don't know how to change it in CCS IDE.

Go to Project/Build Options/Project Menu. Within the opened window select "CCS C Compiler" tab. In the Debug group box usually the output format is selected as COFF. Change it to "Expanded COD Format". Then click OK.

This will change the compiler attribute from "+DF" to "+DC" if you are compiling your code with console.

I know this is a bug, but don't know what causes it.

Hope this helps...
_________________
/// KMT
/// www.muratursavas.com
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