Author |
Message |
Topic: PIC18F252 software program |
Vovachess
Replies: 3
Views: 5366
|
Forum: General CCS C Discussion Posted: Mon May 15, 2006 5:33 am Subject: PIC18F252 software program |
Hello
Thank you very much for your answers! It looks like really this problem.
I ll check it. It is really strong error......!!!!
Thanks you |
Topic: PIC18F252 software program |
Vovachess
Replies: 3
Views: 5366
|
Forum: General CCS C Discussion Posted: Mon May 15, 2006 2:50 am Subject: PIC18F252 software program |
I have one nice problem with my software on PIC18F252.
In the software I have parameters defined in ram:
unsigned char inbuffer[60];/*input/output buffer*/
unsigned char Mode_Power1=2;/*Working ... |
Topic: ICD programming PIC16F874 |
Vovachess
Replies: 2
Views: 10458
|
Forum: General CCS C Discussion Posted: Fri Mar 10, 2006 3:54 am Subject: ICD programming PIC16F874 |
Hello.
I have problem with ICD-U40 programming of PIC16F874-
I have the simpliest programm:
#include <16F874A.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=4000000)
#use rs232(b ... |
Topic: OSCCAL bit calibration |
Vovachess
Replies: 2
Views: 4378
|
Forum: General CCS C Discussion Posted: Wed Jan 04, 2006 8:52 am Subject: OSCCAL bit calibration |
Thanks
I cheched hex file.
It works. |
Topic: OSCCAL bit calibration |
Vovachess
Replies: 2
Views: 4378
|
Forum: General CCS C Discussion Posted: Wed Jan 04, 2006 3:46 am Subject: OSCCAL bit calibration |
Hello.
How correctly to calibrate oscillator to 4Mhz of PIC10F204? There is calibration word saved at 0xFF. What to do with it? How does software must look like?
Thanks |
Topic: Problem with I/O |
Vovachess
Replies: 4
Views: 7858
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2005 10:21 am Subject: Problem with I/O |
Thanks ckielstra |
Topic: Problem with I/O |
Vovachess
Replies: 4
Views: 7858
|
Forum: General CCS C Discussion Posted: Tue Oct 04, 2005 8:49 am Subject: Problem with I/O |
I use code below to just turn 3 pins on and off. With this code works only PIN2. Pin0, and PIN1 dont change their states from low to high and visaversa. Whats wrong....
#include <10F206.h>
... |
Topic: Internal Oscillator calibration |
Vovachess
Replies: 8
Views: 9077
|
Forum: General CCS C Discussion Posted: Thu Aug 25, 2005 7:25 am Subject: Internal Oscillator calibration |
Thanks for advice.
The funny thing. I use MPLAB. I configure bits in MPLAB, So i Use no
#fuses derective. If I use it, this code will be compiled.
Thanks |
Topic: Internal Oscillator calibration |
Vovachess
Replies: 8
Views: 9077
|
Forum: General CCS C Discussion Posted: Thu Aug 25, 2005 6:53 am Subject: Internal Oscillator calibration |
My compliler doesnot automatically load from the top of memory this byte----
According to the listing that I get!!!!
How to do it automatically?
Realy Thanks for help |
Topic: Internal Oscillator calibration |
Vovachess
Replies: 8
Views: 9077
|
Forum: General CCS C Discussion Posted: Thu Aug 25, 2005 6:36 am Subject: Internal Oscillator calibration |
Wau.... Super code....
I see my listing.... The compiler does not generate this code.
How to enable this feature that compiler will do this code?
Thanks a lot!!!!!! |
Topic: Internal Oscillator calibration |
Vovachess
Replies: 8
Views: 9077
|
Forum: General CCS C Discussion Posted: Thu Aug 25, 2005 5:38 am Subject: Internal Oscillator calibration |
Aha. I think at the beginning of program I must read the value from 0x03FF address and then load it to ASCCAL register!�.. by programming I must see, that value at address 0x03FF will not be erased.
... |
Topic: Internal Oscillator calibration |
Vovachess
Replies: 8
Views: 9077
|
Forum: General CCS C Discussion Posted: Thu Aug 25, 2005 5:25 am Subject: Internal Oscillator calibration |
Thanks for explanation.
The code is not very time critical.
I have question:
The calibration value is automatically loaded for you from the top of memory by the compiler�
Controller PIC12F269 has ... |
Topic: Internal Oscillator calibration |
Vovachess
Replies: 8
Views: 9077
|
Forum: General CCS C Discussion Posted: Thu Aug 25, 2005 4:06 am Subject: Internal Oscillator calibration |
Hello All.
Internal Oscillator calibration
I wonder if you explain what to do with Internal Oscillator calibration byte.
I have application where I use Internal Oscillator and application is ver ... |
Topic: Converting bytes |
Vovachess
Replies: 11
Views: 10638
|
Forum: General CCS C Discussion Posted: Tue Aug 23, 2005 9:01 am Subject: Converting bytes |
Thank. You use always div!!!! It is to long for controller. I d like to do the same but with simlpe operation ... like >>,<<, &. Are there any ideas how to do it? |
Topic: Converting bytes |
Vovachess
Replies: 11
Views: 10638
|
Forum: General CCS C Discussion Posted: Tue Aug 23, 2005 8:16 am Subject: Converting bytes |
125 is dec, not hex!
How to divide it correctly? exmlps...... |
|