We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all, I have written a program in VC++ to write a char array of 13 bytes on COM port using 9600-N-8-1 parameters. when i send this to my target device it responds, but same program when i send through 89S51 my device does not respond.To set 9600-N-8-1 i have written 0xFD value. Can anyone no the reason for such strange behaviour. Please let me know.... rutu.
Earlier in this thread you said: "I have checked with Hyperterminal it is ok.I get the data on hyperterminal. When i send data from computer using VC++ prog. the microshows it correctly.But i can't read from micro. using same VC++ prog. to read. what might be the problem ?" Summarising this we get: 1) Hyperterminal to 8051 ok 2) 8051 to hyperterminal ok 3) VC to 8051 ok 4) 8051 to VC NOT ok Which pretty much indicates the problem is with your VC program.
may be vc receiver is not ok ? jane