Good day!
We have a problem with our custom board. Trying to connect with MPC8536 using CodeWarrior TAP and CodeWarrior Development Studio for Power Architecture (v. 10.5.1) causes the error message: "ELF is not in expected HALT mode". GUI dispays the window message:
"Error launching <...>
CCSProtocolPlugin : Failed to reset the target
[CCS last error: Draco/m HIP8: ELF is not in expected HALT mode ]"
I have found several similar questions in this forum - but those discussions and answers didn't give me the answer.
We have studied Reference manual and Hardware specification for MPC too, paying particular attention to TRST and HRESET signals. And we have watched them on the screen of the oscilloscope. However, we still puzzled with this problem.
We have designed MPC8572 board earlier, and used that experience in designing this board. MPC8572 board works correctly (TAP and Dev. Studio are the same), the connection is established perfectly - but the new one doesn't want to work :smileysad:
I have listed the log below.
Please help us!
Thank you very much.
--------------------
ccs_open
ipaddr = 127.0.0.1
port = 41475
timeout = 20
serverh = 0
ccs_open; ccs_error = 10
Error message: Connection refused
ccs_open
ipaddr = 127.0.0.1
port = 41475
timeout = 20
serverh = 0
ccs_open; ccs_error = 10
Error message: Connection refused
ccs_open
ipaddr = 127.0.0.1
port = 41475
timeout = 20
serverh = 0
ccs_open; ccs_error = 0
ccs_get_connection_count
serverh = 0
count = 1
ccs_get_connection_count; ccs_error = 0
ccs_available_connections
serverh = 0
count = 0
ccs_available_connections; ccs_error = 0
ccs_available_connections
serverh = 0
count = 0
ccs_available_connections; ccs_error = 0
ccs_config_cc
serverh = 0
config_string = cwtap:0
ccs_config_cc; ccs_error = 0
ccs_available_connections
serverh = 0
count = 1
ccs_available_connections; ccs_error = 0
ccs_cc_version
serverh = 0
cc = 0
version.major = 0
version.minor = 0
ccs_cc_version; ccs_error = 0
ccs_set_timeout
serverh = 0
timeout = 20
ccs_set_timeout; ccs_error = 0
ccs_available_connections
serverh = 0
count = 1
ccs_available_connections; ccs_error = 0
ccs_config_server
serverh = 0
cc = 0
server_config = 0
value = 4000
ccs_config_server; ccs_error = 0
ccs_config_chain
serverh = 0
cc = 0
device_list: (size = 1)
device[0]:: core_type=test core(20)
ccs_config_chain; ccs_error = 0
ccs_jtag_lock
serverh = 0
cc = 0
ccs_jtag_lock; ccs_error = 0
JTAG Diagnostics
Starting Power at Probe test ...
Test result: PASSED
Starting IR Scan test ...
Test result: PASSED
Starting Bypass Scan test ...
Test result: PASSED
Starting Arbitrary TAP State Move test ...
Test result: PASSED
Detected JTAG IDCODEs: OK
Device 0 IDCODE: 0x0003F01D
ccs_jtag_unlock
serverh = 0
cc = 0
ccs_jtag_unlock; ccs_error = 0
ccs_config_chain
serverh = 0
cc = 0
device_list: (size = 1)
device[0]:: core_type=Draco/m HIP8(53)
ccs_config_chain; ccs_error = 0
ccs_get_config_chain
serverh = 0
device_list: (size = 1)
ccs_get_config_chain; ccs_error = 0
ccs_get_config_chain
serverh = 0
device_list: (size = 1)
device[0]:: core_type=Draco/m HIP8(53)
ccs_get_config_chain; ccs_error = 0
ccs_send_message
coreh = [serverh:0;cc_index:0;chain_pos:0]
message = 3
ccs_send_message; ccs_error = 0
ccs_stop_core
coreh = [serverh:0;cc_index:0;chain_pos:0]
ccs_stop_core; ccs_error = -2147483635
Error message: ELF is not in expected HALT mode
ccs_read_register
coreh = [serverh:0;cc_index:0;chain_pos:0]
index = 287
count = 1
size = 4
value: (size = 4)
18053C00
ccs_read_register; ccs_error = -2147483634; duration=3 ms
Error message: ELF is not in expected HALT mode
ccs_reset_to_mixed
chain_pos: (size = 1) { 0 (halt) }
ccs_reset_to_mixed; ccs_error = 39; duration=1808 ms
Error message: Draco/m HIP8: ELF is not in expected HALT mode
ccs_get_subcore_error
serverh = 0
cc = 0
error = -2147483635
chain_pos = 0
ccs_get_subcore_error; ccs_error = 0; duration=2 ms
ccs_available_connections
serverh = 0
count = 1
ccs_available_connections; ccs_error = 0
ccs_delete_cc
serverh = 0
count = 0
ccs_delete_cc; ccs_error = 0
ccs_kill_server
serverh = 0
ccs_kill_server; ccs_error = 0