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

Receiving text through RS232 with hyper terminal

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



Joined: 21 Jan 2004
Posts: 12

View user's profile Send private message Send e-mail MSN Messenger

Receiving text through RS232 with hyper terminal
PostPosted: Thu Feb 19, 2004 2:58 pm     Reply with quote

HI!

I have a problem I want to send a text file or the content of the text file through RS232 so my PIC can get the data and store it in my memory the memory part is OK its the receiving part that I have no idea how to go about it can someone please HELP!! Confused

Thanx
rwyoung



Joined: 12 Nov 2003
Posts: 563
Location: Lawrence, KS USA

View user's profile Send private message Send e-mail

PostPosted: Thu Feb 19, 2004 3:18 pm     Reply with quote

Are you asking for help with Hyperterminal. with receiving serial data on a PIC or both?

Hyperterminal has a menu option Transfer | Send File and Transfer | Send Text File.

The Send File option supports Xmodem, Ymodem, Zmodem, etc. Send Text File streams the conents of an ASCII file out the serial port with no CRC or other checking (except for what is enabled in the com port setup).

To receive a file on the PIC, you need to configure the UART (hardware or software, hardware is prefered) and for streaming things you should set up the INT_RDA interrupt. There is a pretty good piece of sample code in the PICC\Examples subdirectory. Look at the compiler's help file for INT_RDA and you will eventually find the file name for the example files.

Enough to get your started?
_________________
Rob Young
The Screw-Up Fairy may just visit you but he has crashed on my couch for the last month!
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