dear sir, My project is to interface a 8051 with a pc.. i have to send datas through pc and this will rotate a motor. the results from microcntroller are displayed in the pc.. but in the pc the data s are getting lost and they are not displayed. please help me
You have given too little information to allow anyone to help with your school project.
When something doesn't work, you must debug your program(s). How do you know your data is lost in the PC? How do you know the microntroller sends any data? How do you know the microcontrollers sends the data in a format the PC can receive? How do you know the PC and microcontroller are corerctly connected?
It doesn't matter what steps the hyperterminal takes to display received characters.
Why?
If you use the Hyperterminal, then you don't need to know.
If you use your own PC program instead of the Hyperterminal, then it doesn't matter what steps the Hyperterminal does. What matters is what steps your own program should take. But you don't hve to care about more steps than: Receive + Display. How to receive serial data on the PC is well documented. How to display depends on what output device you have, and what language and framework you have selected. But it doesn't matter if the data comes from the serial port or not. You display received characters in the same way you would display any other text created during run-time.
But you have still ignored my questions. What makes you think that the 8051 sends characters to the PC, and that the data is lost in the PC? Ignoring problems is not a good strategy for getting them solved!
See: www.8052.com/.../120313
Note that http://www.8052.com/faqs also contains a whole section on serial comms...
A basic test for an RS232 port: www.8052.com/.../165776
View all questions in Keil forum