Altera_Forum
Honored Contributor
12 years agonios rs232 uart reads only last byte
Hi,
I'm using rs232 uart in nios. I'm using the open and read functions to recive data from the uart. I'm using the serial port monitor in order to send data on rs232 from the computer to the board. The thing is when using the read function I only get the last byte from the string. For example, if sending "abcd" from the serial port the read function will return only "d". Any idea what could be the problem? Thanks, Merabi