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

Problems in assigning Serial I/O to a PC COM Port

I am working on a project that makes acquisition of signal from a GPS via serial port.I am trying to debug my code following the example of the pdf Getting Stared:
MODE COM1 4800,0,8,1
ASSIGN COM1 <S0IN >S0OUT

I get the following error:
error 30: undefined name of virtual register
I cannot understand the reason of the error.Can someone help me, please?

  • Hi there Amilcar,

    Not sure I can't understand the specific
    problem you're having, but I take it that the gyst of what you're getting at is you have a GPS system, and you want to read in
    its serial output into your
    microprocessors serial input.

    If you're trying to get a feel for what
    comes out of the GPS system (and want to
    check that you have the serial settings
    correct) then why not use something like
    hyperterm on the PC (I know that there are
    those on this list who don't like it, but it will get you going - personally I've never found it troublesome!).

    You can then also use hyperterm to send signals to you microprocessor to help commission whatever code you have to read in
    text over the RS232 setup - note thought that this has been done many times before - you don't necessarily have to reinvent this wheel.

    Is this of any use?


    Yours,

    Richard.

  • Hi,

    the registers are sin and sout.

    mode com1 9600, 0, 8, 1
    assign com1 <sin> sout