Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Connecting to the COM port

Altera_Forum
Honored Contributor II
1,668 Views

Hello, good day to everyone! 

 

I own a BeMicro arrow kit and i've follow the embedded lab tutorial without problems (www.arrow.com/bemicro). 

 

Everything works fine on my system but i want to do something different. 

 

I am currently using the input/output stream as a JTAG_UART, when i tell the NIOS II - Eclipse IDE to run on my hardware i can input data and see the output on the NIOS II Console with no problems. 

 

But i would like to see the output on the HyperTerminal instead, how can i do this? I have a RS 232 UART inside my SOPC design but i can't configure it properly since i can't see anything on my HyperTerminal. 

 

I am just starting with FPGAS/ALTERA, thanks for the help!
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
409 Views

It could be that your BSP/system library is configured to use the JTAG UART still. Make sure that the RS-232 UART is selected for standard in/out in the BSP/system library settings so that your messages get send to the correct UART.

0 Kudos
Altera_Forum
Honored Contributor II
409 Views

That's exactly what i did but it returned me an error when i selected run as NIOS II hardware, eclipse told me that the port was already in use by another program or something like that.

0 Kudos
Altera_Forum
Honored Contributor II
409 Views

 

--- Quote Start ---  

I have a RS 232 UART inside my SOPC design but i can't configure it properly since i can't see anything on my HyperTerminal. 

--- Quote End ---  

 

Did you connect the RS232 UART to the respective FTDI Rx/Tx pins C8/D8? Did you select the virtual COM-Port assigned to the BeMicro RS232 channel in Hyperterminal? Did you set the same baud rate in Hyperterminal and your UART IP? Did you verify, e.g. with SignalTap II, that the UART is sending out correct frames to the TxD pin D8?
0 Kudos
Altera_Forum
Honored Contributor II
409 Views

Did you connect the RS232 UART to the respective FTDI Rx/Tx pins C8/D8?  

 

i don't know, how can i know that? my kit is like a pendrive (www.arrow.com/bemicro) 

 

Did you select the virtual COM-Port assigned to the BeMicro RS232 channel in Hyperterminal? 

yes i guess, i did see it on my hardware devices and connected to it with the hyperterminal 

 

Did you set the same baud rate in Hyperterminal and your UART IP? 

yes 

 

Did you verify, e.g. with SignalTap II, that the UART is sending out correct frames to the TxD pin D8? 

how can i do that? 

 

 

I am newbie, just followed the tutorial :S
0 Kudos
Altera_Forum
Honored Contributor II
409 Views

 

--- Quote Start ---  

That's exactly what i did but it returned me an error when i selected run as NIOS II hardware, eclipse told me that the port was already in use by another program or something like that. 

--- Quote End ---  

 

 

Ah that might be because Eclipse and Hyperterminal are both trying to use the port. What you could do is use nios2-download from the command line to download your code and then use hyperterminal for the standard in/out. When you download via Eclipse it automatically opens the console which is most likely conflicting with Hyperterminal. 

 

By the way I used to use a program called brayterminal (sp?), it was lightyears ahead of hyperterminal so you might like it better. I don't know if it's around still though.
0 Kudos
Altera_Forum
Honored Contributor II
409 Views

Or even the serial interface option on putty. 

hyperterminal isn't really 'hyper' at all.
0 Kudos
Altera_Forum
Honored Contributor II
409 Views

Thanks i guess that was the problem.

0 Kudos
Reply