<?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: CSEC MCAL Cannot WORK</title>
    <link>https://community.nxp.com/t5/S32K/CSEC-MCAL-Cannot-WORK/m-p/1492127#M16508</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/176156"&gt;@cychen88&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;1.2.3: I checked the sample project in&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;s32k14x_ CSEC_ MCAL4_ 0_ RTM_ 1_ 0_ 4, you're right that the example code is having trouble when load&amp;nbsp;CSEC_KEY_18.&lt;BR /&gt;I compared the code with the newest code in RTD package of RTD&amp;nbsp;SW32K1_RTD_4.4_1.0.1:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_0-1658288908058.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187209i0D0CDE91EBE81A60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_0-1658288908058.png" alt="cuongnguyenphu_0-1658288908058.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I removed a block code in function&amp;nbsp;SampleAppUpdateKeyProtocolTest() in sample_app_mcal_csec_task.c then the sample project will works normally.&lt;BR /&gt;&lt;BR /&gt;4.5 As I know, currently we hasn't provide&amp;nbsp;&lt;SPAN&gt;computer software to calculate M1-M5.&lt;BR /&gt;&lt;/SPAN&gt;6. Can you check this thread to recover your board:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K148-Cannot-program-or-erase-flash/td-p/722040" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K148-Cannot-program-or-erase-flash/td-p/722040&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 03:52:25 GMT</pubDate>
    <dc:creator>cuongnguyenphu</dc:creator>
    <dc:date>2022-07-20T03:52:25Z</dc:date>
    <item>
      <title>CSEC MCAL Cannot WORK</title>
      <link>https://community.nxp.com/t5/S32K/CSEC-MCAL-Cannot-WORK/m-p/1484420#M16204</link>
      <description>&lt;P&gt;We are using s32k14x_ CSEC_ MCAL4_ 0_ RTM_ 1_ 0_ 4. Some questions and problems encountered in the process of sample application：&lt;/P&gt;&lt;P&gt;1，MASTER_ ECU_KEY&amp;nbsp; key is loaded successfully,and load CSEC_KEY_18 When CSEC is loaded_ KEY_ Feedback to CSEC CSEC_KEY_18 return ERC_ KEY_ INVALID；&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;2，&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Feedback CSEC_&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;ERC_&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;KEY_&lt;SPAN class=""&gt;INVALID&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;The operation cannot be carried out after invalid. Other hardware encryption function calls, such as CSEC_&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Encryptecb;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;3,Re erase all keys through master_ ECU_ After the key is loaded successfully, reload CSEC_ KEY_ 18 still feedback CSEC_ ERC_ KEY_&lt;SPAN&gt;&lt;SPAN class=""&gt;INVALID&lt;/SPAN&gt;&lt;/SPAN&gt; error;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;4， According to the recommendations of mass production, a special program for writing keys is required. If a key needs to be updated later, whether to calculate M1-M5 offline and then pass CSEC_ Loadkey updates the corresponding key to EEPROM;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;5， Is there ready-made upper computer software for calculating M1-M5&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;6， How to remove the situation that 0x400-0x408 becomes FF and the debug port is closed due to the use of erase flash,now jatg/sw cannot link mcu to erase;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 06 Jul 2022 11:37:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CSEC-MCAL-Cannot-WORK/m-p/1484420#M16204</guid>
      <dc:creator>cychen88</dc:creator>
      <dc:date>2022-07-06T11:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: CSEC MCAL Cannot WORK</title>
      <link>https://community.nxp.com/t5/S32K/CSEC-MCAL-Cannot-WORK/m-p/1492127#M16508</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/176156"&gt;@cychen88&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;1.2.3: I checked the sample project in&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;s32k14x_ CSEC_ MCAL4_ 0_ RTM_ 1_ 0_ 4, you're right that the example code is having trouble when load&amp;nbsp;CSEC_KEY_18.&lt;BR /&gt;I compared the code with the newest code in RTD package of RTD&amp;nbsp;SW32K1_RTD_4.4_1.0.1:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_0-1658288908058.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/187209i0D0CDE91EBE81A60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_0-1658288908058.png" alt="cuongnguyenphu_0-1658288908058.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I removed a block code in function&amp;nbsp;SampleAppUpdateKeyProtocolTest() in sample_app_mcal_csec_task.c then the sample project will works normally.&lt;BR /&gt;&lt;BR /&gt;4.5 As I know, currently we hasn't provide&amp;nbsp;&lt;SPAN&gt;computer software to calculate M1-M5.&lt;BR /&gt;&lt;/SPAN&gt;6. Can you check this thread to recover your board:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K148-Cannot-program-or-erase-flash/td-p/722040" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K148-Cannot-program-or-erase-flash/td-p/722040&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 03:52:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CSEC-MCAL-Cannot-WORK/m-p/1492127#M16508</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2022-07-20T03:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: CSEC MCAL Cannot WORK</title>
      <link>https://community.nxp.com/t5/S32K/CSEC-MCAL-Cannot-WORK/m-p/1492955#M16536</link>
      <description>&lt;P&gt;Thank how can I get the new&amp;nbsp;&lt;SPAN&gt;example code，please send Link&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 02:50:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CSEC-MCAL-Cannot-WORK/m-p/1492955#M16536</guid>
      <dc:creator>cychen88</dc:creator>
      <dc:date>2022-07-21T02:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: CSEC MCAL Cannot WORK</title>
      <link>https://community.nxp.com/t5/S32K/CSEC-MCAL-Cannot-WORK/m-p/1493080#M16545</link>
      <description>&lt;P&gt;You can find RTD package for S32K1 here:&lt;BR /&gt;&lt;A href="https://nxp.flexnetoperations.com/control/frse/product?child_plneID=843397" target="_blank"&gt;https://nxp.flexnetoperations.com/control/frse/product?child_plneID=843397&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 06:42:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/CSEC-MCAL-Cannot-WORK/m-p/1493080#M16545</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2022-07-21T06:42:31Z</dc:date>
    </item>
  </channel>
</rss>

