Trying to connect P2020 on custom board with CodeWarrior and CWTAP. An error is appearing: CCSProtocolPlugin : Failed to reset the target  [CCS last error: Draco/m HIP8: ELF is not in expected HALT mode ]

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Trying to connect P2020 on custom board with CodeWarrior and CWTAP. An error is appearing: CCSProtocolPlugin : Failed to reset the target  [CCS last error: Draco/m HIP8: ELF is not in expected HALT mode ]

2,767件の閲覧回数
igorvereshchagi
Contributor II

Hello

Trying to connect P2020 on custom board with CodeWarrior and CWTAP. An error is appearing: CCSProtocolPlugin : Failed to reset the target  [CCS last error: Draco/m HIP8: ELF is not in expected HALT mode ]

What I need to check to fix this error?

ラベル(1)
タグ(3)
0 件の賞賛
返信
8 返答(返信)

1,776件の閲覧回数
marius_grigoras
NXP Employee
NXP Employee

Hi,

Make sure you have the DIP SW settings set up as for P2020 and not for P2010 (details are in the CW stationary project).

Regards,

Marius

0 件の賞賛
返信

1,776件の閲覧回数
igorvereshchagi
Contributor II

Hi, Marius

Help me, please

Here is ccs log

ccs_open

    ipaddr = 127.0.0.1

    port = 41475

    timeout = 15

    serverh = 0

    ccs_open; ccs_error = 10

    Error message: Connection refused

ccs_open

    ipaddr = 127.0.0.1

    port = 41475

    timeout = 15

    serverh = 0

    ccs_open; ccs_error = 10

    Error message: Connection refused

ccs_open

    ipaddr = 127.0.0.1

    port = 41475

    timeout = 15

    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:10.1.1.115

    ccs_config_cc; ccs_error = 0

ccs_available_connections

    serverh = 0

    count = 1

    ccs_available_connections; ccs_error = 0

ccs_set_timeout

    serverh = 0

    timeout = 15

    ccs_set_timeout; ccs_error = 0

ccs_cc_status

    serverh = 0

    cc = 0

    ccs_cc_status; 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 = 15

    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 = 1000

    ccs_config_server; ccs_error = 0

ccs_get_config_chain

    serverh = 0

    device_list: (size = 0)

    ccs_get_config_chain; ccs_error = 0

ccs_config_chain

    serverh = 0

    cc = 0

    device_list: (size = 1)

        device[0]:: core_type=mpc8572(102)

    ccs_config_chain; ccs_error = 0

ccs_get_config_chain

    serverh = 0

    device_list: (size = 3)

    ccs_get_config_chain; ccs_error = 0

ccs_get_config_chain

    serverh = 0

    device_list: (size = 3)

        device[0]:: core_type=mpc8572(102)

        device[1]:: core_type=Draco/m HIP8(53)

        device[2]:: core_type=Draco/m HIP8(53)

    ccs_get_config_chain; ccs_error = 0

ccs_send_message

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

    message = 3

    ccs_send_message; ccs_error = 0

ccs_stop_core

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

    ccs_stop_core; ccs_error = -2147418099

    Error message: ELF is not in expected HALT mode

ccs_read_register

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

    index = 287

    count = 1

    size = 4

    value: (size = 4)

         00000000

    ccs_read_register; ccs_error = -2147418098; duration=10 ms

    Error message: ELF is not in expected HALT mode

ccs_reset_to_mixed

    chain_pos: (size = 3)    { 0 (halt) 1 (run) 2 (halt) }

    ccs_reset_to_mixed; ccs_error = 39; duration=2810 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 = 1

    ccs_get_subcore_error; ccs_error = 0; duration=0 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

0 件の賞賛
返信

1,776件の閲覧回数
marius_grigoras
NXP Employee
NXP Employee

Hi,

I think the board is a custom one and not freescale specific. Using the P2010 SoC from CW connection is changing something?

Thank you,

Marius

0 件の賞賛
返信

1,776件の閲覧回数
igorvereshchagi
Contributor II

Hi,

Seems to be HW problems, suggesting TRST line do not contacting to chip

Checking this point

Thank you

0 件の賞賛
返信

1,776件の閲覧回数
igorvereshchagi
Contributor II

Hi,

Yes, the board is custom

I have tried to use P2010 option in connection settings, nothing changing

Thank you

0 件の賞賛
返信

1,776件の閲覧回数
igorvereshchagi
Contributor II

There are a lot of config pins may be pulled high or low

Which of them are significant for this issue?

0 件の賞賛
返信

1,776件の閲覧回数
igorvereshchagi
Contributor II

I have no DIP switches on the board

Which pins must be checked?

0 件の賞賛
返信

627件の閲覧回数
D15
Contributor I

May I ask if the issue has been resolved? I am currently experiencing the same problem as you.

0 件の賞賛
返信