QCVS DDR Validation Connection Refused

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

QCVS DDR Validation Connection Refused

2,189 Views
rodneymclendon
Contributor I

I'm trying to run a validation on the DDR controllers, however the connection is always refused regardless of the JTAG clock speed chosen.  The CW is v10.5.1, and QCVS is v4.5.  The connection setup is as follows:

 

 

166971_166971.jpgMyPicture1.jpg

 

 

The log from the ccs server is:

 

(bin) 2 %
CCSAPI connection #1 accepted from vmware-localhost at Tue Nov 01 16:22:50 2016
check_min_version(serverh=0,*version)
  api version: 00000004 00000006
available_connections(serverh=0,*count,*cc)
  connections: {0,73,0x0a0f9209}
cc_version(serverh=0,cc_index=0,index=0,*version)
  ERROR(10): Connection refused
get_remote_user(serverh=0,cc_index=0,*remote_user_hostname,count)
  user:ASH-5WLWZ12.INT.CW.LOCAL
CCSAPI connection #1 from vmware-localhost closed at Tue Nov 01 16:22:55 2016
(bin) 2 %

 

Rodney

Labels (1)
0 Kudos
23 Replies

1,527 Views
rodneymclendon
Contributor I

Those files are in place:

MyPicture6.jpg

MyPicture7.jpg

0 Kudos

1,527 Views
rodneymclendon
Contributor I

Here it is:

MyPicture5.jpg

0 Kudos

1,527 Views
addiyi
NXP Employee
NXP Employee

The workaround provided is not applied. Please recheck the file and reset CW before retesting.

Adrian

0 Kudos

1,527 Views
rodneymclendon
Contributor I

Still no connection from QCVS.  Here's the output from CCS:

MyPicture3.jpg

MyPicture4.jpg

0 Kudos

1,527 Views
addiyi
NXP Employee
NXP Employee

Please provide a ccs verbose log (enter 'log v' command in ccs console) when QCVS is trying to connect to the board.

Adrian

0 Kudos

1,527 Views
rodneymclendon
Contributor I

No, this is the T4240QDS.  In order to get the bareboard example projects to connect, I had to change the TAP reset delay to 2 secs.

0 Kudos

1,527 Views
addiyi
NXP Employee
NXP Employee

Replace connect.py from \eclipse\Optimization\resources\QorIQ\common\templates\init\ with the one attached.

Replace main_ppc_core.py and main_ppc_non_core.py from \eclipse\Optimization\resources\QorIQ\DDR\templates\init\ with attached files.

After replacement restart CW.

I recommend you to save the original files :smileyhappy:

Adrian

0 Kudos

1,527 Views
rodneymclendon
Contributor I

Here you go:

MyPicture2.jpg

0 Kudos

1,527 Views
addiyi
NXP Employee
NXP Employee

Ok, so something is happened with your board. You get an error when ccs/qcvs is tryind to reset the board. This is a custom board?

Adrian

0 Kudos

1,527 Views
rodneymclendon
Contributor I

After restarting CW, this is what I'm getting from CCS:

MyPicture8.jpg

Only after I reboot the probe does the 'show cc' show the TAP.  However, the connection still fails.

0 Kudos

1,527 Views
addiyi
NXP Employee
NXP Employee

Try in ccs:

delete all

config cc cwtap:10.15.146.9

ccs::config_chain t4240

ccs::reset_to_debug

ccs::all_run_mode

Provide the output.

Adrian

0 Kudos

1,527 Views
rodneymclendon
Contributor I

Well, this brings us back to my original problem, the QCVS is not connecting to/thru the CCS.

0 Kudos

1,527 Views
rodneymclendon
Contributor I

I don't understand your suggestion, skype this error and try again.

0 Kudos

1,527 Views
addiyi
NXP Employee
NXP Employee

Because config cc is working from ccs, should works from QCVS as well. 

Adrian

0 Kudos

1,527 Views
rodneymclendon
Contributor I

I don't think the network timeout is issue anymore, after performing a ping in a DOS shell, 'show cc' no longer times out.  The problem now is that 'findcc cwtaps -eth' still returns nothing.

0 Kudos

1,527 Views
addiyi
NXP Employee
NXP Employee

Yes, this is a know issue. You can skip this error and try again from QCVS to connect to target.

Adrian

0 Kudos

1,527 Views
rodneymclendon
Contributor I

After performing ping, the CCS 'show cc' shows cwtap but the 'findcc cwtaps' is still empty:

MyPicture4.jpg

0 Kudos

1,527 Views
rodneymclendon
Contributor I

Also:

ccs_ping.JPG

0 Kudos

1,527 Views
rodneymclendon
Contributor I

Here is what I get for the CCS (and yes I have a valid license in place):

MyPicture3.jpg

0 Kudos

1,527 Views
addiyi
NXP Employee
NXP Employee

Try setting a bigger value for networktimeout using in ccs console:

config networktimeout <value_in sec>

Adrian

0 Kudos