This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Serial Interface & Terminal Program

Hello,
I'm using a C167 Bord with uVision2. My program sets the configurations for the serial port,sends some data via the port and it works in the Serial Window #1 (I see the data which I had sent).

In the next step I wanted to display some values in the HYPER TERMINAL
but nothing happens in the Terminal and I don't know why.

thx for your help.

Parents Reply Children
  • Check the tx-pin of your C167 with an oscilloscope. If it is toggeling then check the tx line after the RS232 transceiver (for example MAX232).

    I wanted to know if you have already succesful loaded an other program (wich only toggels one pin) to the FlashROM. I'm a bit confused about "my program runs with an other application".

  • Just one more late suggestion. You said that that your program displayed Hallo in the simulator serial window. We would suggest that you use the Mode and Assign commands in the simulator and connect the serial window to a com port on your PC. You can then display you simulator I/O via Hyperterminal.
    This will isolate software/hardware bugs.
    Like the other replies, we feel you have a hardware bug.
    Bradford

  • thx. but the problem is I'm measuring some values and I want to send the results to
    Visual C++ or to a Terminal via RS232. I can read and display the results in the Serial Window#1 but I do not know how to send the values to the terminal program or to Visual C++..