Codewarrior 8.8 MPC8248 "target is in unexpected RUNNING mode"

cancel
Showing results for 
Search instead for 
Did you mean: 

Codewarrior 8.8 MPC8248 "target is in unexpected RUNNING mode"

448 Views
winstonjacob
Contributor IV

I am using MPC8248 custom board, I need to bring up the board using NOR flash, here we are using codewarrior 8.8 to flash the binaries to NOR, but we are getting "target is in unexpected RUNNING mode" on CW, also we are using modified ep8248_init.cfg init file, but when we try to erase the flash memory we are getting the below log in CCS, so please help us to solve this issue.

Here I attached the log, init file and the screenshot.

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