RS232 and Hyperterminal
Posted: Tue Oct 09, 2007 4:25 pm
I am having a problem seeing responses from the PIC in Hyperterminal. I have run a test program to send text and that works O.K.
In my program I loop 2 times to receive an "RS" in an array from the com port. I then check for an "R" and then an "S". I then populate a 6 character array and then loop 6 times, sending one character each time out to the com port.
I have had this work intermittently by responding in 1 out of every 4 commands. But mostly when sending the command from Hyperterminal, I do not get a response. In the simulator, when ever there is something in the queue, everything processes perfectly.
Any ideas on what I should do next?
Thanks,
Chad
In my program I loop 2 times to receive an "RS" in an array from the com port. I then check for an "R" and then an "S". I then populate a 6 character array and then loop 6 times, sending one character each time out to the com port.
I have had this work intermittently by responding in 1 out of every 4 commands. But mostly when sending the command from Hyperterminal, I do not get a response. In the simulator, when ever there is something in the queue, everything processes perfectly.
Any ideas on what I should do next?
Thanks,
Chad