Author |
Message |
Topic: Program hang--CCS compiler problem? |
cindyw
Replies: 7
Views: 11068
|
Forum: General CCS C Discussion Posted: Tue Apr 12, 2005 8:01 pm Subject: Program hang--CCS compiler problem? |
Hi,
Is it possible for the program run to an non-implemented memory area?
In debug mode, I have encounted this problem.
My device with progammed PIC16F684 run very well. But it hangs somewhere ... |
Topic: how to set CCS menu? |
cindyw
Replies: 2
Views: 5407
|
Forum: General CCS C Discussion Posted: Thu Mar 17, 2005 8:45 pm Subject: how to set CCS menu? |
Anybody can explane the following two issues? Thanks.
1, Menu of Project/ set language toolsuite/, there are two options: CCS compiler and CCS compiler for PIC 12/14/16/18.
May I know which to s ... |
Topic: MPLAB SIM & ICD2 get different result |
cindyw
Replies: 7
Views: 11530
|
Forum: General CCS C Discussion Posted: Mon Mar 07, 2005 12:22 am Subject: MPLAB SIM & ICD2 get different result |
Hi, Thanks for all of your advise. |
Topic: MPLAB SIM & ICD2 get different result |
cindyw
Replies: 7
Views: 11530
|
Forum: General CCS C Discussion Posted: Fri Mar 04, 2005 1:54 am Subject: I/O intialization problem ?? |
PCM programmer,
You are so kind to help on this.
let's me answer your questions first.
1, there is LED connect to RA5 (pin 2) , I can see its on/off.
2, there is also LED connect to RA4 (pin 3) ... |
Topic: MPLAB SIM & ICD2 get different result |
cindyw
Replies: 7
Views: 11530
|
Forum: General CCS C Discussion Posted: Thu Mar 03, 2005 7:19 pm Subject: MPLAB SIM & ICD2 get different result |
Posted: Thu Mar 03, 2005 2:31 am
Here is a testing code. I found the PORTA is correct by running MPLAB SIM , however, the actual test result by run MPLAB ICD2, PinPA5 always on(PORTA=0 ... |
Topic: CCS compile error? -- PIC16F676 |
cindyw
Replies: 2
Views: 6744
|
Forum: General CCS C Discussion Posted: Thu Mar 03, 2005 2:31 am Subject: MPLAB SIM & ICD2 get different result |
#include <16F676.h>
#DEVICE adc=8 //only use 8 bit ??
#fuses INTRC_IO,NOWDT,NOPROTECT//NOBROWNOUT //MCLR
#use delay (clock=4000000) //4M hz internal osc
//#endif
void ... |
Topic: 16F676 A/D not work! |
cindyw
Replies: 1
Views: 5107
|
Forum: General CCS C Discussion Posted: Tue Jan 18, 2005 3:17 am Subject: 16F676 A/D not work! |
Hi, techies,
I am using 16F676 in my project. AN4 to AN7 need to be set to A/D.
Here is my code:
void init_adc(void)
{
SETUP_ADC_PORTS(sAN4|sAN5|sAN6|sAN7|VSS_VDD); // AN4:7 A/D. others di ... |
Topic: compile error in PIC16F676 |
cindyw
Replies: 1
Views: 5990
|
Forum: General CCS C Discussion Posted: Sun Nov 07, 2004 8:20 pm Subject: compile error in PIC16F676 |
Hi, Techies,
Could anyone give me a clue to sove this problem? I am dead in it.
I am using PCWH compiler ver.3.188
This the error when I compile my code
Clean Warning: File "E:\Dove.o" doesn't ... |
Topic: C template for PIC16F676 |
cindyw
Replies: 4
Views: 13242
|
Forum: General CCS C Discussion Posted: Thu Oct 21, 2004 10:57 pm Subject: PIC16F676 |
Thanks for your advice.
Pic16f676.h file need to be included in the C programming. where is the definition or memory allocation for those registers? just like what has been defined in pic16f676.inc b ... |
Topic: C template for PIC16F676 |
cindyw
Replies: 4
Views: 13242
|
Forum: General CCS C Discussion Posted: Thu Oct 21, 2004 10:08 pm Subject: C template for PIC16F676 |
Can anybody provide an example or template for PIC16F676 C code? I do not know how to start.
Please help! |
|