JTAG_UART with no PC make trouble
Hello
When I use JTAG_UART as my standard stdout and use print I get problem. When there is a host open oon the other side every thing go well. But when I don't have host open I get JTAG_UART behaiver of low traffic , problem to move lot of data by the TSE and long time to astablish a socket prot.
I have read here: https://www.intel.com/content/www/us/en/support/programmable/articles/000077865.html that the reason for that can come from 2 places.
1. Or use small mode
2.No clk attach to the driver.
I check the mode I use and confirm I don't use the small mode.
I check the clk and see that I config sys_clk_timer for the hal -> sys_clk_timer.
My next suspicion is a long time timeout setting.
SO I read that by useing ioctl() function and specific the define TIOCSTIMEOUT I can handle the time and also can check if there a remote host by onther define TIOCGCONNECTED, but I don't know how and where to use them.
Is there a user guide or any explaniation to handle them?
Is there anther way to solve the problem I face?
Thanks.
Bar.