Author |
Message |
Topic: CCSC commandline option |
chen
Replies: 2
Views: 7929
|
Forum: General CCS C Discussion Posted: Fri Oct 29, 2004 2:43 pm Subject: CCSC commandline option |
Thanks |
Topic: CCSC commandline option |
chen
Replies: 2
Views: 7929
|
Forum: General CCS C Discussion Posted: Fri Oct 29, 2004 10:58 am Subject: CCSC commandline option |
Since my source supports several devices, based on some #define symbols, I decide to use the commandline option batch file.
According to the help file, I construct one like this
c:\progra~1\picc ... |
Topic: Is this an error from CCS? |
chen
Replies: 5
Views: 11314
|
Forum: General CCS C Discussion Posted: Thu Oct 28, 2004 12:16 pm Subject: Is this an error from CCS? |
Thanks, I will follow your suggestions |
Topic: Is this an error from CCS? |
chen
Replies: 5
Views: 11314
|
Forum: General CCS C Discussion Posted: Wed Oct 27, 2004 2:41 pm Subject: Is this an error from CCS? |
BTW, I am using PIC18F8620 with CCSC 3.212
and I initialize MMCPOWERE =0 |
Topic: Is this an error from CCS? |
chen
Replies: 5
Views: 11314
|
Forum: General CCS C Discussion Posted: Wed Oct 27, 2004 2:40 pm Subject: Is this an error from CCS? |
I define
#bit GRNLED_SEL = PORTF.2
#bit MMCPOWERE = TRISF.3
#bit MMCPOWER = LATF.3
When I assign GRNLED_SEL=1, it affects the state of MMCPOWER. |
Topic: Question/Trouble in using #fuses |
chen
Replies: 10
Views: 17741
|
Forum: General CCS C Discussion Posted: Tue Oct 05, 2004 12:28 pm Subject: Question/Trouble in using #fuses |
PCM programmer & treitmey:
Thanks for your time
As I stated in my last post, I finally realized my test condition was not really a brown-out case, but a slow discharging, thus I will not see ... |
Topic: Question/Trouble in using #fuses |
chen
Replies: 10
Views: 17741
|
Forum: General CCS C Discussion Posted: Tue Oct 05, 2004 10:56 am Subject: Question/Trouble in using #fuses |
Thanks, I will confirm that.
According to the 18F8620 user manual (section 3.5) and my setup, brownout reset should occur when supply is below 4.2V for more than 200us, and the chip will remain in ... |
Topic: Question/Trouble in using #fuses |
chen
Replies: 10
Views: 17741
|
Forum: General CCS C Discussion Posted: Tue Oct 05, 2004 7:30 am Subject: Question/Trouble in using #fuses |
I just tried CCS 2.212, and the fuses were set correctly.
Now, a new question:
When I gradually lower the power supply voltage from 5 all the way down, until the PIC quits, I don't see the Brown ... |
Topic: Question/Trouble in using #fuses |
chen
Replies: 10
Views: 17741
|
Forum: General CCS C Discussion Posted: Mon Oct 04, 2004 2:15 pm Subject: Question/Trouble in using #fuses |
Thanks for your quick reply.
I tried BROWNOUT, and it simply doesn't work at all with CCS 3.186, but BORV42 works fine.
I will try some later version of CCS to see if it works there |
Topic: Question/Trouble in using #fuses |
chen
Replies: 10
Views: 17741
|
Forum: General CCS C Discussion Posted: Mon Oct 04, 2004 12:52 pm Subject: Question/Trouble in using #fuses |
I am using Picc 3.186
BTW:
How do I specify 4.2V brownout voltage?
How do I detect a brownout from the software? (Checking RCON register?) |
Topic: Question/Trouble in using #fuses |
chen
Replies: 10
Views: 17741
|
Forum: General CCS C Discussion Posted: Mon Oct 04, 2004 12:15 pm Subject: Question/Trouble in using #fuses |
I am using 18F8620 in my design, and my application requires Brownout detect with Brown out voltage at 4.2V.
1) When I use #fuses to set up BROWNOUT as:
#include <18F8620.h>
#fuses HS,NOW ... |
|