Hi Lukas,
Thanks for the reply.
Firstly I forgot to mention that : I've already executed the above mentioned test case i.e :
- First performed: INIT_CSE (Called after Mcu_Init in the main before using any CSE Services).
(Result : "CMD Sequence Error" stored in : CSE Error Code Register (CSE_ECR).
Observation : By observing "CMD Seq Error - 0x02" description, Point(3) says clearly that :
- [3. SECURE_BOOT or INIT_CSE command issued after an initial SECURE_BOOT or INIT_CSE is issued.]

Inference: So, as per the above texts, it is clear that: INIT_CSE is not required as "SECURE_BOOT" command is already enabled by default and CSE_Internal Firmware would have issued the SECURE_BOOT command internally.
Context of Test Execution:
- "CSE2 enabled by default settings at power-up in Parallel SECURE_BOOT mode for by NXPs default setting" (No changes made by us in this regard - Internal Flash Boot)
- "Also, NO KEYS Flashed before as SECURE_BOOT is not our interest and hence its expected to fail obviously (No MASTER_ECU_KEY nor BOOT_MAC_KEY available".
- This is the context in which we are trying to either INIT_CSE (Cmd Seq Error), Get UID (System Memory Error), ENCRYPT & DECRYPT (key empty) error gets registered in "Error Code Summary".
Queries : (At main() function : "CSE_ECR -> No Secure Boot" as BOOT_MAC_KEY not available and that's fine)
1) If SECURE_BOOT Fails, does it mean using even "GET_ID" & "LOAD_PLAIN_KEY" basic functionalities are restricted or having a sort of dependency.
2) INIT_CSE fails saying : Cmd Seq Error (Gives assumption, SECURE_BOOT is internally issues during SECURE_PARALLEL Boot). Is this assumption right?
3) Is it required to carryout SECURE_FALSH ERASE at-least once to even use GET_ID or LOAD_PLAIN_KEY ?
4) What is the checklist to ensure there won't be any issues w.r.t : CSE FLASH Accesses or CSE SYSTEM Memory related errors?
5) Do you suggest me to DISABLE SECURE_BOOT using DCF and use CSE functions directly?
6) Is issuing BOOT_OK Command can solve the side effects of query asked at '(1)' ?
Request for your kind co-operation in knowing the root-cause ASAP as we have some prototype demonstration very soon.
Thanks for help so far.
Regard,
Lakshmi Kanth, Senior Research Engineer.