hi,
i have wrote keil c coding for serial communication between two controllers.now i trying to write coding in order to perform serial communication between 8051 & PC.in this i face some problem, if any body know the code or if any body know the concepy can you plz forward to me, it will be useful to me.
waiting for your opinion.........
my opinion is that if you have done it for two controllers, doing it between a PC and a controller is more of the same!
Absolutely!
The serial port - whether it's a microcontroller's serial port or a PC's serial port - just sends & receives bytes; it makes absolutely no difference whatsoever where those bytes come from, or where they go to once they've been sent!
Of course, to write the program to run on a PC you will need PC development tools - not Keil tools. For help using PC tools, you need to ask the PC tool supplier...
is that you do not have a MAX232(equivalent) in your circuit.
Erik
can u send me ur c program.because i m also doing a project on "serial communication between pc and 8051 microcontroller "where i will send data from pc to microcontroller.i have a program but it has a few error. my id is sankar_622@yahoo.co.in plz send me ur c program urgently. i will use max 232 as a interfacing device.
Err, was it a degree in * software engineering * IP theft * copying and pasting * ...
P.S
I condemn you to becoming the bright assistant of Erik Malund :-)
i m an ece student and i have to do a project on "serial communication between pc and microcontroller". for that i got a c program but it gives some error when i tried to compile it in keil software.thatswhy i am requisting u to send your program to myemail id.because i think that u also done it.
"i got a c program but it gives some error ..."
What error?
"thatswhy i am requisting u to send your program ..."
Because some unknown-to-us code "gives some error"? That is not a good enough reason.
You urgently need to restrategize how to complete your assignment.
"I have to do a project"
So, who is the one that has to do this project?
What do you suppose that "doing" a project actually entails?
Don't you think that "I have to do a project" means that you are the one that is to write the program yourself?!
IF you can't write the program yourself, can't you at least fix the errors in the one that you've found?
IF you can't write the program yourself, and you can't even fix the errors in the one that you've found, do you think that constitutes having "done" your project?
What is "ece" in this context?
exclusively copying engineering???
Excessive Code Exchange
It is part of the Student Exchange program most universities have.