Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi Kimberley,
--- Quote Start --- 1) Figure 16 shows a TCL/TK GUI. Is that code also in the tutorial files? --- Quote End --- Yes - jtag_client_server/jtag_client.tcl. --- Quote Start --- 2) I've compiled the jtag_client.c file succesful. I've started the server in quartus_stp. When I write to the ram as described the server replies that it's an empty packet and disconnects. Why is that? See attached image as well. 3) The same appears with System Console. My first assumption would be that's something in the C-file, as both server application respond the same. Any suggestions? See the other attached image as well too. --- Quote End --- Try it several times. The server will produce the same message each time a client connects. What is happening is that when you run the command line application, a socket is opened, the client sends the command, receives the response, closes the socket, and then exits. The server is still running, and it sees the client disconnect. The server is just reporting the status of the client socket as it closes down. Cheers, Dave