DSPRelated.com
Forums

Multiple jtag devices in chain

Started by ukkiwikid November 24, 2003

Hi,
I am having problems connecting to my DSP56311 using Crossview Pro.

My target hardware has 3 devices on the jtag in the following order:
1) Xilinx Prom (Jtag reg len 8)
2) Xilinx Spartan2E (reg len 5)
3) DSP56311.
I am using a parallel port command converter

I have modified the default parallel config file as below to add
the additional devices(I found the documentation a bit ambiguous).

Can anyone please help me as I'm not sure if I have added it in the
right way.
My setup works with only one device on the chain (AKA EVM board),
and the jtag chain is complete as seen from the xilinx tools.

Additional information:
If I utilise the default parallel config file, then the TDI pin on
the JTAG does its thing, however if I use the modified multiple
device config file it appears as if Crossview has problems as their
is no data ouput on the jtag pins.

Also if I disconnect the Jtag from the board the errors in the above
2 cases are different. With the single device setup the error
is "Cannot connect to device" and in the multiple device it
is "configuration 56311 not supported by target"

Help!

Scott.

Config file:

title: Parallel Port Multiple2 56311 for NT
debug_instrument_module: nta56363
radm: ksm
target_dependent_module: tdp563
cpu_type: 563xx 56301 56302 56303 56305 56307 56309 56311 56321 56361
56362 56364 56366 56367 56371 56372 56373
!
! Save the old settings
!
!> {current_em_type} & em_comm_baud.{current_em_type} = {em_comm_baud}
!> {current_em_type} & em_comm_check.{current_em_type} =
{em_comm_check}
!> {current_em_type} & em_comm_dlinktype.{current_em_type} =
{em_comm_dlinktype}
!> {current_em_type} & em_comm_excl_access.{current_em_type} =
{em_comm_excl_access}
!> {current_em_type} & em_comm_ioport.{current_em_type} =
{em_comm_ioport}
!> {current_em_type} & em_comm_parallelport.{current_em_type} =
{em_comm_parallelport}
!> {current_em_type} & em_comm_serial_hshake.{current_em_type} =
{em_comm_serial_hshake}
!> {current_em_type} & em_comm_tcphost.{current_em_type} =
{em_comm_tcphost}
!> {current_em_type} & em_comm_tcpport.{current_em_type} =
{em_comm_tcpport}
!> {current_em_type} & em_comm_timeout.{current_em_type} =
{em_comm_timeout}
!> {current_em_type} & cpu_type.{current_em_type} = {cpu_type}
!> {current_em_type} & gdi_execution_environment.{current_em_type} =
{gdi_execution_environment}
!> {current_em_type} & gdi_features_config_item.{current_em_type} =
{gdi_features_config_item}
!
! Change the environment
n_target_config_items: 3
target_config_item.0: add_jtag_def ir=8
target_config_item.1: add_jtag_def ir=5
target_config_item.2: add_jtag_def cpuV311

!> current_em_type = "nt_par563-6.3"
!
! Set the new resources
!
!> em_comm_baud = {em_comm_baud.{current_em_type}} | ""
!> em_comm_check = {em_comm_check.{current_em_type}} | ""
!> em_comm_dlinktype = {em_comm_dlinktype.{current_em_type}}
| "parallel"
!> em_comm_excl_access = {em_comm_excl_access.{current_em_type}}
| "TRUE"
!> em_comm_ioport = {em_comm_ioport.{current_em_type}} | "256"
!> em_comm_parallelport = {em_comm_parallelport.{current_em_type}}
| "LPT1"
!> em_comm_serial_hshake = {em_comm_serial_hshake.{current_em_type}}
| "none"
!> em_comm_tcphost = {em_comm_tcphost.{current_em_type}} | "localhost"
!> em_comm_tcpport = {em_comm_tcpport.{current_em_type}} | ""
!> em_comm_timeout = {em_comm_timeout.{current_em_type}} | "1"
!> cpu_type = {cpu_type.{current_em_type}} | "56311"
!> gdi_execution_environment = {gdi_execution_environment.
{current_em_type}} | "parallel"
!> gdi_features_config_item = {gdi_features_config_item.
{current_em_type}} | "2:56311"
!




The Motorola OnCE port has trouble with none OnCE devices in the chain.
While the JTAG has no problems, often times the OnCE protocol does.
It's best to keep the DSP(s) on a separate bus...

--
dB

