uart communication
I am running a 1S10 board and freestanding application to communicate over an RS232 cable to a PC. I have a GUI running on a PC sending about a 30 Hz status message that expects a NIOS response but times out in about 10 ms if nothing is received and sends again (115,200 bps and 22 bytes per message). I noticed a problem with the communication when the GUI is running and the board is powered on or reloaded (with the pushbutton); the read doesn't return any data. If the order is reversed, the NIOS powered on or reset first and then the GUI run, the comm is solid. Also, when the problem occurs due to power on order, a reset/reload does not clear the problem (probably because the GUI is there pounding it). The NIOS must be powered on without a device transmitting to it. I'm guessing there's some kind of overflow condition that doesn't get cleared and maybe somebody can easily point me to a solution before I go digging.
You might say, why not just have the NIOS initiate comm - and I have already taken that approach - but that doesn't help me integrate other master devices that I cannot control. I have two other masters to work with (host and GPS) that will talk when they want to without regard for the slave. I appreciate any assistance.