Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Mon Nov 22, 2004 7:27 am |
|
|
Quote: | 1. How can I port the code to 16F877 Mcu. |
Did you look at the file? That's what the default include is!
Code: | #if defined(__PCM__)
#include <16F877.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=20000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7) // Jumpers: 8 to 11, 7 to 12 |
Quote: | 2. I do not have the Evaluation Board required by the example. I have instead a board that uses
MAX 232 IC to connect to the COM port. The mcu used is PIC 16F877. Is it possible to use this
board.
|
Yes
Quote: |
3. The serial cable is a null modem with only the Rxd and the Txd pins crossed over and does
not have any other pins connected . Do I have to cross the RTS and CTS for XON/XOFF flow controls
Is it possible to ignore flow control completely ???
|
XON/XOFF is software flow control. No hardware connections (RTS and CTS). You need software flow control
Quote: | 4. Kindly also advise how I can upload a program to the mcu using hyperterminal.
| Use the transfer->send text file and send the hex file
Quote: | 5. Alternative bootloaders will also do if the CCS bootloader cannot be modified.
| Goolge it or search this board. Lots of info. |
|