hello sir/madam , i am doing project on serial communication between pc and 89c52.all the connections are correct. but the problem is with the receiving of the data in the hyperterminal. when i press some letters in hypeterminal some other letter will be displayed; i am not getting what is the and where is the fault.. could you suggest me some solutions.. thanking you
thank you madam for your reply....actually i am doing my project and i am stuck in the programming part... i will make changes in the code and i will let you know the result..thank you again...
madam , when i am executing the above code (with tha above modifications), only "FF" is getting displayed in the hyperterminal when i press the characters from the keyboard.... i am not getting the where is the fault... will you provide me the code.. or the link where i can get some help on the code.. please...
madam
What about us poor males? What about us? Aren't you going to ask us? What about us? What?!?!?!
ya sure sir, but till now i am getting the satisfactory answer from madam only...thats y i mentioned madam... can you give me the solution for that..
And the first step to getting un-stuck is to properly comment the code that you have!
"i will make changes in the code"
There is no point in making random changes in the code if you aren't even sure what the current code does!
Above code is for receiving characters.
I think you are displaying the characters which you have typed from keypad.(if not then tell me what actually you want to do?)
for this first you take character from keypad, save it in one register, and then transmit it to hyper terminal.
And what about the link that I gave you in your other thread?
http://www.8052.com/faqs
Have you studied it yet?
Did you learn anything?
Have you checked all settings - baud rate, parity, etc - and on both the PC and the microcontroller?
You didn't say how you know that your connections are correct...
"i will make changes in the code" .. i mean to say that i will include the some steps suggested by shital madam. i also don't change the code randomly.. because i need to complete my project as early as possible..!!!!
i also don't change the code randomly..
I have a feeling that is "shital madam" would tell you to, you would...
dear Tamir Michael i am not getting why this is so.. (being an expert(hope so!))instead of giving steps to solve a problem you are replying something non sense...if you know the solution then give.. if you don know then..i think you can sit quite...
I don't understand why you refuse to really do what has been proposed to you (you are not alone, alas). Throughly read the user manual. Comment your code. All of it. Verify hardware settings on all parties involved. Test. Fly. Buy. Bye.
The steps have been given, and the first is to ensure that you fully understand the code that you have to start with!
An excellent way to ensure that you fully understand the code is to go through it carefully and comment what it is doing.
Once you fully understand the existing code, then - and only then - you can move on to modifying it...
The first thing you need to do, then,... Andy Neil ...is to go through that code and provide comments that describe what you think it is supposed to be doing! Andy is SO right!
OMG! That was in true Code Monkey violation. Time to put the monkey down: Euthasol with a touch of Phenytoin should do the trick.
--Cpt. Vince Foster 2nd Cannon Place Fort Marcy Park, VA