CodeWarrior TAP - Failed to reset Target

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

CodeWarrior TAP - Failed to reset Target

2,226件の閲覧回数
rejit_a
Contributor I

I am using P1024RDB-PA reference board. Whenever I try to flash the NOR Flas with custom developed uboot, via CodeWarrior TAP (USB), I am getting an error 

CCSProtocolPlugin: Failed to reset the target

Any solutions? 

0 件の賞賛
返信
2 返答(返信)

1,722件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Rejit Antony,

Please refer to the following default switch setting for T1024RDB.

-----------------------------------------------------------------------------------------
Switch settings for CPU:533 MHz, CCB:266 MHz, DDR:667 MHz, SYSCLK: 66 MHz
-----------------------------------------------------------------------------------------
 
SW3 : 0x5F = 01011111        SW4 : 0xC2 = 11000010
                            

Where '1' = up/ON

In CodeWarrior IDE, please create a bareboard project following new project wizards, then refer to the following procedure to capture the CCS log to me to do more investigation.

Please enable CCS log from "Run->Debug Configurations-><project>-core0_RAM_-Connect(Download)->Edit...->Advanced->Advanced CCS setting->Enable logging", and connect to the target from "Run->Debug Configurations-><project>-core0_RAM_-Connect(Download)->Debug, the CCS log will be displayed in the console panel in CodeWarrior IDE.

   If the CCS log in the console is truncated, please enlarge the console buffer from Window->Preferences->Run/Debug->Console->uncheck "Limit console output".

   (Please open the console panel from Window->Show View->Console, and if nothing displayed, please choose the correct session on the right top icon in the panel.)


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,722件の閲覧回数
rejit_a
Contributor I

Hi yipingwang 

The SW3 and SW4 configurations were

SW3 : 0x5F = 01011111        SW4 : 0xC2 = 11000010

The CCS log is as shown below

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: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 = 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 = 10230
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_core_run_mode
coreh = [serverh:0;cc_index:0;chain_pos:1]
mode = 4
ccs_core_run_mode; ccs_error = 5
Error message: Core not responding
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_close
serverh = 0
ccs_close; ccs_error = 0

0 件の賞賛
返信