Altera_Forum
Honored Contributor
20 years agoRS232-Interface Problems
Hi there,
XP Pro QuartusII5.0 NiosII5.0 2S60-Board I stuck with my uart-interface, just get no response... I wrote a "Hello World" as described in the "Peripherals Handbook" and set the Stdout to UART. In SOPC-Builder, i limited the baudrate to 9600 bps without any flow control, same with my hyperterminal. There are two cases: 1. i set up the connection with Hyperterminal first, then i program my board. Following message appears(in red):nios2-terminal: can't open uart: Permission denied 2. i program my board first and then i start hyperterminal: nios2-terminal: connected to hardware target using UART on /dev/com1 at 115200 baud
nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) My Hyperterminal says "the device ist used" and is not able to connect. Strange that niosII says 115200baud! Although:# define UART1_BAUD 9600 is defined in system.h I also use the right of the two uart-interfaces and the COM-Ports are also the same... Is there someone out with a propose for a solution? I´ll be thankful for everything http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif Regards!