<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CSE2 (MPC5777C) : Key Storage address space query? in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994831#M14975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mr.Lukas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry to say that we use &lt;STRONG&gt;GHS&lt;/STRONG&gt; compiler and not the &lt;STRONG&gt;GCC&lt;/STRONG&gt; &lt;STRONG&gt;environment&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer me to an article which can help me migrate the GCC based project to GHS environment (Or) please share GHS based project if having.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Mar 2020 04:59:58 GMT</pubDate>
    <dc:creator>lakshmikanth</dc:creator>
    <dc:date>2020-03-03T04:59:58Z</dc:date>
    <item>
      <title>CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994822#M14966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team NXP,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) As per MPC5777C TRM manual, the memory map of CSE Flash is as below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Block-0 : 0x0060_0000 to&amp;nbsp;&lt;SPAN&gt;0x0060_3FFFF (16 KB) for CSE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Block-1 :&amp;nbsp;0x0060_4000 to&amp;nbsp;&lt;SPAN&gt;0x0060_7FFFF (16 KB) for CSE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;2) And I'm aware that followings keys makes in to those flash areas based on particular use case:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102422i30321BAB4AC9120C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) QUERY :&lt;/P&gt;&lt;P&gt;- a) I'm unable to find, Key_Wise_Memory_Slot Indication in the manual&amp;nbsp;&lt;/P&gt;&lt;P&gt;- b) So, Can I conclude that: As developer, we have to make a 'KEY memory occupation layout' with in the address space mentioned in the point-1 ?&lt;/P&gt;&lt;P&gt;- c) Else, where does the NXP Flashed keys are pre-stored with in this space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request: Please throw relevant pointer addressing the above issues and correct me if I'm wrong in making above assumption. (Regarding the key storage layout and addresses particular to each key)&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Also, What is the rationale in giving 2-CSE Blocks (B1, B2) in flash as indicated in point-1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Awaiting your quick response. : )&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 06:48:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994822#M14966</guid>
      <dc:creator>lakshmikanth</dc:creator>
      <dc:date>2020-02-20T06:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994823#M14967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all the MPC5777C devices are shipped with CSE enabled. That means CSE has exclusive access to those flash blocks. Other masters are not allowed to access this memory – bus error will be triggered on such attempt.&lt;/P&gt;&lt;P&gt;The keys are not loaded to that flash directly. It must be done by memory update protocol defined by SHE spec. See this application note for more details. There are code examples in Appendix A:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN5418"&gt;https://www.nxp.com/webapp/Download?colCode=AN5418&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then there are application notes written for MPC5646C which has CSE module (there’s CSE2 on MPC5777C). This could also help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4234.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN4234.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note-software/AN4234SW.zip"&gt;https://www.nxp.com/docs/en/application-note-software/AN4234SW.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note-software/AN4234video.zip"&gt;https://www.nxp.com/docs/en/application-note-software/AN4234video.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4235.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN4235.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note-software/AN4235SW.zip"&gt;https://www.nxp.com/docs/en/application-note-software/AN4235SW.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note-software/AN4235video.zip"&gt;https://www.nxp.com/docs/en/application-note-software/AN4235video.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 13:20:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994823#M14967</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-02-20T13:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994824#M14968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas &amp;amp; Team NXP,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response. The content is really helpful and I went through them in keen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need your &lt;STRONG&gt;help&lt;/STRONG&gt; on following &lt;STRONG&gt;Query&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp; &lt;EM&gt;I have started testing CSE2 for&lt;/EM&gt; :&lt;/P&gt;&lt;P&gt;a) &lt;STRONG&gt;GET_ID&lt;/STRONG&gt;,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;EM&gt;[Result (CMD Error code)&amp;nbsp;:- "System Memory Error")]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;b) &lt;STRONG&gt;LOAD_PLAIN_KEY&lt;/STRONG&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;EM&gt;[Result&amp;nbsp;(CMD Error code)&amp;nbsp;:- "System Memory Error")]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;c) &lt;STRONG&gt;ENCRYPT&lt;/STRONG&gt;, &lt;STRONG&gt;DECRYPT&lt;/STRONG&gt; using the&amp;nbsp;loaded &lt;STRONG&gt;PLAIN_RAM_KEY&lt;/STRONG&gt;.&amp;nbsp;&amp;nbsp;&lt;EM&gt;[Result&amp;nbsp;(CMD Error code)&amp;nbsp;:- "Empty Key")]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Query&lt;/STRONG&gt; :&lt;/P&gt;&lt;P&gt;1) Does updating&amp;nbsp;&lt;STRONG&gt;RAM_KEY&lt;/STRONG&gt;&amp;nbsp;using &lt;STRONG&gt;LOAD_PLAIN_KEY&lt;/STRONG&gt; &lt;STRONG&gt;command&lt;/STRONG&gt; has any dependency on the Success of SECURE_BOOT ? (Parallel Secure boot anyway fails in our case as its not of our interest)&lt;/P&gt;&lt;P&gt;- (Please note that SECURE_BOOT is not of our interest but only ENCRY, DECRY using PLAIN_RAM_KEY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Attachment (Issue description) : Please go through attachment for issue or query details.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your quick response as always is much appreciated and thanks in advance.&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lukaszadrapa"&gt;lukaszadrapa&lt;/A&gt;&amp;nbsp;csec; ram_key&amp;nbsp;cse2&amp;nbsp;cse&amp;nbsp;crypto services engine&amp;nbsp;crypto&amp;nbsp;&lt;A href="https://community.nxp.com/t5/tag/she/tg-p"&gt;#she&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;J.G Lakshmi Kanth&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2020 19:00:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994824#M14968</guid>
      <dc:creator>lakshmikanth</dc:creator>
      <dc:date>2020-02-24T19:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994825#M14969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lakshmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it looks like you didn't initialize the CSE. Let me copy here two parts of the AN5418:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95169i104149159765F9C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95307i69AC50E4D5EF0D47/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;By the way, secure boot is not enabled by default. Read "6.1.1 With secure boot enabled" in the application note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2020 12:00:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994825#M14969</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-02-25T12:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994826#M14970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly I forgot to mention that : I've &lt;STRONG&gt;already&lt;/STRONG&gt; &lt;STRONG&gt;executed&lt;/STRONG&gt; the above mentioned test case i.e :&amp;nbsp;&lt;/P&gt;&lt;P&gt;- &lt;STRONG&gt;First&lt;/STRONG&gt; &lt;STRONG&gt;performed&lt;/STRONG&gt;: &lt;EM&gt;&lt;STRONG&gt;INIT_CSE&lt;/STRONG&gt; &lt;/EM&gt;(Called after &lt;STRONG&gt;Mcu_Init &lt;/STRONG&gt;in the main before using any CSE Services&lt;STRONG&gt;).&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(&lt;STRONG&gt;Result&lt;/STRONG&gt; : "&lt;STRONG&gt;CMD&lt;/STRONG&gt; &lt;STRONG&gt;Sequence&lt;/STRONG&gt; &lt;STRONG&gt;Error&lt;/STRONG&gt;" stored in : &lt;STRONG&gt;CSE&lt;/STRONG&gt; &lt;STRONG&gt;Error&lt;/STRONG&gt; &lt;STRONG&gt;Code&lt;/STRONG&gt; &lt;STRONG&gt;Register&lt;/STRONG&gt; (&lt;STRONG&gt;CSE_ECR&lt;/STRONG&gt;).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Observation&lt;/STRONG&gt; : By observing "CMD Seq Error - 0x02" description, Point(3) says clearly that :&amp;nbsp;&lt;/P&gt;&lt;P&gt;- [3. SECURE_BOOT or &lt;EM&gt;&lt;STRONG&gt;INIT_CSE&lt;/STRONG&gt; &lt;/EM&gt;&lt;STRONG&gt;command&lt;/STRONG&gt; &lt;EM&gt;issued&lt;/EM&gt; &lt;EM&gt;after&lt;/EM&gt; &lt;EM&gt;an &lt;STRONG&gt;initial&lt;/STRONG&gt; &lt;/EM&gt;SECURE_BOOT or &lt;EM&gt;&lt;STRONG&gt;INIT_CSE&lt;/STRONG&gt; &lt;/EM&gt;is issued.]&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_16.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98838iABBD6E18FF51EEE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_16.png" alt="pastedImage_16.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Inference&lt;/STRONG&gt;: So, as per the above texts, it is clear that: &lt;STRONG&gt;INIT_CSE&lt;/STRONG&gt; is not required as "&lt;STRONG&gt;SECURE_BOOT&lt;/STRONG&gt;" command is already enabled by default and &lt;STRONG&gt;CSE_Internal&lt;/STRONG&gt; &lt;STRONG&gt;Firmware&lt;/STRONG&gt; would have issued the &lt;STRONG&gt;SECURE_BOOT&lt;/STRONG&gt; command internally.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Context of Test Execution&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;- "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)&lt;/P&gt;&lt;P&gt;- "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".&lt;/P&gt;&lt;P&gt;- This is the context in which we are trying to either INIT_CSE (Cmd Seq Error),&amp;nbsp; Get UID (System Memory Error),&amp;nbsp; ENCRYPT &amp;amp; DECRYPT (key empty) error gets registered in "Error Code Summary".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Queries&lt;/STRONG&gt; : (At main() function : "CSE_ECR -&amp;gt; No Secure Boot" as BOOT_MAC_KEY not available and that's fine)&lt;/P&gt;&lt;P&gt;1) If SECURE_BOOT Fails, does it mean using even "GET_ID" &amp;amp; "LOAD_PLAIN_KEY" basic functionalities are restricted or having a sort of dependency.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) INIT_CSE fails saying : Cmd Seq Error (Gives assumption, SECURE_BOOT is internally issues during SECURE_PARALLEL Boot). Is this assumption right?&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Is it required to carryout SECURE_FALSH ERASE at-least once to even use GET_ID or LOAD_PLAIN_KEY ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) What is the checklist to ensure there won't be any issues w.r.t : CSE FLASH Accesses or CSE SYSTEM&amp;nbsp;Memory related errors?&amp;nbsp;&lt;/P&gt;&lt;P&gt;5) Do you suggest me to DISABLE SECURE_BOOT using DCF and use CSE functions directly?&lt;/P&gt;&lt;P&gt;6) Is issuing BOOT_OK Command can solve the side effects of query asked at '(1)' ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Request for your kind co-operation in knowing the root-cause ASAP as we have some prototype demonstration very soon.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help so far.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lakshmi Kanth, Senior Research Engineer.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 04:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994826#M14970</guid>
      <dc:creator>lakshmikanth</dc:creator>
      <dc:date>2020-02-26T04:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994827#M14971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did quick test on my board and I can see it's also necessary to initialize TRNG. My minimalist code is (reused from AN5418):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Setting the divider value&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;//CSE.CR.B.DIV = ---- set as needed to achieve clock 500kHz - 2MHz&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;// Initializing TRNG&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;CSE.CMD.R = 0x0A;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Command ID for INIT_TRNG*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;while (CSE.SR.B.BSY ==1) {};&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Polling for busy bit to get clear*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;while(CSE.SR.B.RIN==0) {};&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Polling RIN flag to get set*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (CSE.ECR.R != 0) fail_count++;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;char get_id_challenge[16] = {0xE6,0xFE,0x09,0x7D,0xBC,0x72,0x3E,0x2C ,0xF0,0xEA, 0x41,0x6F,0xE6,0x8A,0xD3,0x3E};&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* user selects these values*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;vuint32_t GET_ID_UID [4];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;vuint32_t UID_MAC [4];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;CSE.P[0].R = (vuint32_t) &amp;amp; get_id_challenge;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Pointer to ID challenge*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;CSE.P[1].R = (vuint32_t) &amp;amp; GET_ID_UID;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Pointer to location, UID to be stored at*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;CSE.P[2].R = 0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;CSE.P[3].R = (vuint32_t) &amp;amp; UID_MAC;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Pointer to location, MAC to be stored at*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;CSE.CMD.R = 0x10;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Command ID of GET_ID */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;while (CSE.SR.B.BSY ==1) {};&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*Polling for busy bit to get clear*/&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (CSE.ECR.R != 0) fail_count++;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working on my side, I'm able to get the ID. It's brand new device, I didn't do other initialization.&lt;/P&gt;&lt;P&gt;Could you give this a try?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 11:40:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994827#M14971</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-02-26T11:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994828#M14972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the "&lt;STRONG&gt;TEST&lt;/STRONG&gt; &lt;STRONG&gt;RESULT"&lt;/STRONG&gt; as per your suggestion: (On &lt;STRONG&gt;MCU&lt;/STRONG&gt; is &lt;STRONG&gt;MPC5777C&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;1) Only Progress: &lt;STRONG&gt;Only TRNG_INIT&lt;/STRONG&gt; &lt;STRONG&gt;CMD&lt;/STRONG&gt; is &lt;EM&gt;successful&lt;/EM&gt;. (i.e. RIN Flag set and No ERC (Error Code generated))&lt;/P&gt;&lt;P&gt;2) Immediately &lt;STRONG&gt;GET_ID&lt;/STRONG&gt; is called. (Result : Same as before : "&lt;EM&gt;System Memory Error&lt;/EM&gt;".&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Followed by : &lt;STRONG&gt;LOAD_PLAIN_KEY&lt;/STRONG&gt; (Result : "&lt;EM&gt;System Memory Error&lt;/EM&gt;").&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) Then, &lt;STRONG&gt;ENCRY&lt;/STRONG&gt;, &lt;STRONG&gt;DECRY&lt;/STRONG&gt; &lt;STRONG&gt;CMDs&lt;/STRONG&gt; leads to : "&lt;STRONG&gt;Key Slot Empty&lt;/STRONG&gt;" as &lt;STRONG&gt;LOAD_PLAIN_KEY&lt;/STRONG&gt; failed already.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have few known facts &amp;amp; assumptions regarding the issue:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- [Fact-1]&lt;/STRONG&gt;: &lt;STRONG&gt;DCF&lt;/STRONG&gt; &lt;STRONG&gt;record&lt;/STRONG&gt; corresponding the &lt;STRONG&gt;SECURE_BOOT&lt;/STRONG&gt; is &lt;STRONG&gt;OTP&lt;/STRONG&gt; and &lt;STRONG&gt;written&lt;/STRONG&gt; &lt;STRONG&gt;by NXP&lt;/STRONG&gt; already and &lt;STRONG&gt;cannot&lt;/STRONG&gt; be &lt;STRONG&gt;overwritten&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- This concludes : &lt;STRONG&gt;CSE2&lt;/STRONG&gt; is always enabled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- &lt;STRONG&gt;SEC_BOOT&lt;/STRONG&gt; always enabled in Parallel Mode. (No control to user over this part).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- [Fact-2]&lt;/STRONG&gt; : MPC5777C Manual says: &lt;STRONG&gt;MPU&lt;/STRONG&gt; is auto &lt;STRONG&gt;configured&lt;/STRONG&gt; &lt;STRONG&gt;by default&lt;/STRONG&gt; to set &lt;STRONG&gt;CSE2&lt;/STRONG&gt; free from interference from other masters. (-&amp;nbsp;&lt;STRONG&gt;Conclusion made&lt;/STRONG&gt; : So, &lt;EM&gt;&lt;STRONG&gt;user need not change&lt;/STRONG&gt;&lt;/EM&gt; &lt;STRONG&gt;&lt;EM&gt;MPU&lt;/EM&gt;&lt;/STRONG&gt; &lt;STRONG&gt;settings&lt;/STRONG&gt; is the assumption made).&lt;/P&gt;&lt;P&gt;- [Fact-3] After&amp;nbsp;&lt;STRONG&gt;MCU_Init&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;Clock distribution&lt;/STRONG&gt;, the CSE2 shows &lt;STRONG&gt;SECURE_BOOT&lt;/STRONG&gt; as &lt;STRONG&gt;last&lt;/STRONG&gt; &lt;STRONG&gt;processed&lt;/STRONG&gt; &lt;STRONG&gt;CMD&lt;/STRONG&gt; with failures: (Secure boot is assumed to fail as BOOT_MAC_KEY is not yet programmed and hence ok to fail.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;a) BOK : Secure Boot Not Completed or Failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;b) BFN : Secure Boot Not Finised&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;c) BIN : Secure Boot Personalization not finised.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d) SB : Secure Boot Not Completed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- [Assumption-1]&lt;/STRONG&gt; : Because of &lt;STRONG&gt;FACT-1&lt;/STRONG&gt; i.e &lt;STRONG&gt;SEC_BOOT&lt;/STRONG&gt; enabled by default on &lt;STRONG&gt;MCU&lt;/STRONG&gt; by &lt;STRONG&gt;NXP&lt;/STRONG&gt;, we assume &lt;STRONG&gt;SECURE_BOOT&lt;/STRONG&gt; command is issued automatically to the &lt;STRONG&gt;CSE&lt;/STRONG&gt; at &lt;STRONG&gt;POWER_ON&lt;/STRONG&gt; and &lt;STRONG&gt;CSE2&lt;/STRONG&gt; is loaded with the &lt;STRONG&gt;Firmware&lt;/STRONG&gt; from the &lt;STRONG&gt;SECURE_FLASH &lt;/STRONG&gt;to&lt;STRONG&gt; CSE2 &lt;/STRONG&gt;local memory&lt;STRONG&gt;.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- Conclusion of Assumption-1 : &lt;/STRONG&gt;We assume "&lt;STRONG&gt;CSE Firmware loading&lt;/STRONG&gt;" is failed and we are not sure of how to check that thing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-[&lt;STRONG&gt;Actions being taken&lt;/STRONG&gt;]&amp;nbsp;&lt;/P&gt;&lt;P&gt;- PASS, TDM &amp;amp; FMC55 modules are being checked to see if any locks are applied on SECURE_FLASH memory for CSE2 engine to access. (Please correct me if any-assumption is wrong). Also, do you think MPU has control over FLASH access too as I assume its only control over RAM area.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;Hoping for your quick response as usual Lukas&lt;/STRONG&gt;".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lukaszadrapa"&gt;lukaszadrapa&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/tag/cse2/tg-p"&gt;#cse2&lt;/A&gt;‌ &lt;A href="https://community.nxp.com/t5/tag/crypto/tg-p"&gt;#crypto&lt;/A&gt;‌ &lt;A href="https://community.nxp.com/t5/tag/mpc5777c/tg-p"&gt;#mpc5777c&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks &amp;amp; Regard,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;J.G Lakshmi Kanth&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 10:00:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994828#M14972</guid>
      <dc:creator>lakshmikanth</dc:creator>
      <dc:date>2020-02-27T10:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994829#M14973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible, please send the &amp;nbsp;'&lt;STRONG&gt;example project'&lt;/STRONG&gt; for &lt;STRONG&gt;MPC5777C &lt;/STRONG&gt;used for setting up the&lt;STRONG&gt; required environment &lt;/STRONG&gt;for&lt;STRONG&gt; CSE2 to RUN. (Low level files)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp; :smileyhappy:&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/lukaszadrapa"&gt;lukaszadrapa&lt;/A&gt;‌ &lt;A href="https://community.nxp.com/t5/tag/cse2/tg-p"&gt;#cse2&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 10:02:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994829#M14973</guid>
      <dc:creator>lakshmikanth</dc:creator>
      <dc:date>2020-02-27T10:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994830#M14974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just sharing test project in a hurry. This works on my side, I can get random number and ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;“Any support, information, and technology (“Materials”) provided by NXP are provided AS IS, without any warranty express or implied, and &lt;BR /&gt;NXP disclaims all direct and indirect liability and damages in connection with the Material to the maximum extent permitted by the applicable &lt;BR /&gt;law. NXP accepts no liability for any assistance with applications or product design.&amp;nbsp; Materials may only be used in connection with NXP &lt;BR /&gt;products. Any feedback provided to NXP regarding the Materials may be used by NXP without restriction.”&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2020 12:46:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994830#M14974</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-02-28T12:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994831#M14975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mr.Lukas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry to say that we use &lt;STRONG&gt;GHS&lt;/STRONG&gt; compiler and not the &lt;STRONG&gt;GCC&lt;/STRONG&gt; &lt;STRONG&gt;environment&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer me to an article which can help me migrate the GCC based project to GHS environment (Or) please share GHS based project if having.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 04:59:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994831#M14975</guid>
      <dc:creator>lakshmikanth</dc:creator>
      <dc:date>2020-03-03T04:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994832#M14976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can simply copy the code from main.c. I didn't modify more files. Please confirm if this code is working on your side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 12:07:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994832#M14976</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-03-03T12:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994833#M14977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code &lt;STRONG&gt;works&lt;/STRONG&gt; &lt;STRONG&gt;fine&lt;/STRONG&gt;. (Thank you)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is surprising is that we don't know if the &lt;STRONG&gt;CHALLENGE_VALUE&lt;/STRONG&gt; for &lt;STRONG&gt;GET_UID&lt;/STRONG&gt; command is a random or a derived one. We were using &lt;STRONG&gt;CHALLENGE_ID&lt;/STRONG&gt; from one of previous application notes and that was creating the problem it seems. When we changed CHALLENGE as per recent application note, its working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, thanks a lot for the effort you've put so far Mr. Lukas. It was a silly thing that was causing the problem. :smileyhappy:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;STRONG&gt;Challenge&lt;/STRONG&gt; &lt;STRONG&gt;value&lt;/STRONG&gt; selection for GET_UID is still a Gray area for us).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lakshmi Kanth,&lt;/P&gt;&lt;P&gt;Senior Research Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 05:54:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994833#M14977</guid>
      <dc:creator>lakshmikanth</dc:creator>
      <dc:date>2020-03-06T05:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994834#M14978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lakshmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nice to hear it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally, challenge value is a random value:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://en.wikipedia.org/wiki/Challenge%E2%80%93response_authentication#Cryptographic_techniques" title="https://en.wikipedia.org/wiki/Challenge%E2%80%93response_authentication#Cryptographic_techniques"&gt;Challenge–response authentication - Wikipedia&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of GET_UID, it's possible to use either constant value (as shown in AN5418) or random value. It depends on your needs. The command returns signature - MAC value calculated over challenge value, status register and ID. MASTER_ECU_KEY is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 07:37:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994834#M14978</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2020-03-09T07:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: CSE2 (MPC5777C) : Key Storage address space query?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994835#M14979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lukas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yaa. It works with Random Selection of &lt;STRONG&gt;CHALLENGE_VALUES&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks &amp;amp; Regards,&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;J.G Lakshmi Kanth.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2020 11:27:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CSE2-MPC5777C-Key-Storage-address-space-query/m-p/994835#M14979</guid>
      <dc:creator>lakshmikanth</dc:creator>
      <dc:date>2020-03-18T11:27:46Z</dc:date>
    </item>
  </channel>
</rss>

