Forum Discussion
Altera_Forum
Honored Contributor
18 years agojtag interface from user aplication
Hi, I'm trying to access the jtag port inside the fpga with the alt_jtag_atlantic block (also used in the jtag_uart for the niosII processor). I need access to the jtag port from a custom...
Altera_Forum
Honored Contributor
18 years agoI know it's completely on my side. The problem is I did'nt know exactly how to call the jtagatlantic_get_error function.
As in the example on the nioswiki, it returns an int. But here the visual studio compiler compains on (the exammple is made on gcc). With some tool called "PE explorer", I could find out that the function retuns an enum called JATL_ERROR. Defining the function like this, and the enum, everything works like expected. Stefaan