Forum Discussion
Altera_Forum
Honored Contributor
16 years agoSomeone on this forum told me that
"there is something absolutely wrong in the way in which you incorporated your UART in the VHDL/verilog project. if the QUARTUSII isn't giving any kind of errors while compiling your project, atleast you can check the warnings to get an idea. I think it is something basic that you are missing out here" about the uart problem that's why I was checking the qpf file for if anything needs to be changed or added. I am trying to run this simple program: int main() { FILE* fp; char prompt=0; fp = fopen("/dev/uart_0", "w+"); fprintf(fp,"AT+BTW0021D226A29E\r\n"); while(1){ prompt = getc(fp); printf("%c", prompt); } fclose(fp); return 0; }