Forum Discussion

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

Can't connect to USB serial port with nios2-terminal

I have a Bemicro board, which includes a FTDI virtual com port, and I cannot connect to it using nios2-terminal under windows. The com port is COM4 and hyper-terminal works perfectly.

When I use "/dev/com4", nios2-terminal responds that there is no such file or directory. I checked and there is no "\dev" directory. I'm not sure if cygwin will handle this on the fly or not.

Can anyone help me out?

2 Replies

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

    --- Quote Start ---

    I have a Bemicro board, which includes a FTDI virtual com port, and I cannot connect to it using nios2-terminal under windows. The com port is COM4 and hyper-terminal works perfectly.

    When I use "/dev/com4", nios2-terminal responds that there is no such file or directory. I checked and there is no "\dev" directory. I'm not sure if cygwin will handle this on the fly or not.

    Can anyone help me out?

    --- Quote End ---

    Make

    --- Quote Start ---

    ls /dev/tty*

    --- Quote End ---

    and show result.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    show result.

    --- Quote End ---

    Sorry, didn't work. Same error:

    
    $ nios2-terminal --uart --port=/dev/tty4 --baud-rate=115200
    nios2-terminal: can't open uart: No such file or directory
    
    I tried tty0 to tty5. I am trying to use COM4.

    No "dev" directory.

    
    $cd / && ls -a
    ./        COPYING.LIB*       Cygwin.bat*   bin/         etc/   tmp/
    ../       COPYING.LIBGLOSS*  Cygwin.ico*   cygdrive/    lib/   usr/
    COPYING*  COPYING.NEWLIB*    LICENSE.TXT*  cygreg.bat*  proc/  var/