Ingo Vowinkel

Connection failed

Discussion created by Ingo Vowinkel on Nov 25, 2008
Latest reply on Jan 7, 2011 by Michael Lam
Hello Everyone,

I am using the CodeWarrior IDE Version 5.9.0. ( Build 2489 ) under LINUX.

When I try to program the Flash Memory of the Target I am getting the following Message:

"Error:  Connect Failed.  "

"Show Log" outputs:

"Connecting...
Flash Programmer: CCSProtocolPlugin::Could not connect to the requested core core #0."



After Enabling the Logging ( Preferences ), the Content of the generated Log File is as follows:

------------------------------------------------------------------

CCS: 0000    :    ccs_open
CCS:        :        ipaddr = 127.0.0.1
CCS:        :        port = 40114
CCS:        :        timeout = 60
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_set_timeout
CCS:        :        serverh = 0
CCS:        :        timeout = 60
CCS:        :    ccs_set_timeout; 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_supported_connections
CCS:        :        serverh = 0
CCS:        :        count = 7
CCS:        :    ccs_supported_connections; ccs_error = 0
CCS: 0000    :    ccs_config_server
CCS:        :        serverh = 0
CCS:        :        cc = 0
CCS:        :        server_config = 0
CCS:        :        value = 8000
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=80;    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 = 4)
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:        :            device[3]:: 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 = 4)
CCS:        :            device[0]:: core_type=80;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]
CCS:        :            device[1]:: core_type=81;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]
CCS:        :            device[2]:: core_type=81;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]
CCS:        :            device[3]:: core_type=82;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]
CCS:        :    ccs_get_config_chain; 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_supported_connections
CCS:        :        serverh = 0
CCS:        :        count = 7
CCS:        :    ccs_supported_connections; ccs_error = 0
CCS: 0000    :    ccs_close
CCS:        :        serverh = 0
CCS:        :    ccs_close; ccs_error = 0

------------------------------------------------------------------

When I enable "Reset Target on Launch", the Content of the log File is:

------------------------------------------------------------------
CCS: 0000    :    ccs_open
CCS:        :        ipaddr = 127.0.0.1
CCS:        :        port = 40116
CCS:        :        timeout = 60
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_set_timeout
CCS:        :        serverh = 0
CCS:        :        timeout = 60
CCS:        :    ccs_set_timeout; 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_supported_connections
CCS:        :        serverh = 0
CCS:        :        count = 7
CCS:        :    ccs_supported_connections; ccs_error = 0
CCS: 0000    :    ccs_config_server
CCS:        :        serverh = 0
CCS:        :        cc = 0
CCS:        :        server_config = 0
CCS:        :        value = 8000
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=80;    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 = 4)
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:        :            device[3]:: 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 = 4)
CCS:        :            device[0]:: core_type=80;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]
CCS:        :            device[1]:: core_type=81;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]
CCS:        :            device[2]:: core_type=81;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]
CCS:        :            device[3]:: core_type=82;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]
CCS:        :    ccs_get_config_chain; ccs_error = 0
CCS: 0000    :    ccs_reset_to_debug
CCS:        :        serverh = 0
CCS:        :        cc = 0
CCS:        :    ccs_reset_to_debug; c
CCS:        :        Error message:
MPC8641 SAP: Core not responding

CCS: 0000    :    ccs_reset_to_debug
CCS:        :        serverh = 0
CCS:        :        cc = 0
CCS:        :    ccs_reset_to_debug; ccs_error = 39
CCS:        :        Error message:
MPC8641 SAP: Core not responding

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_supported_connections
CCS:        :        serverh = 0
CCS:        :        count = 7
CCS:        :    ccs_supported_connections; ccs_error = 0
CCS: 0000    :    ccs_close
CCS:        :        serverh = 0
CCS:        :    ccs_close; ccs_error = 0

------------------------------------------------------------------

I tried two Probes and three Target Boards. No Difference in Behavior.

The Flash Programming actually did work some 3 Months ago
and nothing has changed meanwhile.

What could be the Reason for this Failure ?


Many Thanks for your Help !

best reagrds
Taurus

Outcomes