View previous topic :: View next topic |
Author |
Message |
kjkim Guest
|
pch4.018 error |
Posted: Wed Dec 20, 2006 5:36 am |
|
|
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
|
|
Posted: Wed Dec 20, 2006 5:41 am |
|
|
should #use delay(clock=16M, restart_wdt) be
#use delay(clock=16000000, restart_wdt)
_________________ What has been learnt if you make the same mistake? |
|
|
kjkim Guest
|
|
Posted: Wed Dec 20, 2006 5:48 am |
|
|
i had a try.
but sameness. |
|
|
Storic
Joined: 03 Dec 2005 Posts: 182 Location: Australia SA
|
|
Posted: Thu Dec 21, 2006 12:31 am |
|
|
Do you get the same error with V3.249 _________________ What has been learnt if you make the same mistake? |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Thu Dec 21, 2006 1:49 pm |
|
|
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
|
|
Posted: Thu Dec 21, 2006 6:30 pm |
|
|
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 |
|
|
|