<?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 S32K116 STATUS_ERROR on any command in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K116-STATUS-ERROR-on-any-command/m-p/1854908#M34673</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I am new to programming MCU's and have been having problems with getting any command to work on the s32k116.&amp;nbsp; I started with an example project on s32ds being csec_keyconfig_s32k116 and then changed it to suit my needs.&amp;nbsp; I am using a custom board with the s32k116 and any command I send through WriteCommandHeader are returned with error by csec_readerrorbits() like this as example:&amp;nbsp; CSEC_WriteCommandHeader(CSEC_CMD_BOOT_OK, CSEC_FUNC_FORMAT_ADDR,CSEC_CALL_SEQ_FIRST, CSEC_SECRET_KEY);&lt;BR /&gt;I tried to use CSEC_CMD_INIT_RNG first but also got an error.&amp;nbsp; Does anyone know why the commands are getting errors?&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2024 16:00:21 GMT</pubDate>
    <dc:creator>NathanGalasso</dc:creator>
    <dc:date>2024-04-25T16:00:21Z</dc:date>
    <item>
      <title>S32K116 STATUS_ERROR on any command</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-STATUS-ERROR-on-any-command/m-p/1854908#M34673</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am new to programming MCU's and have been having problems with getting any command to work on the s32k116.&amp;nbsp; I started with an example project on s32ds being csec_keyconfig_s32k116 and then changed it to suit my needs.&amp;nbsp; I am using a custom board with the s32k116 and any command I send through WriteCommandHeader are returned with error by csec_readerrorbits() like this as example:&amp;nbsp; CSEC_WriteCommandHeader(CSEC_CMD_BOOT_OK, CSEC_FUNC_FORMAT_ADDR,CSEC_CALL_SEQ_FIRST, CSEC_SECRET_KEY);&lt;BR /&gt;I tried to use CSEC_CMD_INIT_RNG first but also got an error.&amp;nbsp; Does anyone know why the commands are getting errors?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 16:00:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-STATUS-ERROR-on-any-command/m-p/1854908#M34673</guid>
      <dc:creator>NathanGalasso</dc:creator>
      <dc:date>2024-04-25T16:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 STATUS_ERROR on any command</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-STATUS-ERROR-on-any-command/m-p/1855512#M34702</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232746"&gt;@NathanGalasso&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;let's start from the beginning:&lt;/P&gt;
&lt;P&gt;Here's a screenshot from SDK user manual:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lukaszadrapa_0-1714122311458.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/276087i7739C78A4D7C49D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lukaszadrapa_0-1714122311458.png" alt="lukaszadrapa_0-1714122311458.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;lukaszadrapa_0-1714122311458.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;1. Do you have CSEc enabled part?&lt;/P&gt;
&lt;P&gt;2. Did you enable the CSEc by mentioned project?&lt;/P&gt;
&lt;P&gt;3. Is the original csec_keyconfig_s32k116 (without any changes) working?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 09:10:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-STATUS-ERROR-on-any-command/m-p/1855512#M34702</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-04-26T09:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 STATUS_ERROR on any command</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-STATUS-ERROR-on-any-command/m-p/1855934#M34719</link>
      <description>&lt;P&gt;As per your questions:&lt;BR /&gt;&lt;BR /&gt;1) The part is CSEc enabled as i can tell by the register SIM_SDID having 11100000&lt;BR /&gt;2)I did try to run the mentioned project before the one I am working on to enable CSEc but the project is still not working&lt;BR /&gt;3)When I run the base project with nothing changed then I will get DefaultISR&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out and if you need anything else please let me know&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 20:01:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-STATUS-ERROR-on-any-command/m-p/1855934#M34719</guid>
      <dc:creator>NathanGalasso</dc:creator>
      <dc:date>2024-04-26T20:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 STATUS_ERROR on any command</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-STATUS-ERROR-on-any-command/m-p/1857392#M34828</link>
      <description>&lt;P&gt;Did you run the csec_ﬂash_part example from RAM? Was it successful?&lt;/P&gt;
&lt;P&gt;When you run the CSEc key conﬁguration example, where does it fail exactly?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 08:34:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-STATUS-ERROR-on-any-command/m-p/1857392#M34828</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2024-04-30T08:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: S32K116 STATUS_ERROR on any command</title>
      <link>https://community.nxp.com/t5/S32K/S32K116-STATUS-ERROR-on-any-command/m-p/1859929#M35006</link>
      <description>&lt;P&gt;When running csec_flash_part it seems I forgot to power cycle when switching to the other program causing the commands not to work but after power cycling&amp;nbsp;I was able to get the commands to work.&amp;nbsp; Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 19:53:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K116-STATUS-ERROR-on-any-command/m-p/1859929#M35006</guid>
      <dc:creator>NathanGalasso</dc:creator>
      <dc:date>2024-05-06T19:53:10Z</dc:date>
    </item>
  </channel>
</rss>

