<?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: unable to program due to reset pin in S32K</title>
    <link>https://community.nxp.com/t5/S32K/unable-to-program-due-to-reset-pin/m-p/1570100#M19444</link>
    <description>&lt;P&gt;Hi&amp;nbsp;m_mishrikey,&lt;/P&gt;
&lt;P&gt;Please change the&amp;nbsp;Flash Configuration in&amp;nbsp;Startup_S32K148.S&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Table 25-2. FTFC_FOPT definition RESET_PIN_CFG.png" style="width: 810px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204527i975B7F51C8FEF5E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Table 25-2. FTFC_FOPT definition RESET_PIN_CFG.png" alt="Table 25-2. FTFC_FOPT definition RESET_PIN_CFG.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The default value of FOPT is 7F, since you want to clear bit 3 RESET_PIN_CFG, please change it to 77.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Flash Configuration FOPT 77.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204528iA70314E5CAE00309/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flash Configuration FOPT 77.png" alt="Flash Configuration FOPT 77.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2022 02:58:53 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2022-12-15T02:58:53Z</dc:date>
    <item>
      <title>unable to program due to reset pin</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-program-due-to-reset-pin/m-p/1569908#M19439</link>
      <description>&lt;P&gt;MCU: S32K148 144pin&lt;/P&gt;&lt;P&gt;I have a separate IC that when connected holds pin 141 (PTA5/TCLK1/RESET_b) low.&amp;nbsp; &amp;nbsp;When powered, it seems the MCU is held in reset such that it cannot be programmed.&lt;/P&gt;&lt;P&gt;I checked the processor expert configuration.&amp;nbsp; Pin mux settings show GPIO PTA5 set as an input.&amp;nbsp; Under "Platform" tab of pin mux config, Reset shows "no pin routed", and if you wanted to route it, it shows a conflict as PTA5 is already configured.&lt;/P&gt;&lt;P&gt;In Debug I check the EMB_SYS FTFC FOPT register.&amp;nbsp; This shows 0x00, so I think the pin should be disabled.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m_mishrikey_0-1671040325227.png" style="width: 565px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204483i7F03464D10547244/image-dimensions/565x238?v=v2" width="565" height="238" role="button" title="m_mishrikey_0-1671040325227.png" alt="m_mishrikey_0-1671040325227.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I suspect that means if it is disabled you can't reset once things are up and running, but if you turn it on with the reset_b held low it will be stuck in reset, and there is nothing you can do as far as register settings go to change that.&amp;nbsp; Is that correct?&lt;/P&gt;&lt;P&gt;Side-question -&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the correct way to set the FOPT RESET_PIN_CFG using the processor expert?&amp;nbsp; I found the flash component, but i'm not sure what function or macros to use.&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>Wed, 14 Dec 2022 17:55:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-program-due-to-reset-pin/m-p/1569908#M19439</guid>
      <dc:creator>m_mishrikey</dc:creator>
      <dc:date>2022-12-14T17:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: unable to program due to reset pin</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-program-due-to-reset-pin/m-p/1570100#M19444</link>
      <description>&lt;P&gt;Hi&amp;nbsp;m_mishrikey,&lt;/P&gt;
&lt;P&gt;Please change the&amp;nbsp;Flash Configuration in&amp;nbsp;Startup_S32K148.S&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Table 25-2. FTFC_FOPT definition RESET_PIN_CFG.png" style="width: 810px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204527i975B7F51C8FEF5E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Table 25-2. FTFC_FOPT definition RESET_PIN_CFG.png" alt="Table 25-2. FTFC_FOPT definition RESET_PIN_CFG.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The default value of FOPT is 7F, since you want to clear bit 3 RESET_PIN_CFG, please change it to 77.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Flash Configuration FOPT 77.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204528iA70314E5CAE00309/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flash Configuration FOPT 77.png" alt="Flash Configuration FOPT 77.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 02:58:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-program-due-to-reset-pin/m-p/1570100#M19444</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-12-15T02:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: unable to program due to reset pin</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-program-due-to-reset-pin/m-p/1570124#M19448</link>
      <description>&lt;P&gt;I tested, and this solution works.&lt;/P&gt;&lt;P&gt;I wish I understood better though.&amp;nbsp; When I checked the emb_sys register the FOPT was 0x00 which should have disabled it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess the startup behavior is different though, and it is governed by this s&lt;SPAN&gt;tartup_S32K148.S?&amp;nbsp; &amp;nbsp;Is there some documentation about using this file?&amp;nbsp; I don't think I ever would have figured it out with your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 03:32:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-program-due-to-reset-pin/m-p/1570124#M19448</guid>
      <dc:creator>m_mishrikey</dc:creator>
      <dc:date>2022-12-15T03:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: unable to program due to reset pin</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-program-due-to-reset-pin/m-p/1572175#M19524</link>
      <description>&lt;P&gt;Flash Configuration block : 16-byte flash configuration field that stores default protection settings (loaded on reset) and security information that allows the MCU to restrict access to the Flash Memory module.&amp;nbsp; Placed at address 0x400 by the linker script.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FlashConfig FOPT.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/204933i0AFE5C4A3582391F/image-size/large?v=v2&amp;amp;px=999" role="button" title="FlashConfig FOPT.png" alt="FlashConfig FOPT.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 02:09:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-program-due-to-reset-pin/m-p/1572175#M19524</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-12-20T02:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: unable to program due to reset pin</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-program-due-to-reset-pin/m-p/1572231#M19527</link>
      <description>Thank you for that additional detail!</description>
      <pubDate>Tue, 20 Dec 2022 03:47:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-program-due-to-reset-pin/m-p/1572231#M19527</guid>
      <dc:creator>m_mishrikey</dc:creator>
      <dc:date>2022-12-20T03:47:02Z</dc:date>
    </item>
  </channel>
</rss>

