Forum Discussion
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 t...
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Problem solved, thanks! I was working with breakpoints and was sending the data to the uart while stopped at breakpint so the hardware went on and the software was stopped. My guess is that the counter of the buffer in the uart is precended in the software so when stopped at the breakoint the UART thought we were at the same place as before eventhough a new character was recieved into the rx register. --- Quote End --- I have met the same problem. Can you explain more detail or share your code? Thank you!!