Clarification on LC Advancement and Debug Authentication with HSE FW Feature Flag Disabled

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

Clarification on LC Advancement and Debug Authentication with HSE FW Feature Flag Disabled

150 Views
KPAKHIL
Contributor I

Hello NXP Support Team,
Board: FRDM-MCXE31B 

I am working with the NXP FRDM-MCXE31B / MCXE31 and need to advance the device through the following Life Cycle (LC) states:

CUST_DEL → OEM_PROD → IN_FIELD

For our use case, the HSE FW feature flag will remain disabled.

While referring to the Reference Manual, I found a few points regarding LC advancement and debug authentication that are not completely clear. Could you please clarify the following?

1. Debug authentication after POR when HSE FW feature flag is disabled

According to Section 31.9 of the Reference Manual, when the HSE firmware feature flag is disabled, application-core debug always requires password authentication, and CUST_DB_PSWD_A is programmed at 0x1B00_0080.

In this scenario, once the debug password and LC configuration have been programmed, what is the expected debug-authentication flow after a Power-On Reset (POR)?

Specifically:

  • How does the DCM/Secure BAF obtain and verify the debug password after POR?

  • When connecting with a debugger, does the user need to provide/write the password to a specific register, memory location, or debug-authentication interface?

  • Is the password automatically read from 0x1B00_0080 by the device for comparison, or is there another authentication mechanism involved?

  • Could you please provide the expected sequence of operations for performing debug authentication after POR when the HSE FW feature flag is disabled?

2. Documentation for LC advancement and debug authentication

Is there any application note, user guide, reference documentation, or technical note that provides a complete procedure for:

  • Advancing the MCXE31 LC from CUST_DEL → OEM_PROD → IN_FIELD

  • Programming/configuring the debug password

  • Performing debug authentication after each LC transition

  • Connecting to and authenticating the application core using a debugger

I could not find specific information for the MCXE31 CPU regarding these operations in the Secure Provisioning Tool Guide.

If there is a specific document or example available for MCXE31, could you please point me to it?

3. Password usage across different Life Cycle states

After successfully advancing the device through:

CUST_DEL → OEM_PROD → IN_FIELD

with the HSE FW feature flag disabled, is the same CUST_DB_PSWD_A password programmed at 0x1B00_0080 used for debug authentication in all of these LC states?

If the password behavior changes between LC states, could you please clarify:

  • Which password/location is used in each LC?

  • Whether the password can be changed after each LC transition?

  • Whether the same password remains valid after advancing to IN_FIELD?

4. Meaning of "Trusted" device status

The documentation also refers to the device becoming "Trusted" after programming the password and LC configuration.

Could you please clarify what "Trusted" means in this context?

Specifically, does the Trusted status indicate that:

  • The device has successfully accepted the programmed password and LC configuration?

  • The device is now ready for debug authentication?

  • The device has completed a specific Secure BAF/DCM security state transition?

  • Or does "Trusted" have a different meaning in the MCXE31 security architecture?

A clarification of the above points would help us understand the complete LC advancement → POR → debug authentication flow for MCXE31 when the HSE FW feature flag is disabled.

Thank you for your support.

0 Kudos
Reply
1 Reply

112 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @KPAKHIL 

It seems you submitted the same questions in the private ticket.
I have replied you in the private ticket.
 
Thank you.
 
