View previous topic :: View next topic |
Author |
Message |
tquantum
Joined: 09 Aug 2007 Posts: 4
|
problem using CCS in MPLAB (assembler OK) |
Posted: Thu Aug 09, 2007 8:51 am |
|
|
Hi all.
I get a problem while using CCS in MPLAB. I don't know why this code does't work? (I have tried the assembler code from .lst with ICD 2, and it works)
Thanks,
tquantum
//*********************
#include <12F615.h>
#fuses INTRC_IO,NOWDT,NOPROTECT,IOSC8,NOPUT
#use delay(internal=8M)
void main() {
while( TRUE ) {
OUTPUT_A(0XFF);
} |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Aug 09, 2007 11:02 am |
|
|
Quote: | I get a problem while using CCS in MPLAB |
1. Are you running this program in hardware or the MPLAB simulator ?
2. What's your version of MPLAB ?
3. What's your compiler version ? |
|
|
tquantum
Joined: 09 Aug 2007 Posts: 4
|
|
Posted: Thu Aug 09, 2007 5:34 pm |
|
|
PCM programmer wrote: | Quote: | I get a problem while using CCS in MPLAB |
1. Are you running this program in hardware or the MPLAB simulator ?
2. What's your version of MPLAB ?
3. What's your compiler version ? |
I have tested the asm type program through ICD2 header, and it works.
but it can't work in C. The version of MPLAB and the CCS are the latest version 7.60a and 4.033, and the plug-in program is downloaded from http://www.ccsinfo.com/downloads.php |
|
|
|