I need to communicate between an RS232 and the UART of an 80C2051 microcontroller in order to program another 8051 chip. I have configured the correct settings for the UART set up, all I would really like to do is send a character from RS232 and view it in hyperterminal, writing the software in C language as opposed to Assembly. does any one know the correct way to do this? I have looked at many code examples and they dont really give much as to how this is done for example sending the character '$' and how it is recieved on UART, and how you can check this is correct using Hyperterminal.
based on the little you give, I can only guess
1) Look in the .lst file, you may see that inadvertently you define something twice.
2) You should never include stdio in an assembler file GET RID OF IT
Erik
If this does not solve the problem, then post the whole .lst file, I know it will fill up some spece here, but so be it.