Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

problem with receive and transmit using rs232

problem with receive and transmit using rs232

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    My crystal ball is unfortunately broken right now, which makes it difficult to find out what your "problem" is.

    A first indication is that you seem to use code that was written for PIC microcontrollers, and this certainly won't compile properly on the Nios platform. Use the proper standard I/O functions.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    What is at the other end of your rs232 link.

    Avoid hyperterminal, it will only cause you grief.

    The serial support in putty is much less user-hostile.