<div class='quotetop'>QUOTE </div>
--- Quote Start ---
1. how can I open the uart for non blocking read ?[/b]
--- Quote End ---
As you put it in your example, this opens the UART non-blocking
int fdterm; // FILEDESCRIPTOR RETURNED BY OPEN
flags= O_RDWR | O_NONBLOCK | O_NOCTTY;
fdterm = open(devicename,flags);
<div class='quotetop'>QUOTE </div>
--- Quote Start ---
2. how can I do "blocking output" with "non blocking read" ?[/b]
--- Quote End ---
Open it twice i.e.
int fdterm; // NON BLOCKING FILEDESCRIPTOR RETURNED BY OPEN
int fdterm_block; // BLOCKING FILEDESCRIPTOR RETURNED BY OPEN
flags= O_RDWR | O_NONBLOCK | O_NOCTTY;
fdterm = open(devicename,flags);
flags= O_RDWR | O_NOCTTY;
fdterm_block = open(devicename,flags);
Use the appropriate handle depending upon whether you want blocking or non-blocking behaviour
<div class='quotetop'>QUOTE </div>
--- Quote Start ---
3. how can I disable RTS/CTS in software ?[/b]
--- Quote End ---
You can't it's asssumed that if you selected this hardware in SOPC Builder you will want the software. If you don't want RTS CTS turn it off in SOPC builder and save yourself some hardware resources