Author |
Message |
Topic: PIC 18F4550 modifying internal eeprom |
otavio_fisica
Replies: 3
Views: 5417
|
Forum: General CCS C Discussion Posted: Wed Jun 17, 2009 2:12 pm Subject: Different compiler version, same problem |
Thanks for your ready answer.
I have just made the same tests with the compiler 4.088 from a friend. The problem still persists. Does anybody have any ideas about this? |
Topic: PIC 18F4550 modifying internal eeprom |
otavio_fisica
Replies: 3
Views: 5417
|
Forum: General CCS C Discussion Posted: Wed Jun 17, 2009 1:19 pm Subject: PIC 18F4550 modifying internal eeprom |
Hi everyone,
Here I am for sharing a problem I have with PIC18F4550.
The problem is that when I try to run a large program (typically 97% of the rom memory) the pic starts changing the values from ... |
Topic: External program memory |
otavio_fisica
Replies: 7
Views: 8864
|
Forum: General CCS C Discussion Posted: Mon Mar 23, 2009 10:49 am Subject: External program memory |
Well, I need a chip which is compatible with the PIC18F4550 so as I can substitute it in my project without having to change the whole project.
Isn't it possible to use an external memory chip as p ... |
Topic: External program memory |
otavio_fisica
Replies: 7
Views: 8864
|
Forum: General CCS C Discussion Posted: Sun Mar 22, 2009 1:35 pm Subject: External program memory |
It's because I need the USB function. So, I have two options: I use an external USB chip such as FTDI or I use an external program memory. Do you have some ideia of which would be the easiest option? |
Topic: External program memory |
otavio_fisica
Replies: 7
Views: 8864
|
Forum: General CCS C Discussion Posted: Sun Mar 22, 2009 9:38 am Subject: External program memory |
Hi everybody.
I have a problem. I need to include more code on my PIC 18F4550, however, its program memory is already in its maximum. Does somebody know if it's possible to use an external flash mem ... |
Topic: Problem with serial communication between 18F4550 and 16F689 |
otavio_fisica
Replies: 4
Views: 5941
|
Forum: General CCS C Discussion Posted: Tue Sep 18, 2007 9:55 am Subject: Problem with serial communication between 18F4550 and 16F689 |
Well, that solved the problem!!! But why? What was happening?
And about sending a float number through RS232, do you have any ideas?
Thanks a lot!!! |
Topic: Problem with serial communication between 18F4550 and 16F689 |
otavio_fisica
Replies: 4
Views: 5941
|
Forum: General CCS C Discussion Posted: Mon Sep 17, 2007 8:28 pm Subject: Problem with serial communication between 18F4550 and 16F689 |
I told in the text that I've put the semi-colons just to make the code easier to be read here in the post... sorry. I did not know I couldn't do that... I'll put that fuses here, the way they are in t ... |
Topic: Problem with serial communication between 18F4550 and 16F689 |
otavio_fisica
Replies: 4
Views: 5941
|
Forum: General CCS C Discussion Posted: Mon Sep 17, 2007 7:46 pm Subject: Problem with serial communication between 18F4550 and 16F689 |
Hello people.
Here I come with a problem related to the RS232 communication between PIC18F4550 and PIC16F689. The 16F689 keeps sending data to the 18F4550 which receives only. The problem is that som ... |
Topic: Problems with ADC in the PIC16F689 |
otavio_fisica
Replies: 8
Views: 8181
|
Forum: General CCS C Discussion Posted: Mon Jul 30, 2007 9:17 am Subject: I tried this other code |
I tried this other code:
while(true){
angulo = 0;
for (i=1;i<=3; i++){
putc(i);
delay_ms(200);
parcial = read_adc();
... |
Topic: Problems with ADC in the PIC16F689 |
otavio_fisica
Replies: 8
Views: 8181
|
Forum: General CCS C Discussion Posted: Mon Jul 30, 2007 7:16 am Subject: Problems with ADC in the PIC16F689 |
Oh, I forgot... I tried to do it with that delay of 100us and then I changed to 200ms, for PCM said it was too fast. The result was the same for both the delays.
Just one more information.
Thanks f ... |
Topic: Problems with ADC in the PIC16F689 |
otavio_fisica
Replies: 8
Views: 8181
|
Forum: General CCS C Discussion Posted: Mon Jul 30, 2007 7:13 am Subject: It still does not work |
I do not have any ICD attached to my system. Yet I tried to change the pin, but the result was the same. After many tests, I tried the following code:
float media,final;
int16 i, angulo, parcial;
... |
Topic: Problems with ADC in the PIC16F689 |
otavio_fisica
Replies: 8
Views: 8181
|
Forum: General CCS C Discussion Posted: Sun Jul 29, 2007 7:07 am Subject: Problems with ADC in the PIC16F689 |
I also do not have a debugger in my system.
I forgot logging in in the last reply. Sorry. |
Topic: Problems with ADC in the PIC16F689 |
otavio_fisica
Replies: 8
Views: 8181
|
Forum: General CCS C Discussion Posted: Sat Jul 28, 2007 9:49 pm Subject: Problems with ADC in the PIC16F689 |
Hi...
I have some problems with the A/D converter of the PIC 16F689. The code I am using is the following:
long int angulo;
void main()
{
setup_adc_ports(sAN0|VSS_VDD ... |
Topic: Problem with the real time clock PCF8563 |
otavio_fisica
Replies: 4
Views: 8656
|
Forum: General CCS C Discussion Posted: Sun Jul 22, 2007 8:54 pm Subject: That's it!! |
Thank you PCMprogrammer. You have just solved my problem. It was the i2c_read(0). I haven't paid enough attention to the datasheet. Thank you very much. |
Topic: Problem with the real time clock PCF8563 |
otavio_fisica
Replies: 4
Views: 8656
|
Forum: General CCS C Discussion Posted: Sun Jul 22, 2007 7:33 pm Subject: Problem with the real time clock PCF8563 |
Hi. I am trying to built a system with the PCF8563 chip. But I got into troubles when trying to make it work. I can't set the time correctly. I program it to be set at 10:5:0 (time) and 15/7/7 (date d ... |
|