FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5924 Discussions

Understanding SW3 settings in Agilex Devkit

anrfpga
Novice
1,420 Views

Hi All,

 

I am trying to understand the JTAG chain settings of the Agilex Devkit I have. The SW3 settings in Table 9 of its user guide is a little confusing to understand. The default setting (Mode 000 - Chained HPS with SDM nodes internally) makes sense to me as I have noticed the HPS to show up in the programmer after I program the FPGA with the .sof file but I do not understand the Modes in the last column. What are Mode 1 and Mode 3 and how do I configure them (Same with other modes in the next rows)?

 

Also, does "Chained HPS with SDM nodes externally" in Mode 001 mean the HPS will be available in the JTAG chain before programming the FPGA?

 

 

0 Kudos
1 Solution
JingyangTeh
Employee
1,239 Views

Hi anrfpga


Sorry for the multiple confusion through the thread.


"Chained HPS with SDM nodes internally" refers to the HPS is chained to the SDM through the FPGA silicone and the HPS is connected to the JTAG chain through the SDM Jtag Pins.


"Chained HPS with SDM nodes externally" refers to the HPS not connected to the SDM. The HPS will be connected externally through the OOBE daughter card through its own dedicated JTAG pins.


For mode 001 to enable the HPS on the Jtag chain, it requires an additional OOBE daugther card for the HPS to be able to appear on the JTAG chain.


Regards

Jingyang, Teh


View solution in original post

0 Kudos
12 Replies
JingyangTeh
Employee
1,402 Views

Hi anrfpga


There are 2 modes for each SW3 settings is because there are 2 options to connect the JTAG connection.

One way is through an external Intel FPGA Download Cable II dongle connected to the JTAG Header connecter or through an internal Intel FPGA Download Cable II dongle connected through using a usb cable.

Refer to Section A.2.1 and A.2.2.


To be in Mode 1 refers to when you connect using the internal Intel FPGA Download Cable II dongle and Mode 3 refers to when you connect using an external Intel FPGA Download Cable II dongle.


 "Chained HPS with SDM nodes externally" in Mode 001 means that it will connected together through the external Intel FPGA Download Cable II dongle. You could see it in the JTAG chain.


Regards

Jingyang, Teh


0 Kudos
anrfpga
Novice
1,396 Views

Hi Jingyang,

 

Thanks for your reply. That makes sense. Can you point me to A.2.1 and A.2.2? I could not find these sections in the document I am referring to.

 

When I change switch to Mode 001, I am getting "Unable to scan device chain. Can't scan JTAG chain" error instead of seeing the HPS in the JTAG chain. My SW1 settings are set to JTAG configuration mode and SW3 settings are set to (OFF/ON/ON/ON/ON/OFF/ON/ON = SW3.1 and SW3.6 are set to OFF). How could be the issue here?

 

Running the JTAG chain integrity test in the JTAG chain debugger is throwing

Error: JTAG chain problem detected.

Error: No device detected. Detected 1's at TDI pin.

 

 

0 Kudos
JingyangTeh
Employee
1,387 Views

Hi anrfpga


Sorry that I pointed you to the wrong section.

There is a statement in the document that you are viewing just before Table 9 .

"Intel® Agilex™ HPS JTAG slave can be accessed from either SDM dedicated JTAG pins or HPS dedicated I/Os."


With the current switch settings, are you able to detect any device on the chain with the "AutoDetect" button?

Do you encounter any JTag error if you follow the default settings?


Regards

Jingyang, Teh


0 Kudos
anrfpga
Novice
1,378 Views

Hi Jingyang,

 

No, clicking Auto Detect is throwing the error that I mentioned. However, disabling the HPS (setting SW3.1 to ON) from the JTAG chain is resolving the broken chain issue but that defeats the purpose of having HPS external to the SDM.

 

Rest of the modes are all working fine and I am able to program the FPGA.

 

Thanks

Nikhil

0 Kudos
JingyangTeh
Employee
1,358 Views

Hi Nikhil


Are you using the internal or external usb blaster currently?

If you are using an external usb blaster, is it connected to the J19 port?


Regards

Jingyang, Teh


0 Kudos
anrfpga
Novice
1,354 Views

Hi Jingyang,

 

I am using the internal usb blaster connected to the CN1 port.

 

Regards

Nikhil

0 Kudos
JingyangTeh
Employee
1,344 Views

Hi Nikhil


Are you using the GHRD FPGA configuration currently or using a custom FPGA configuration?


The term "Chained HPS with SDM nodes externally" refers to the HPS is chained to the SDM through the Intel MAX10.

"Chained HPS with SDM nodes internally" refers to the HPS is chained to the SDM through the dedicated JTAG pins.


Regards

Jingyang, Teh


0 Kudos
JingyangTeh
Employee
1,315 Views

Hi anrfpga


Any update on this case?


Regards

Jingyang, Teh


0 Kudos
anrfpga
Novice
1,306 Views

Hi Jingyang,

 

I am using the GHRD FPGA configuration. But, I am not sure how that impacts the JTAG chain.

 

Based on your reply, I tried more configurations. The first one with ON/OFF/ON/ON/ON/OFF/ON/ON (SW3.2 and SW3.6 are OFF = MAX10 FPGA enabled) was working fine and had the AGFB014 and MAX10 in the JTAG chain and the second one with OFF/OFF/ON/ON/ON/OFF/ON/ON (SW3.1, SW3.2 and SW3.6 are OFF = Both HPS and MAX10 enabled) had a broken chain issue. I have attached the JTAG debugger error.

 

So, with internal USB blaster cable, is the second configuration invalid?

 

 

0 Kudos
JingyangTeh
Employee
1,240 Views

Hi anrfpga


Sorry for the multiple confusion through the thread.


"Chained HPS with SDM nodes internally" refers to the HPS is chained to the SDM through the FPGA silicone and the HPS is connected to the JTAG chain through the SDM Jtag Pins.


"Chained HPS with SDM nodes externally" refers to the HPS not connected to the SDM. The HPS will be connected externally through the OOBE daughter card through its own dedicated JTAG pins.


For mode 001 to enable the HPS on the Jtag chain, it requires an additional OOBE daugther card for the HPS to be able to appear on the JTAG chain.


Regards

Jingyang, Teh


0 Kudos
JingyangTeh
Employee
1,230 Views

Hi anrfpga


Any more doubt from my last reply?


Regards

Jingyang, Teh


0 Kudos
JingyangTeh
Employee
1,215 Views

Hi anrfpga


Since this thread been resolve, I shall set this thread to close pending. If you still need further assistance, you are welcome reopen this thread within 20days or open a new thread, some one will be right with you.


If you happened to close this thread you might receive a survey.  If you think you would rank your support experience less than 10 out of 10, please allow me to correct it before closing or if the problem can’t be corrected, please let me know the cause so that I may improve your future service experience.


Regards

Jingyang, Teh


0 Kudos
Reply