Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- Would it be possible to move the jtag server logic into C in a Nios II processor. I'd like to remove the need to run a tcl script. Thanks! --- Quote End --- Re-reading your question, I wonder if you really understand what is going on. The Tcl script communicates from the host to the FPGA. There is no option to move this into the NIOS processor. You could replace this logic with C-code, but you would have to use libusb or libftdi and communicate with the Altera USB-Blaster directly. Since this interface is not published, I had to use the Tcl script. There is some information on the web, and it is possible to communicate from C, but that C code runs on the host processor, not on the NIOS processor. Hopefully my previous answer was what you were really looking for, but if not, ask your question again, and I'll see if I can answer it clearer next time. Cheers, Dave