rwyoung
Joined: 12 Nov 2003 Posts: 563 Location: Lawrence, KS USA
|
|
Posted: Thu Feb 19, 2004 3:18 pm |
|
|
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! |
|