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

pch4.018 error

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







pch4.018 error
PostPosted: Wed Dec 20, 2006 5:36 am     Reply with quote

hi,
i'm using pch v4.018
that's has a problem like bellow;
and i have an inconvenience about v4.xx.
that's not active one or more tools in tools menu.

#include "18f65J10.h"
#include "K_18f6XJ1X.h"
#include "math.h"

#FUSES HS,WDT,NOPROTECT,NODEBUG,NOFCMEN,NOIESO
#ID 0x06,0x12,0x18,0x00
#ZERO_RAM
#priority ext,rtcc,timer2,timer1

#use delay(clock=16M, restart_wdt)
#use rs232(baud=19200,xmit=pin_c6,rcv=pin_c7)

**********error mesge****************

option invalid invalid combination
Storic



Joined: 03 Dec 2005
Posts: 182
Location: Australia SA

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

PostPosted: Wed Dec 20, 2006 5:41 am     Reply with quote

should #use delay(clock=16M, restart_wdt) be

#use delay(clock=16000000, restart_wdt)

Rolling Eyes
_________________
What has been learnt if you make the same mistake? Wink
kjkim
Guest







PostPosted: Wed Dec 20, 2006 5:48 am     Reply with quote

i had a try.
but sameness.
Storic



Joined: 03 Dec 2005
Posts: 182
Location: Australia SA

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

PostPosted: Thu Dec 21, 2006 12:31 am     Reply with quote

Do you get the same error with V3.249
_________________
What has been learnt if you make the same mistake? Wink
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Thu Dec 21, 2006 1:49 pm     Reply with quote

I compiled your program successfully in v3.249 after changing 16M to 16000000 and commenting out the include of "K_18f6XJ1X.h".

As stated many times before on this forum, use the v4.xxx compiler versions only if you really have to. The V4.xxx compilers are still beta quality and have a huge number of known bugs. Report any bug you find to CCS but for serious work revert to the last known stable version, v3.249
From a historic CCS perspective we can predict it will take at least another 3 to 6 months before the v4 compilers will become more or less stable.
Guest








PostPosted: Thu Dec 21, 2006 6:30 pm     Reply with quote

Storic wrote:
Do you get the same error with V3.249


////////////////////////////////////////////////////////////////////////////
No.
no rty to v3.249 because out of rom
but no error at v4.017
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