i need to write a program to send a set of data from PC to 8051 through the rs232. How can find the sample source code and referance material for that. Thx for your help.
Have you looked at the 'measure' example in the uVision Getting Started guide? There are also other examples in the downloads section. Mark Odell has also published an interrupt-driven UART Driver via this forum - use the 'Search'