Author |
Message |
Topic: 18F252 not passed LED test [Solved] |
sridevi
Replies: 11
Views: 16405
|
Forum: General CCS C Discussion Posted: Tue Jul 29, 2014 4:01 am Subject: 18F252 not passed LED test |
another possibility is that if using MPLAB that you haven't changed the 'build configuration' from 'debug' to 'release'. This must be done before you compile(F10), then download code into the PIC.
... |
Topic: 18F252 not passed LED test [Solved] |
sridevi
Replies: 11
Views: 16405
|
Forum: General CCS C Discussion Posted: Mon Jul 28, 2014 10:27 pm Subject: 18F252 not passed LED test |
Dear All,
The thing is, if I write the code in MicroC for the same hardware set up, it is working well. So, I suspect the issue is in software. Am I missed any port configuration. |
Topic: 18F252 not passed LED test [Solved] |
sridevi
Replies: 11
Views: 16405
|
Forum: General CCS C Discussion Posted: Mon Jul 28, 2014 3:11 am Subject: 18F252 not passed LED test |
MCLR pulled up via 10K resistor and Vss are properly grounded. 0.1 micro farad disc capacitor is used for decoupling and Vdd voltage is +4.98V.
CCS compiler version - PCWHD 4.140
Thanks. |
Topic: 18F252 not passed LED test [Solved] |
sridevi
Replies: 11
Views: 16405
|
Forum: General CCS C Discussion Posted: Sat Jul 26, 2014 12:27 am Subject: 18F252 not passed LED test [Solved] |
Hi,
I tried to do a LED blinking test using PIC18f252.
PIC18f252 with 8MHz crystal and 22pf capacitors. LED is connected to PORT A.1. Below is my coding.
#include <18F252.h>
#FUSES ... |
|