 | Discussion Forum |  |
|
|
PrintfNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Rodrigo Chacon Posted 1-Dec-2001 20:36 GMT Toolset C51 |  Printf Rodrigo Chacon How do printf with hyper terminal (COM2) my code is bad !!! | | Read-Only Author Mike Kleshov Posted 1-Dec-2001 21:32 GMT Toolset C51 |  RE: Printf Mike Kleshov I don't do 8051, but I'm sure that those who do will not understand the question either. Could you describe the problem in more detail so that people in the forum could help you? Regards, Mike
| | Read-Only Author Andrew Neil Posted 2-Dec-2001 22:01 GMT Toolset C51 |  RE: Printf Andrew Neil You are correct: you cannot do printf with hyperterminal - hyperterminal does not understand 'C' source code!
I presume you mean that you've used printf in your 8051, which is connected via a serial link to your PC's COM2 and thence hyperterminal.
Are you sure that you have hyperterminal correctly configured & connected - port, baud rate, parity, flow control, etc, etc?
Do you have something else (eg, a modem) to check that your hyperterminal is actually working correctly with your COM2?
Are you sure your cabling is all correct?
Have you written the correct serial drivers for your 8051, and correctly configured baud rate, etc, etc?
If you put a scope on your serial link, can you see anything happening?
etc? etc? etc? etc? etc? etc? etc? etc? etc? etc? etc? etc? etc? please clarify the question! | | Read-Only Author Jon Ward Posted 2-Dec-2001 23:41 GMT Toolset C51 |  RE: Printf Jon Ward Beware. Early versions of hyperterminal were not allways fully "functional".
Next, be sure that you have set a valid baudrate for the 8051. You can check the possible baudrates at http://www.keil.com/c51/baudrate.asp
Jon | | Read-Only Author Andrew Neil Posted 3-Dec-2001 10:23 GMT Toolset C51 |  RE: Printf Andrew Neil Early versions of hyperterminal were not allways fully "functional".
that's the polite way of putting it ;-)
IMO, hypoterminal is more trouble than it's worth.
| | Read-Only Author Jon Ward Posted 3-Dec-2001 17:41 GMT Toolset C51 |  RE: Printf Jon Ward That's why some brite individual here copied the terminal program from Windows 3.1 and used that!!!
Jon | | Read-Only Author Andrew Neil Posted 3-Dec-2001 20:23 GMT Toolset C51 |  RE: Printf Andrew Neil A very sensible chap, I'd say! | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|