Altera_Forum
Honored Contributor
9 years agoMAX10: JTAG sharing not working -- how to erase fw-image?
Hi,
target MAX10: 10M02SCU169 Quartus: 15.1 I was trying to use JTAG sharing on MAX10 so I checked "enable JTAG sharing" and unchecked "enable nCONFIG, nSTATUS, CONF_DONE" and generated JTAG-sharing-fw1 putting JTAG pins to hi-z in user mode. The JTAGEN is pulled-up always (so JTAG-port should always be active) I succeed to upload JTAG-sharing-fw1 to MAX10 but immediately after I don't get access to JTAG-port anymore: JTAG-Autodetect command from Programmer-windows is not working anymore and MAX10 device is not recognized "unknown device". I repeated this test with 3 more boards, all fails the same: they work correctly with any firmware where JTAG sharing is disabled. I suspect that JTAG-sharing-fw1 is preventing the JTAG-port to work correctly and that for some reasons, JTAGEN is perhaps not correctly sampled (I didnt try to toggle the JTAGEN to see if anything happens) My questions: 1st q: i want to erase the jtag-sharing-fw1 image from max10 and get back an "empty" MAX10 Could you please tell me which is the procedure? As far as I could understand, after poweron, I have to set nCONFIG to low and hold it. This will set MAX10 in reset mode so preventing JTAG-sharing-fw1 to be loaded. While nCONFIG is hold low (FPGA in RESET state) will JTAG-Autodetect command work? Should I drive nSTATUS and CONF-DONE as well? how? 2ND Q: is there any REFERENCE design / APP-note where JTAG sharing has been tested? 3RD Q: which is the procedure to RESET the TAP controller using Quartus JTAG debugger? 4TH Q: it there any problem with Quartus 15.1 version? Thanks for your help, L