<?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>S32KのトピックRe: command CMD_DBG_CHAL operation consultation</title>
    <link>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1276933#M10886</link>
    <description>&lt;P&gt;In the following sample code, there are other commands executed in step 5. Why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="584914019_0-1620985184928.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144764i77A9ED1C8DF38ADF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="584914019_0-1620985184928.jpeg" alt="584914019_0-1620985184928.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 May 2021 09:39:59 GMT</pubDate>
    <dc:creator>584914019</dc:creator>
    <dc:date>2021-05-14T09:39:59Z</dc:date>
    <item>
      <title>command CMD_DBG_CHAL operation consultation</title>
      <link>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1276844#M10883</link>
      <description>&lt;P&gt;I saw the following description in the reference manual. Does the command CMD_DBG_CHAL have to be followed by the command COMD_DBG_AUTH? What will happen if other commands are executed between the two commands? At present, I dare not add it randomly. I am afraid that the chip will be locked up, so please consult your side.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="584914019_0-1620977698251.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144741i0AB79042AEFD5BE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="584914019_0-1620977698251.png" alt="584914019_0-1620977698251.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 07:35:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1276844#M10883</guid>
      <dc:creator>584914019</dc:creator>
      <dc:date>2021-05-14T07:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: command CMD_DBG_CHAL operation consultation</title>
      <link>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1276922#M10885</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yes, the CMD_DBG_CHAL command must be followed by the CMD_DBG_AUTH command, otherwise the CMD_DBG_CHAL&lt;BR /&gt;command would be required to be reissued before continuing.&lt;/P&gt;
&lt;P&gt;Please refer to AN5401 Getting Started with CSEc Security Module&lt;/P&gt;
&lt;P&gt;4.5 Resetting Flash to the Factory State&lt;/P&gt;
&lt;P&gt;AN5401SW.zip&amp;nbsp; Example 5, Resetting flash to the factory state&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1620984702810.png" style="width: 471px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144759iDB0FB34054414D9A/image-dimensions/471x71?v=v2" width="471" height="71" role="button" title="danielmartynek_0-1620984702810.png" alt="danielmartynek_0-1620984702810.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/s32k-automotive-mcus/s32k1-microcontrollers-for-general-purpose:S32K1?tab=Documentation_Tab" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/s32k-automotive-mcus/s32k1-microcontrollers-for-general-purpose:S32K1?tab=Documentation_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 09:32:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1276922#M10885</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-14T09:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: command CMD_DBG_CHAL operation consultation</title>
      <link>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1276933#M10886</link>
      <description>&lt;P&gt;In the following sample code, there are other commands executed in step 5. Why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="584914019_0-1620985184928.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144764i77A9ED1C8DF38ADF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="584914019_0-1620985184928.jpeg" alt="584914019_0-1620985184928.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 09:39:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1276933#M10886</guid>
      <dc:creator>584914019</dc:creator>
      <dc:date>2021-05-14T09:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: command CMD_DBG_CHAL operation consultation</title>
      <link>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1276988#M10887</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/168808"&gt;@584914019&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Step 5 is needed to calculate the authorization.&lt;/P&gt;
&lt;P&gt;Please see function DBG_AUTH() in&amp;nbsp;AN5401, example 5.&lt;/P&gt;
&lt;P&gt;Or you can use the SDK driver, example: csec_keyconfig_s32k144 function eraseKeys().&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 11:41:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1276988#M10887</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-14T11:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: command CMD_DBG_CHAL operation consultation</title>
      <link>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1277291#M10890</link>
      <description>&lt;P&gt;In the csec_keyconfig_s32k146 function deleteKeys(), you can see that CMD_DBG_CHAL() and CMD_DBG_AUTH have other commands CMD_GENERATE_MAC, as shown in step 2 in the figure below，Does the "CMD_DBG_CHA" command have to be followed by the command "CMD_DBG_AUTH"?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="584914019_0-1621218972735.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144825i3942DEF59D21E901/image-size/medium?v=v2&amp;amp;px=400" role="button" title="584914019_0-1621218972735.jpeg" alt="584914019_0-1621218972735.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 02:36:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1277291#M10890</guid>
      <dc:creator>584914019</dc:creator>
      <dc:date>2021-05-17T02:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: command CMD_DBG_CHAL operation consultation</title>
      <link>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1278502#M10904</link>
      <description>&lt;P&gt;In the csec_keyconfig_s32k146 function deleteKeys(), you can see that CMD_DBG_CHAL() and CMD_DBG_AUTH have other commands CMD_GENERATE_MAC, as shown in step 2 in the figure below，Does the "CMD_DBG_CHA" command have to be followed by the command "CMD_DBG_AUTH"?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="584914019_0-1621387041471.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/145004i18D82C6854DB4A10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="584914019_0-1621387041471.jpeg" alt="584914019_0-1621387041471.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 01:17:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1278502#M10904</guid>
      <dc:creator>584914019</dc:creator>
      <dc:date>2021-05-19T01:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: command CMD_DBG_CHAL operation consultation</title>
      <link>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1283524#M10984</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/168808"&gt;@584914019&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The challenge and response(authorization) is a two-step operation.&lt;/P&gt;
&lt;P&gt;But the calculation of CMAC needs to be done before we can send the response (authorization) to CSEc. And this step can’t be ignored or calculated before the challenge is issued, the challenge is a random number.&lt;/P&gt;
&lt;P&gt;The RM does not say no CSEc operation can be performed between these two steps, that's impossible.&lt;/P&gt;
&lt;P&gt;Also, AN5401 shows how to generate the CMAC of response (authorization).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 13:50:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/command-CMD-DBG-CHAL-operation-consultation/m-p/1283524#M10984</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-05-27T13:50:45Z</dc:date>
    </item>
  </channel>
</rss>

