Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Hi, Can add your code(c program)? Go through the reference design online. ftp://ftp.altera.com/up/pub/intel_material/14.0/tutorials/using_terminals.pdf ftp://ftp.altera.com/up/pub/altera_material/14.0/university_program_ip_cores/communications/rs232.pdf Also, can you tell how the board and host machine are connected? Best Regards, Anand Raj Shankar (This message was posted on behalf of Intel Corporation) --- Quote End --- C Code:
#include <stdio.h>
int main()
{
printf("Hello from Nios II!\n");
char X;
X = getchar();
printf("**** yeah!\n");
return 0;
}
About the connection, not sure what to answer. I have a usb-serial cable. I attach some pictures with my settings https://alteraforum.com/forum/attachment.php?attachmentid=15126&stc=1 https://alteraforum.com/forum/attachment.php?attachmentid=15127&stc=1 https://alteraforum.com/forum/attachment.php?attachmentid=15128&stc=1 https://alteraforum.com/forum/attachment.php?attachmentid=15130&stc=1 Any suggestions?