Prompt = getc(fp) // Get a character from the JTAG UART. Some engineers used the loopback for managing routers and reserve a network segment for the loopbacks. I looked in the manual (page 177) for the DE2 and as far as I understand it should be possible to do serial communication for instance via putty and a usb-to-serial cable to the board, so I take the program from the manual: /* A simple program that recognizes the characters 't' and 'v' */Ĭhar* msg = "Detected the character 't'.\n" įp = fopen ("/dev/uart1", "r ") //Open file for reading and writing Use an address that is not used elsewhere on your network.
0 Comments
Leave a Reply. |