CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

getc() fails after calling write_eeprom

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Prabu
Guest







getc() fails after calling write_eeprom
PostPosted: Sun Jun 01, 2003 3:41 am     Reply with quote

I'm using CCS C Version 3.0.0.5 and I'm using PIC 16F84 for Searial port communication. My program works fine for RS 232 communication (I'm able to receive and send data to/from serial port). Later I added write_eeprom function in my application (Data is properly stored in EEPROM), after calling write_eeprom, my getc() function fails to receive data from Rs-232 serial port.

Any suggestion..
___________________________
This message was ported from CCS's old forum
Original Post ID: 144514921
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

Re: getc() fails after calling write_eeprom
PostPosted: Sun Jun 01, 2003 11:23 am     Reply with quote

:=I'm using CCS C Version 3.0.0.5 and I'm using PIC 16F84 for Searial port communication. My program works fine for RS 232 communication (I'm able to receive and send data to/from serial port). Later I added write_eeprom function in my application (Data is properly stored in EEPROM), after calling write_eeprom, my getc() function fails to receive data from Rs-232 serial port.
:=
:=Any suggestion..

If possible, update your compiler version.(Assumming you had re-checked your code looking for errors).
I had the same problem (then I realized that the compiler interrupt handler was wrong). I tested every function and all was OK, when I enable a few of them, the program crash. I updated the compiler and all this kinds of roblems "maggically" dissapears.
Also, take a look at CCS site in Compiler Version.

Regards,

Humberto
___________________________
This message was ported from CCS's old forum
Original Post ID: 144514928
_________________
Humber
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group