how to bring-up a T2080 board by codewarror when there is no rcw in flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to bring-up a T2080 board by codewarror when there is no rcw in flash

2,179 Views
zhuzhuxia11
Contributor II

Hi NXP Support Team,
  please hlep me
  I am using T2080 custom board with NOR Flash .I have code Warrior [CW_PA_v10.5.0] installed in my system.I want to program RCW/uboot into the nor flash,but always shows “Failed to reset the target”.What should I do?

0 Kudos
Reply
4 Replies

2,134 Views
yipingwang
NXP TechSupport
NXP TechSupport

1. Please refer to section "4.6.4.1.1 Hard Coded RCW Options" in T2080RM.pdf to configure the target board as hard-coded RCW mode.

2. Please refer to the following document to do flash programming with CodeWarrior for PA 10.5.1.

https://community.nxp.com/t5/CodeWarrior-Development-Tools/Flash-Programmer-for-CodeWarrior-Power-Ar...

0 Kudos
Reply

2,125 Views
zhuzhuxia11
Contributor II
Hi Yiping:

I've configured the target board as hard-coded RCW mode before.But when I was debugging,show " warning:error input" and codewarror can't read correct number.In this case I tried to program RCW to nor flash,show"Failed to correctly configure the JTAG chain" and CCS log show "Core not responding ".

Thanks,

Yiping
0 Kudos
Reply

2,126 Views
zhuzhuxia11
Contributor II
Hi Yiping:

Got it, many thanks for your helps!!

The custom board have been configed to boot from NOR flash.

when i debug with T2080RDB-Pcie_RCW_1800_600_1866-rev1.1.txt and T2080RDB-PCIe_init_core.tcl(<CWInstallDir>\PA\PA_Support\Initialization_Files\jtag_chains),always show "CCSProtocolPlugin : Failed to correctly configure the JTAG chain".Log as follows:
ccs_write_register
coreh = [serverh:0;cc_index:0;chain_pos:0]
index = 210016
count = 1
size = 4
value: (size = 4)
00000004
ccs_write_register; ccs_error = 0; duration=0 ms
ccs_reset_to_debug
serverh = 0
cc = 0
ccs_reset_to_debug; ccs_error = 39
Error message: T2080: Core not responding
ccs_get_subcore_error
serverh = 0
cc = 0
error = 5
chain_pos = 0
ccs_get_subcore_error; ccs_error = 0; duration=1 ms
ccs_reset_to_debug
serverh = 0
cc = 0
ccs_reset_to_debug; ccs_error = 39
Error message: T2080: HRESET occurred during transaction
ccs_get_subcore_error
serverh = 0
cc = 0
error = 60
chain_pos = 0
ccs_get_subcore_error; ccs_error = 0; duration=0 ms
ccs_reset_to_debug
serverh = 0
cc = 0
ccs_reset_to_debug; ccs_error = 39
Error message: T2080: HRESET occurred during transaction
ccs_get_subcore_error
serverh = 0
cc = 0
error = 60
chain_pos = 0
ccs_get_subcore_error; ccs_error = 0; duration=2 ms
ccs_kill_server
serverh = 0
ccs_kill_server; ccs_error = 0


0 Kudos
Reply

2,085 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please configure the target board as hard-coded RCW and don't use JTAG file override RCW function. And just use the default SRAM CodeWarrior project.

Because the JTAG file is only for T2080RDB demo board, you have to modify it according to your custom board.

0 Kudos
Reply