Jump to content
  • 0

Digilent JTAG cable no connection with DPC error


Dhanuraj Pillai

Question

Hello,

I am having Digilent JTAG Cable which is connected to a custom made SoC from our supplier, which has arc EM4, EM6 and EV62 cores.

The JTAG cable has the following specifications:

image.png.f43ad7688b6cf2f91401b0163355e44b.png

 

On connecting to the Metaware IDE and to the target it gives the following DPC error (see log below):

Could you please help me out here , what the issue is ?

 

Thanks so much in advance!

------------------------------------------
[DIGILENT] DPC error returned 4 is unknown.
[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 32 bits
[DIGILENT] DPC error returned 4 is unknown.
[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 32 bits
[DIGILENT] DPC error returned 4 is unknown.
[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 32 bits
[DIGILENT] DPC error returned 4 is unknown.
[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 32 bits
[DIGILENT] DPC error returned 4 is unknown.
[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 32 bits
[DIGILENT] DPC error returned 4 is unknown.
[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 32 bits
[DIGILENT] DPC error returned 4 is unknown.
 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

... may be I can add a few more details.

I use the Metaware IDE on Windows 10 and the above errors seems to happen after a stall in the JTAG connection.

What could be the cause? What am I missing ? 

[JTAG] JTAG remains stalled after 10 attempts; attempted operation was write_register.
[JTAG]   (JTAG status register is 0x1 = :stalled.)
[JTAG] Write of aux register 0x5 failed.
[JTAG]   Last JTAG status register = 0x1 = :stalled.
[JTAG] JTAG remains stalled after 10 attempts; attempted operation was read_register.
[JTAG]   (JTAG status register is 0x1 = :stalled.)
[JTAG] Read of aux register 0x4 failed.
[JTAG]   Last JTAG status register = 0x1 = :stalled.
[JTAG] JTAG remains stalled after 10 attempts; attempted operation was read_register.
[JTAG]   (JTAG status register is 0x1 = :stalled.)
[JTAG] Read of %r0 failed.
[JTAG]   Last JTAG status register = 0x1 = :stalled.
[JTAG] Not able to read %r0 while testing communication
 

consequently on one more try, the console starts sending the DPC errors

[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 7 bits
[DIGILENT] DPC error returned 4 is unknown.
[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 3 bits
[DIGILENT] DPC error returned 4 is unknown.
[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 32 bits
[DIGILENT] DPC error returned 4 is unknown.
[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 32 bits
[DIGILENT] DPC error returned 4 is unknown.
[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 32 bits
[DIGILENT] DPC error returned 4 is unknown.
[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 32 bits
[DIGILENT] DPC error returned 4 is unknown.
[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 32 bits
[DIGILENT] DPC error returned 4 is unknown.
[DIGILENT] transmit (DpcPutTmsTdiBits): xmit failed of 32 bits
[DIGILENT] DPC error returned 4 is unknown.
 

Thanks again for your help in advance!

Link to comment
Share on other sites

Hi @Dhanuraj Pillai,

Digilent does not have a lot of advice regarding the Metaware debugger as we do not offer support for 3rd party software; there might be some more advice in this thread, https://forum.digilentinc.com/topic/15863-information-about-jtag-hs2-working-on-haps-80/, though you likely need to reach out to Synopsys support in order to get the JTAG cable working correctly.

Thanks,
JColvin

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...