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

2 Serial Ports, but only one Serial Window definable

Maybe I am missing something in the documentation, but I cannot find where to configure a second serial port and assign it as a VTREG S1IN and S1OUT. I am able to debug the first serial port using SIN and SOUT.

Any help is appreciated

Parents Reply Children
  • "It is possible the problem to be serial port config?
    MODE COM1 38400, 2, 8, 1"


    Is that what your external device is using?

    Have you tried just using hypoterminal?

  • >>Is that what your external device is using?

    Yes.

    >>Have you tried just using hypoterminal?

    I tried a much better one: "Terminal v1.9b"

    But remember I want the data from the device, not from a terminal...
    Anyway, I'm gona to try with the kit and let the simulator for other purposes.

  • "But remember I want the data from the device, not from a terminal..."

    Of course, but first you need to verify that the connection between the device & the PC is actually working.

    So, using your "Terminal v1.9b," can you send data to the device and receive data from the device using the same cable and COM port that you will use with the simulator?

  • Hi again & again :)

    >So, using your "Terminal v1.9b," can you send
    >data to the device and receive data from the
    >device using the same cable and COM port that
    >you will use with the simulator?

    Yes.
    Also, i made a program for windows command prompt to test that the M02 is working first.

    With the simulator data from outside does not arrive in uVision (and I see is comming) ...
    An example:

    I send from the simulator:
    #06#FF#52#00#0F#6E
    the external device is responding (I see this with Advanced Serial Port, Spy Mode):
    #06#00#52#00#FC#A8
    , but nothing comes back in the simulator.