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

Build Error

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



Joined: 24 Feb 2005
Posts: 32

View user's profile Send private message

Build Error
PostPosted: Thu Feb 24, 2005 1:14 am     Reply with quote

Hi,
I’ve got a problem with MPLAB (V6.5) and CCS-Compiler (V3.057, with ccs plug-in). I tried to build a project which I created a few weeks ago. At that time I built it and it worked. I had some problems when I programmed a pic with the picstart-plus-programmer. Because of that I tried MPLAB 7.0. And since that nothing is as it was before. If I try to build a project I get the same message every time. I think it is not a big problem, but I can’t find a solution. Today I made a new project (with the Pic-Wizard of CCS). In MPLAB (using V6.5) I set the files in the new MPLAB-Project. But It isn’t working as it should. Can anyone help?

Code I created to test it

Code:

#include "E:\Projekte\TEST_SOFTWARE\Test_01.h"
#include <2432.C>
#int_RB
RB_isr() { }

#int_EXT
EXT_isr() { }

#int_TBE
TBE_isr() { }

#int_RDA
RDA_isr() { }

#int_SSP
SSP_isr() { }

#int_BUSCOL
BUSCOL_isr() { }

void main() {

   setup_adc_ports(NO_ANALOGS);
   setup_adc(ADC_CLOCK_DIV_2);
   setup_spi(FALSE);
   setup_counters(RTCC_INTERNAL,RTCC_DIV_2);
   setup_timer_1(T1_DISABLED);
   setup_timer_2(T2_DISABLED,0,1);
   setup_ccp1(CCP_OFF);
   setup_ccp2(CCP_OFF);
   init_ext_eeprom();
   enable_interrupts(INT_RB);
   enable_interrupts(INT_EXT);
   enable_interrupts(INT_TBE);
   enable_interrupts(INT_RDA);
   enable_interrupts(INT_SSP);
   enable_interrupts(INT_BUSCOL);
   enable_interrupts(global);

}
and the Test_01.h file

#include <16F876.h>
#use delay(clock=20000000)
#fuses HS,NOWDT,PUT
#define EEPROM_SCL   59
#define EEPROM_SDA   60
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7)
#use i2c(master,sda=PIN_C4,scl=PIN_C3)


and that’s the output-file

    Clean: Deleting intermediary and output files.Clean: Done.Executing: "C:\Programme\PICC\Ccsc.exe" Test_01.cNo ErrorsHalting build on first failed translation as user preferences indicate.BUILD FAILED: Wed Feb 23 19:33:20 2005

There are no errors but why does it fail. And what does this message mean?
Another question is, why does the Compiler insert an sleep-instruction at the end of the programcode. Is this an option which I can switch off?

Thanks & best regards
Olaf
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Feb 24, 2005 2:11 am     Reply with quote

See the end of this thread:
http://forum.microchip.com/tm.asp?m=40025&mpage=1&anchor#48722
_olaf_



Joined: 24 Feb 2005
Posts: 32

View user's profile Send private message

PostPosted: Thu Feb 24, 2005 3:22 am     Reply with quote

That's what I found out too. But If I try the other version of the language tool I get an other Message.

Something like:

    Failed to open...


Sorry but I don't have in mind the whole text. But the question is, why didi it work a few weeks ago? And since I tried MPLab 7 it doesn't work?
It's a little bit confusing.

Olaf
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

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

PostPosted: Thu Feb 24, 2005 7:15 am     Reply with quote

If you are using the CCS C Compiler option, it ain't going to work!

Use this entry "CCS C Compiler for 12/14/16/18"

If you are saying that you are getting an error with this option, then you probably didn't setup the tool locations.
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