--- ukkiwikid <> wrote:
>
> Hi,
> I am having problems connecting to my DSP56311 using Crossview Pro.
>
> My target hardware has 3 devices on the jtag in the following order:
> 1) Xilinx Prom (Jtag reg len 8)
> 2) Xilinx Spartan2E (reg len 5)
> 3) DSP56311.
> I am using a parallel port command converter
>
> I have modified the default parallel config file as below to add
> the additional devices(I found the documentation a bit ambiguous).
>
> Can anyone please help me as I'm not sure if I have added it in the
> right way.
> My setup works with only one device on the chain (AKA EVM board),
> and the jtag chain is complete as seen from the xilinx tools.
>
> Additional information:
> If I utilise the default parallel config file, then the TDI pin on
> the JTAG does its thing, however if I use the modified multiple
> device config file it appears as if Crossview has problems as their
> is no data ouput on the jtag pins.
>
> Also if I disconnect the Jtag from the board the errors in the above
> 2 cases are different. With the single device setup the error
> is "Cannot connect to device" and in the multiple device it
> is "configuration 56311 not supported by target"
>
> Help!
>
> Scott.
>
> Config file:
>
> title: Parallel Port Multiple2 56311 for NT
> debug_instrument_module: nta56363
> radm: ksm
> target_dependent_module: tdp563
> cpu_type: 563xx 56301 56302 56303 56305 56307 56309 56311 56321 56361
>
> 56362 56364 56366 56367 56371 56372 56373
> !
> ! Save the old settings
> !
> !> {current_em_type} & em_comm_baud.{current_em_type} =
> {em_comm_baud}
> !> {current_em_type} & em_comm_check.{current_em_type} =
> {em_comm_check}
> !> {current_em_type} & em_comm_dlinktype.{current_em_type} =
> {em_comm_dlinktype}
> !> {current_em_type} & em_comm_excl_access.{current_em_type} =
> {em_comm_excl_access}
> !> {current_em_type} & em_comm_ioport.{current_em_type} =
> {em_comm_ioport}
> !> {current_em_type} & em_comm_parallelport.{current_em_type} =
> {em_comm_parallelport}
> !> {current_em_type} & em_comm_serial_hshake.{current_em_type} =
> {em_comm_serial_hshake}
> !> {current_em_type} & em_comm_tcphost.{current_em_type} =
> {em_comm_tcphost}
> !> {current_em_type} & em_comm_tcpport.{current_em_type} =
> {em_comm_tcpport}
> !> {current_em_type} & em_comm_timeout.{current_em_type} =
> {em_comm_timeout}
> !> {current_em_type} & cpu_type.{current_em_type} = {cpu_type}
> !> {current_em_type} & gdi_execution_environment.{current_em_type} =
> {gdi_execution_environment}
> !> {current_em_type} & gdi_features_config_item.{current_em_type} =
> {gdi_features_config_item}
> !
> ! Change the environment
> n_target_config_items: 3
> target_config_item.0: add_jtag_def ir=8
> target_config_item.1: add_jtag_def ir=5
> target_config_item.2: add_jtag_def cpuV311
>
> !> current_em_type = "nt_par563-6.3"
> !
> ! Set the new resources
> !
> !> em_comm_baud = {em_comm_baud.{current_em_type}} | ""
> !> em_comm_check = {em_comm_check.{current_em_type}} | ""
> !> em_comm_dlinktype = {em_comm_dlinktype.{current_em_type}}
> | "parallel"
> !> em_comm_excl_access = {em_comm_excl_access.{current_em_type}}
> | "TRUE"
> !> em_comm_ioport = {em_comm_ioport.{current_em_type}} | "256"
> !> em_comm_parallelport = {em_comm_parallelport.{current_em_type}}
> | "LPT1"
> !> em_comm_serial_hshake = {em_comm_serial_hshake.{current_em_type}}
> | "none"
> !> em_comm_tcphost = {em_comm_tcphost.{current_em_type}} |
> "localhost"
> !> em_comm_tcpport = {em_comm_tcpport.{current_em_type}} | ""
> !> em_comm_timeout = {em_comm_timeout.{current_em_type}} | "1"
> !> cpu_type = {cpu_type.{current_em_type}} | "56311"
> !> gdi_execution_environment = {gdi_execution_environment.
> {current_em_type}} | "parallel"
> !> gdi_features_config_item = {gdi_features_config_item.
> {current_em_type}} | "2:56311"
> ! >
>


__________________________________