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 support@ccsinfo.com

rs232 getc problem

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



Joined: 21 Oct 2010
Posts: 85

View user's profile Send private message

rs232 getc problem
PostPosted: Fri Nov 05, 2010 2:21 pm     Reply with quote

Hi,

I try the sample ex_mmcsd.c to write a file on an sd card. PIC is 18F2620.
The printf function is ok, but the getc function doesn't work.
I seen on my oszi, that the byte are incoming on port rc7, but nothing happens.

Anybody have an Idea?

Best regards
Volker
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Nov 05, 2010 4:45 pm     Reply with quote

Start with a simple test program to find the problem with rs232 receiving.
See the getc/putc program that I have posted in this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=40001
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