Forum Discussion
Altera_Forum
Honored Contributor
20 years agoioctl
In my application I'm using the JTAG UART as STDIO and one UART. The UART communicates with another application and the JTAG UART is used for service. My problem is that if there is no NIOS2-term...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by smcnutt@Oct 25 2005, 04:17 PM hi andreas,
> has anybody an idea ?
if you set the "reduced device drivers" checkbox in the system library properties,
the ioctl operation is set to null ... in which case i believe the ioctl call will just return
-enotty.
regards,
--scott
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=10571)
--- quote end ---
--- Quote End --- Hi Scott, I think I get the answer to the problem. I have to read out the AC Control BIT in the JTAG UART Control Register via IORD_AVALON.... The AC bit tells an external component is connected through the JTAG connector ( AC bit = set) or not. Once set it could only be reseted by writing a one to the AC bit. (see NIOS II Reference Handbook page 9-13). Thank you for your help Regards, Andreas