We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hallo; how can i see a result via hyper terminal (ex: com1) for debug session?? i can see the result via serial window,but i want to see the result via com1.I set the parameters for the PC serial ports using the MODE and ASSIGN command: mode com1 9600,0,8,1 assign com1 <sin> sout when i done the setting ,i still can't see the result from terminal. Anyone could help me? ps:i am not good in english.
If the serial window works for you, why on earth would you want to inflict hypoterminal upon yourself???!!! :-0 IMO, Hypoterminal introduces so many complications that it is more often a hindrance than a help :-( You might want to review this thread: http://www.8052.com/forum/read.phtml?id=21602&top= Anyway, if you really must do this, you will need a PC with two serial ports - one for use by uVision, and one for use by (sigh) hypoterminal. You will need to link them with a suitable cable (not sure if uVision requires any of the handshaking lines - I think not, but check the manual).
Andrew...thanks for your help!! The serial window works for me.But in my code,i put some "ANSI ESCAPE SEQUENCES" for cursor movement, graphics, and keyboard settings for example: printf("\x1B[5m"); //blink on In the serial window,it could not display the effect.So i want to see the result on the hyper terminal. And i obeyed your suggest.But terminal seems to fail(couldn't transfer or receive the data) The way i do: 1.mode com1 9600,0,8,1 assign com1 <sin> sout 2.link com1 and com2 with a suitable cable 3.open a hyper terminal (i had done the config for com2) did i miss anything?? ps:I had tried to express the situation, but it's difficult for me to use English.
"3.open a hyper terminal (i had done the config for com2)" You need to adjust the settings from within hypoterminal Don't forget: although hypoterminal shows the changes immediately on its Status Line, they don't actually take effect until after you disconnect & then reconnect! Just one of the very many annoying and misleading features of hypoterminal to which I alluded earlier :-( Have you also set hypoterminal correctly to recognise your ANSI sequences? Have you tried linking 2 hypoterminal sessions - to check that your cable link is OK?
In the serial window,it could not display the effect.So i want to see the result on the hyper terminal. Right-click the mouse in the serial window and you can change the output mode to display in hexadecimal. That might be helpful. Jon
Now I can see the result on the terminal. I re-check the cable and found the cable was broken. thx a lot for your help.....!!