News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

Unable to list JTAG targets after CPLD update

Started by nitneuq, February 22, 2021, 07:46:37 PM

Previous topic - Next topic

nitneuq

Hello,

Me and the engineering team of my company have created a custom board based on the TE0706 and using TE0820 rev3. To program the board, a TE0790 is used.

In order to select JTAG mode I have tried to update the CPLD firmware with the JTAG/QSPI variant.
I have followed this procedure and used files for the TE0820 rev3 board.

The Lattice programmer tool told me the update was successfull but I had two problems:

  • the CPLD status led was blinking 4 times, indicating that the CPLD remained in QSPI/SD variant
  • and more important: I was not able to lists jtag thanks to xsdb Xilinx tool

So I have updated again the CPLD with the default variant (which is QSPI/SD variant according to this document, but this other document states that the default variant is QSPI).

But even by downloading again the default variant I am unable to list any target and I get the following error message when I list targets with xsdb tool:

xsdb% targets
  1 whole scan chain (DR shift through all zeroes)
xsdb%jtag targets
  1  JTAG-ONB4 251633005463A (error DR shift through all zeroes)



While before this operation I was able to list some targets.

Please, can you tell me how to solve this problem and return to the default CPLD state.

Any help would really be appreciated!

Best regards,

JH

Hi,
can you tell me all dip switch positions of the TE0706 and TE0790?

br
John

nitneuq

I have used following DIP switch positions for the TE0790 (from S2-1 to S2-4) : OFF, OFF, OFF, ON while programming the CPLD and ON, OFF, OFF, ON for normal operations to access to Zynq JTAG targets.

The TE706 switches were always (while programmming CPLD or trying to access to Zynq JTAG) set to PROGMODE = ON (low state) and MODE = OFF (not connected state).
Note that I don't understand how the Lattice programmer tool had successfully the CPLD while the PROGMODE was set to ON (according to this table, CPLD can be programmed only when PROGMODE = OFF).

bastionbooger

you have updated the firmware of the TE0790's CPLD.

Antti Lukats

Quote from: nitneuq on February 23, 2021, 03:31:44 PM
I have used following DIP switch positions for the TE0790 (from S2-1 to S2-4) : OFF, OFF, OFF, ON while programming the CPLD and ON, OFF, OFF, ON for normal operations to access to Zynq JTAG targets.

The TE706 switches were always (while programmming CPLD or trying to access to Zynq JTAG) set to PROGMODE = ON (low state) and MODE = OFF (not connected state).
Note that I don't understand how the Lattice programmer tool had successfully the CPLD while the PROGMODE was set to ON (according to this table, CPLD can be programmed only when PROGMODE = OFF).

you indeed did reprogram the CPLD on TE0790 accidentially, meaning you need to first re-program TE0790 with default firmware, and then repeat the update procedure. You are not seeing any JTAG devices as the TE0790 is not holding correct firmware.