Can't get past SDC challenge/response using Codewarrior?

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

Can't get past SDC challenge/response using Codewarrior?

1,327 Views
ddadson
Contributor I

Hi,

We're making use the trusted architecture on a P1010 based platform. However, we have found we can only successfully pass the SDC challenge-response if we leave the SFP_DRVR registers unprogrammed (i.e. all zeroes). If we program it with a (suitably hamming-bit encoded value), we instead get a "secure debug violation" reported by Codewarrior (v10.5.0) when we enter the programmed value.


We have set these fuses:
SFP_DPR = 0x00000001 (Conditionally closed, without notification)
SFP_DESSR  = 0x00000000
SFP_DRVR[0] = 0x04000800
SFP_DRVR[1] = 0x04000800

We have checked the DRVR value vst gen_drv:
---
$./gen_drv_drbg B 0400080004000800

DRV[63:0] after Hamming Code is:
0400080004000800
 NAME    |     BITS     |    VALUE  
_________|______________|____________
DRV 0    |    31 - 0    | 04000800
DRV 1    |    63 - 32   | 04000800
---

Is there anything we might have missed when setting fuses, or some configuration for Codewarrior that might be incorrect?


Thanks,
David

Labels (1)
0 Kudos
Reply
2 Replies

909 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello David Dadson,

Please refer to the section "3.5. Programming Debug Challenge/Response Value Register
(DCVR/DRVR)" and "4. Secure debugging using CodeWarrior" in this document Secure Boot/Debug Configuration for LS1 .


Have a great day,
Yiping

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

0 Kudos
Reply

909 Views
ddadson
Contributor I

Hi Yiping,

The linked LS1 docs indicate we should set a value in the "Secure Access register", CSU_SA0. What is the equivalent register on the P1010 ? (I can't find CSU_SA0 in the P1010 reference manual).

 

Thanks again,

David

0 Kudos
Reply