- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Guys,
Help! I cannot Change ISO C Library Default console to anything other than "/dev/ttydiag" I have currently jtag_uart and a uart_0 setup in SOPC builder for nios2. I setup tty0 to use uart_0. using cyg_io_lookup and cyg_io_write, I can write to the /dev/tty0. But when I change the ISO C library default console to /dev/tty0, nothing gets outputted to my serial port?Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by kevw201@Sep 28 2005, 12:10 PM hey guys,
help! i cannot change iso c library default console to anything other than "/dev/ttydiag"
i have currently jtag_uart and a uart_0 setup in sopc builder for nios2.
i setup tty0 to use uart_0.
using cyg_io_lookup and cyg_io_write, i can write to the /dev/tty0. but when i change the iso c library default console to /dev/tty0, nothing gets outputted to my serial port?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=10023)
--- quote end ---
--- Quote End --- What is the correct way to do this ? I too want to use the console for my app and diag_* for diagnostics. Thanks Robert.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page