AnsweredAssumed Answered

JTAG connecting problem between CW and P1020 BareBoard PCB

Question asked by alejandrosánchez on Feb 13, 2013
Latest reply on Mar 5, 2013 by alejandrosánchez

Hi eveyone,

 

I am hardware debbugging a new PCB based on a P1020 CPU, by using CW IDE V5.9.0 (with needed plugins for QorIQ processors) and a USB TAP (REV E).

 

I have created a project following the AN3830 instructions, but I can not get connected the processor to CW. When trying to connect (Debug -> Connect) an error occur, and a message box is popped up by showing this text "CCSProtocolPlugin: Failed to reset de target. [Draco/m HIP8: ELF is not in expected HALT mode]".

 

There is communication between CPU and CW, as the exchange information shown in the obtained log:

 

CCS: 0000    :    ccs_open

CCS:        :        ipaddr = 127.0.0.1

CCS:        :        port = 41475

CCS:        :        timeout = 10

CCS:        :        serverh = 0

CCS:        :    ccs_open; ccs_error = 10

CCS:        :        Error message:

Connection refused

 

CCS: 0000    :    ccs_open

CCS:        :        ipaddr = 127.0.0.1

CCS:        :        port = 41475

CCS:        :        timeout = 10

CCS:        :        serverh = 0

CCS:        :    ccs_open; ccs_error = 0

CCS: 0000    :    ccs_get_connection_count

CCS:        :        serverh = 0

CCS:        :        count = 1

CCS:        :    ccs_get_connection_count; ccs_error = 0

CCS: 0000    :    ccs_available_connections

CCS:        :        serverh = 0

CCS:        :        count = 0

CCS:        :    ccs_available_connections; ccs_error = 0

CCS: 0000    :    ccs_available_connections

CCS:        :        serverh = 0

CCS:        :        count = 0

CCS:        :    ccs_available_connections; ccs_error = 0

CCS: 0000    :    ccs_config_cc

CCS:        :        serverh = 0

CCS:        :        config_string = utap:0

CCS:        :    ccs_config_cc; ccs_error = 0

CCS: 0000    :    ccs_available_connections

CCS:        :        serverh = 0

CCS:        :        count = 1

CCS:        :    ccs_available_connections; ccs_error = 0

CCS: 0000    :    ccs_available_connections

CCS:        :        serverh = 0

CCS:        :        count = 1

CCS:        :    ccs_available_connections; ccs_error = 0

CCS: 0000    :    ccs_set_timeout

CCS:        :        serverh = 0

CCS:        :        timeout = 10

CCS:        :    ccs_set_timeout; ccs_error = 0

CCS: 0000    :    ccs_config_server

CCS:        :        serverh = 0

CCS:        :        cc = 0

CCS:        :        server_config = 0

CCS:        :        value = 8310

CCS:        :    ccs_config_server; ccs_error = 0

CCS: 0000    :    ccs_get_config_chain

CCS:        :        serverh = 0

CCS:        :        device_list: (size = 0)

CCS:        :    ccs_get_config_chain; ccs_error = 0

CCS: 0000    :    ccs_config_chain

CCS:        :        serverh = 0

CCS:        :        cc = 0

CCS:        :        device_list: (size = 1)

CCS:        :            device[0]:: core_type=102;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]

CCS:        :    ccs_config_chain; ccs_error = 0

CCS: 0000    :    ccs_get_config_chain

CCS:        :        serverh = 0

CCS:        :        device_list: (size = 3)

CCS:        :            device[0]:: core_type=0;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]

CCS:        :            device[1]:: core_type=0;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]

CCS:        :            device[2]:: core_type=0;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]

CCS:        :    ccs_get_config_chain; ccs_error = 0

CCS: 0000    :    ccs_get_config_chain

CCS:        :        serverh = 0

CCS:        :        device_list: (size = 3)

CCS:        :            device[0]:: core_type=102;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]

CCS:        :            device[1]:: core_type=53;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]

CCS:        :            device[2]:: core_type=53;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]

CCS:        :    ccs_get_config_chain; ccs_error = 0

CCS: 0000    :    ccs_send_message

CCS:        :        coreh = [serverh:0;cc_index:0;chain_pos:1]

CCS:        :        message = 3

CCS:        :    ccs_send_message; ccs_error = 0

CCS: 0000    :    ccs_reset_to_debug

CCS:        :        serverh = 0

CCS:        :        cc = 0

CCS:        :    ccs_reset_to_debug; ccs_error = 39

CCS:        :        Error message:

Draco/m HIP8: ELF is not in expected HALT mode

 

CCS: 0000    :    ccs_get_messages

CCS:        :        coreh = [serverh:0;cc_index:0;chain_pos:1]

CCS:        :        message: (size = 0)

CCS:        :    ccs_get_messages; ccs_error = 0

CCS: 0000    :    ccs_delete_cc

CCS:        :        serverh = 0

CCS:        :        count = 0

CCS:        :    ccs_delete_cc; ccs_error = 0

CCS: 0000    :    ccs_kill_server

CCS:        :        serverh = 0

CCS:        :    ccs_kill_server; ccs_error = 0

 

 

With the same configuration (same CW, same USB TAP and even the same CW project) I succeeded when connecting to a P2020RBD.

 

Any suggestions?

 

Thanks a lot.

 

Alejandro.


Outcomes