BR
Alice
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2425136%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EClarification%20on%20LC%20Advancement%20and%20Debug%20Authentication%20with%20HSE%20FW%20Feature%20Flag%20Disabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2425136%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EHello%20NXP%20Support%20Team%2C%3CBR%20%2F%3EBoard%3A%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fc-pwmxy87654%2FFRDM-MCXE31B%2Fpd-p%2FFRDM-MCXE31B%22%20class%3D%22lia-product-mention%22%20data-product%3D%223708-1%22%20target%3D%22_blank%22%3EFRDM-MCXE31B%3C%2FA%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20am%20working%20with%20the%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3ENXP%20FRDM-MCXE31B%20%2F%20MCXE31%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20and%20need%20to%20advance%20the%20device%20through%20the%20following%20Life%20Cycle%20(LC)%20states%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%3ECUST_DEL%20%E2%86%92%20OEM_PROD%20%E2%86%92%20IN_FIELD%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EFor%20our%20use%20case%2C%20the%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3EHSE%20FW%20feature%20flag%20will%20remain%20disabled%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EWhile%20referring%20to%20the%20Reference%20Manual%2C%20I%20found%20a%20few%20points%20regarding%20LC%20advancement%20and%20debug%20authentication%20that%20are%20not%20completely%20clear.%20Could%20you%20please%20clarify%20the%20following%3F%3C%2FSPAN%3E%3C%2FP%3E%3CH3%20id%3D%22toc-hId-2056937744%22%20id%3D%22toc-hId-2056940626%22%20id%3D%22toc-hId-2056940626%22%3E%3CSPAN%3E1.%20Debug%20authentication%20after%20POR%20when%20HSE%20FW%20feature%20flag%20is%20disabled%3C%2FSPAN%3E%3C%2FH3%3E%3CP%3E%3CSPAN%3EAccording%20to%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3ESection%2031.9%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20of%20the%20Reference%20Manual%2C%20when%20the%20HSE%20firmware%20feature%20flag%20is%20disabled%2C%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3Eapplication-core%20debug%20always%20requires%20password%20authentication%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%2C%20and%20%3C%2FSPAN%3E%3CSPAN%3ECUST_DB_PSWD_A%3C%2FSPAN%3E%3CSPAN%3E%20is%20programmed%20at%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3E0x1B00_0080%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EIn%20this%20scenario%2C%20once%20the%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3Edebug%20password%20and%20LC%20configuration%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20have%20been%20programmed%2C%20what%20is%20the%20expected%20debug-authentication%20flow%20after%20a%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3EPower-On%20Reset%20(POR)%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESpecifically%3A%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3E%3CSPAN%3EHow%20does%20the%20DCM%2FSecure%20BAF%20obtain%20and%20verify%20the%20debug%20password%20after%20POR%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3EWhen%20connecting%20with%20a%20debugger%2C%20does%20the%20user%20need%20to%20provide%2Fwrite%20the%20password%20to%20a%20specific%20register%2C%20memory%20location%2C%20or%20debug-authentication%20interface%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3EIs%20the%20password%20automatically%20read%20from%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3E0x1B00_0080%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20by%20the%20device%20for%20comparison%2C%20or%20is%20there%20another%20authentication%20mechanism%20involved%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3ECould%20you%20please%20provide%20the%20expected%20sequence%20of%20operations%20for%20performing%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3Edebug%20authentication%20after%20POR%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20when%20the%20HSE%20FW%20feature%20flag%20is%20disabled%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CH3%20id%3D%22toc-hId-249483281%22%20id%3D%22toc-hId-249486163%22%20id%3D%22toc-hId-249486163%22%3E%3CSPAN%3E2.%20Documentation%20for%20LC%20advancement%20and%20debug%20authentication%3C%2FSPAN%3E%3C%2FH3%3E%3CP%3E%3CSPAN%3EIs%20there%20any%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3Eapplication%20note%2C%20user%20guide%2C%20reference%20documentation%2C%20or%20technical%20note%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20that%20provides%20a%20complete%20procedure%20for%3A%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3E%3CSPAN%3EAdvancing%20the%20MCXE31%20LC%20from%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3ECUST_DEL%20%E2%86%92%20OEM_PROD%20%E2%86%92%20IN_FIELD%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3EProgramming%2Fconfiguring%20the%20debug%20password%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3EPerforming%20debug%20authentication%20after%20each%20LC%20transition%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3EConnecting%20to%20and%20authenticating%20the%20application%20core%20using%20a%20debugger%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%3EI%20could%20not%20find%20specific%20information%20for%20the%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3EMCXE31%20CPU%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20regarding%20these%20operations%20in%20the%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3ESecure%20Provisioning%20Tool%20Guide%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EIf%20there%20is%20a%20specific%20document%20or%20example%20available%20for%20MCXE31%2C%20could%20you%20please%20point%20me%20to%20it%3F%3C%2FSPAN%3E%3C%2FP%3E%3CH3%20id%3D%22toc-hId--1557971182%22%20id%3D%22toc-hId--1557968300%22%20id%3D%22toc-hId--1557968300%22%3E%3CSPAN%3E3.%20Password%20usage%20across%20different%20Life%20Cycle%20states%3C%2FSPAN%3E%3C%2FH3%3E%3CP%3E%3CSPAN%3EAfter%20successfully%20advancing%20the%20device%20through%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CSPAN%3ECUST_DEL%20%E2%86%92%20OEM_PROD%20%E2%86%92%20IN_FIELD%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ewith%20the%20HSE%20FW%20feature%20flag%20disabled%2C%20is%20the%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3Esame%20%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSTRONG%3E%3CSPAN%3ECUST_DB_PSWD_A%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSTRONG%3E%3CSPAN%3E%20password%20programmed%20at%200x1B00_0080%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20used%20for%20debug%20authentication%20in%20all%20of%20these%20LC%20states%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EIf%20the%20password%20behavior%20changes%20between%20LC%20states%2C%20could%20you%20please%20clarify%3A%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3E%3CSPAN%3EWhich%20password%2Flocation%20is%20used%20in%20each%20LC%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3EWhether%20the%20password%20can%20be%20changed%20after%20each%20LC%20transition%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3EWhether%20the%20same%20password%20remains%20valid%20after%20advancing%20to%20%3C%2FSPAN%3E%3CSPAN%3EIN_FIELD%3C%2FSPAN%3E%3CSPAN%3E%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CH3%20id%3D%22toc-hId-929541651%22%20id%3D%22toc-hId-929544533%22%20id%3D%22toc-hId-929544533%22%3E%3CSPAN%3E4.%20Meaning%20of%20%22Trusted%22%20device%20status%3C%2FSPAN%3E%3C%2FH3%3E%3CP%3E%3CSPAN%3EThe%20documentation%20also%20refers%20to%20the%20device%20becoming%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3E%22Trusted%22%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20after%20programming%20the%20password%20and%20LC%20configuration.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ECould%20you%20please%20clarify%20what%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3E%22Trusted%22%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20means%20in%20this%20context%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ESpecifically%2C%20does%20the%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3ETrusted%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20status%20indicate%20that%3A%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3E%3CSPAN%3EThe%20device%20has%20successfully%20accepted%20the%20programmed%20password%20and%20LC%20configuration%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3EThe%20device%20is%20now%20ready%20for%20debug%20authentication%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3EThe%20device%20has%20completed%20a%20specific%20Secure%20BAF%2FDCM%20security%20state%20transition%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%3CSPAN%3EOr%20does%20%22Trusted%22%20have%20a%20different%20meaning%20in%20the%20MCXE31%20security%20architecture%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%3EA%20clarification%20of%20the%20above%20points%20would%20help%20us%20understand%20the%20complete%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3ELC%20advancement%20%E2%86%92%20POR%20%E2%86%92%20debug%20authentication%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E%20flow%20for%20MCXE31%20when%20the%20%3C%2FSPAN%3E%3CSTRONG%3E%3CSPAN%3EHSE%20FW%20feature%20flag%20is%20disabled%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThank%20you%20for%20your%20support.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2425136%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EBoot%20ROM%7CBooting%20%7C%20Flash%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity(Edgelock%20%7C%20secure%20boot%20%7C%20OTP)%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2425507%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Clarification%20on%20LC%20Advancement%20and%20Debug%20Authentication%20with%20HSE%20FW%20Feature%20Flag%20Disabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2425507%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F267826%22%20target%3D%22_blank%22%3E%40KPAKHIL%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%3EIt%20seems%20you%20submitted%20the%20same%20questions%20in%20the%20private%20ticket.%3C%2FDIV%3E%0A%3CDIV%3EI%20have%20replied%20you%20in%20the%20private%20ticket.%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EThank%20you.%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EBR%3C%2FDIV%3E%0A%3CDIV%3EAlice%3C%2FDIV%3E%3C%2FLINGO-BODY%3E