Forum Discussion
Altera_Forum
Honored Contributor
16 years agodev/uart_rs232
Hello! I try to send data to the rs232 of the Nios Embedded Evaluation kit. I used the SOPC Builder and used the SOPC files of the Nios II System Architect Design Tutorial. There I put in ...
Altera_Forum
Honored Contributor
16 years agoIn C 'a' is a character, while "a" is a string. fopen is expecting a pointer to a buffer, so you should use strings. Try with write("a", strlen("a"), 1, fp);
If it still doesn't work, I'd suggest to put a signaltap probe on your tx and rx signals. That way you would know if the problem comes from inside the FPGA or outside.