Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

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

Altera_Forum
Honored Contributor II
2,730 Views

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?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
1,272 Views

 

--- 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.
0 Kudos
Altera_Forum
Honored Contributor II
1,272 Views

 

--- 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/
0 Kudos
Reply