Codewarrior 8.8 intiaization failied with MPC8248(target is in unexpected RUNNING mode)

cancel
Showing results for 
Search instead for 
Did you mean: 

Codewarrior 8.8 intiaization failied with MPC8248(target is in unexpected RUNNING mode)

296 Views
winstonjacob
Contributor IV

I want to bring up the MPC8248 custom board with NOR flash using Codewarrior 8.8, while doing NOR flash and erase operation, I am using ep8248_init.cfg(modified), I am getting the error which is mention below, the screenshot and the init file attached, please help me to resolve this issue.

 

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 = 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_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_available_connections
CCS: : serverh = 0
CCS: : count = 1
CCS: : ccs_available_connections; ccs_error = 0
CCS: 0000 : ccs_delete_cc
CCS: : serverh = 0
CCS: : count = 0
CCS: : ccs_delete_cc; 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 = 3020
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=32; device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]
CCS: : ccs_config_chain; ccs_error = 0
CCS: 0000 : ccs_send_message
CCS: : coreh = [serverh:0;cc_index:0;chain_pos:0]
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:
mpc603ei: cannot put the target into STOP mode
CCS: 0000 : ccs_get_messages
CCS: : coreh = [serverh:0;cc_index:0;chain_pos:0]
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_close
CCS: : serverh = 0
CCS: : ccs_close; ccs_error = 0
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 = 3020
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=32; device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]
CCS: : ccs_config_chain; ccs_error = 0
CCS: 0000 : ccs_send_message
CCS: : coreh = [serverh:0;cc_index:0;chain_pos:0]
CCS: : message = 3
CCS: : ccs_send_message; 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_get_connection_count
CCS: : serverh = 0
CCS: : count = 1
CCS: : ccs_get_connection_count; 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_run_core
CCS: : coreh = [serverh:0;cc_index:0;chain_pos:0]
CCS: : ccs_run_core; ccs_error = -2147483640
CCS: : Error message:
target is in unexpected RUNNING mode
CCS: 0000 : ccs_get_messages
CCS: : coreh = [serverh:0;cc_index:0;chain_pos:0]
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_close
CCS: : serverh = 0
CCS: : ccs_close; ccs_error = 0

Regards

Winston

0 Kudos
0 Replies