Forum Discussion
Altera_Forum
Honored Contributor
15 years agoLinux freeze JTAG problem
Hi all, I've got a problem on my board. Whereas I selected in Device Drivers-> Character devices -> Serial drivers : [*] Bypass output when no connection My uClinux freeze after 5 minute...
Altera_Forum
Honored Contributor
14 years agoHello guys,
i had this problem either but without using uCLinux. The same problem appears when using the µC/OS-II operating system. There the problem lies within the altera hal. I could fix it, using the following defines symbols (for the preprocessor): ALTERA_AVALON_JTAG_UART_BUF_LEN=8192 This increases the buffer. And within the source-code i used this ioctl to setup the non-blocking mode: fcntl(STDOUT_FILENO, F_SETFL, O_NONBLOCK); fcntl(STDERR_FILENO, F_SETFL, O_NONBLOCK); I don't know if this sollution can be ported to uCLinux?!