P1010 Custom board

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

P1010 Custom board

548 Views
peterscheiwille
Contributor I

Hi there,

 

I'm trying to bring up a new P1010 based custom board. The hardware is quite closely based P1010RDB, and I'm pretty sure I've got all the cfg_ input straps connected correctly. The board is set to boot from SPI flash and I have managed to program U-Boot boot loader to the SPI flash with an external programmer. When I try to boot the board, the CPU Ready output goes low and then go high after about 400uS. The SPI CS signal goes low, but nothing happens on the SPI clock line. I checked the power sequencing with an oscilloscope and it seems to be right according to the data sheet, although the USBVdd3.3 ramp up is faster than it should be. (I figured that was not so important since the reference P1010RDB doesn't meet the spec either for ramp up time and power sequencing but that seems to work OK)

 

When I try to connect to the COP port using CodeWarrior TAP and CodeWarrior I get a Secure debug violation error ( I do have cfg_sb_dis selected with pull ups. What exactly does css_error = 39 actually mean any suggestions?

 

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: 0x1692301D

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=p1010(219)
ccs_config_chain; ccs_error = 39
Error message: p1010: Secure debug violation
ccs_get_subcore_error
serverh = 0
cc = 0
error = 57
chain_pos = 0
ccs_get_subcore_error; ccs_error = 0; duration=2 ms
ccs_in
coreh = [serverh:0;cc_index:0;chain_pos:0]
ccs_io addr: (size = 4)
0x00000000 0x00035b61 0x00000000 0x00000000
value: (size = 8)
01880000 00000200
ccs_in; ccs_error = 0; duration=2 ms
ccs_out
coreh = [serverh:0;cc_index:0;chain_pos:0]
ccs_io addr: (size = 4)
0x00000000 0x00035b62 0x00000000 0x00000000
value: (size = 8)
00000000 00000000
ccs_out; ccs_error = 0; duration=1 ms
ccs_read_reg
coreh = [serverh:0;cc_index:0;chain_pos:0]
index = 30000
count = 1
value: (size = 1)
0x00000ff7
ccs_read_reg; ccs_error = 0; duration=2 ms
ccs_read_mem
coreh = [serverh:0;cc_index:0;chain_pos:0]
addr = [space:0;size:4;address:0xff701010]
data: (size = 4)
00000000
ccs_read_mem; ccs_error = -2147483642; duration=3 ms
Error message: cannot start SAP transaction
ccs_kill_server
serverh = 0
ccs_kill_server; ccs_error = 0

 

 

Thanks

 

Peter

Labels (1)
0 Kudos
1 Reply

315 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Peter Scheiwiller,

There is a known issue with P1010 processor, if the DDR controller is not initialized correctly, the error "Secure debug violation error" will be reported, CodeWarrior cannot connect to the target board with ccs_config_chain error.

So please erase SPI flash, then you can use CodeWarrior to connect to your target board.

Please refine your u-boot configuration, please check DDR controller configuration parameters.


Have a great day,
Yiping

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

0 Kudos