<?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: S32K314 TCM1 backdoor problem in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K314-TCM1-backdoor-problem/m-p/2085252#M48048</link>
    <description>&lt;P&gt;Hi David,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see the same issue, when using C code to initialize ECC, "STRD" instruction was used, but with ASM "STM" instruction is used, can you explain why STRD not work but STM works?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2025 08:19:48 GMT</pubDate>
    <dc:creator>changyiguo</dc:creator>
    <dc:date>2025-04-23T08:19:48Z</dc:date>
    <item>
      <title>S32K314 TCM1 backdoor problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K314-TCM1-backdoor-problem/m-p/1681018#M24721</link>
      <description>&lt;P&gt;Hi Nxp，&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I found S32K314 TCM1 cannot work.&amp;nbsp; As we Know,S32K314 has only core 0, so if we want to have access to TCM1,we can use TCM backdoor address.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;ITCM_1 Backdoor address is 0x11400000, length is 32KB.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; DTCM_1 Backdoor&amp;nbsp;address is 0x21400000, length is 64KB.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; But I found DTCM1 can work well, ITCM1 can not. Only few addrees can have access right as picture bellow.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zhengjianfei1_0-1688455261825.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230659i112239BBEF913B5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zhengjianfei1_0-1688455261825.png" alt="zhengjianfei1_0-1688455261825.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Before using TCM1, I have&amp;nbsp;initialized TCM1 ECC , disable MPU and Cache.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Could some one help me how to use TCM1&amp;nbsp;correctly on S32K314?Thanks a lot!&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>Tue, 04 Jul 2023 07:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K314-TCM1-backdoor-problem/m-p/1681018#M24721</guid>
      <dc:creator>zhengjianfei1</dc:creator>
      <dc:date>2023-07-04T07:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: S32K314 TCM1 backdoor problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K314-TCM1-backdoor-problem/m-p/1683751#M24879</link>
      <description>&lt;P&gt;Hi, have you initialized ECC by 64-bit writes? it is necessary for ITCM, as it used different ECC checksum boundary.&lt;/P&gt;
&lt;P&gt;ITCM is basically intended for instruction fetching, so it is possible there is some limitation for address alignment for writes (64-bit) or read (16/32-bit).&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 07:54:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K314-TCM1-backdoor-problem/m-p/1683751#M24879</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2023-07-07T07:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K314 TCM1 backdoor problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K314-TCM1-backdoor-problem/m-p/1683918#M24892</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52613"&gt;@davidtosenovjan&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;&lt;P&gt;Thanks for your&amp;nbsp;Suggestion. Now ITCM can work OK. I found we cannot use a&amp;nbsp;uint64_t pointer to init ITCM ECC as picture bellow.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zhengjianfei1_0-1688726677934.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/231304iB4CC3C4D37AEC2FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zhengjianfei1_0-1688726677934.png" alt="zhengjianfei1_0-1688726677934.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The correct way to init ITCM ECC is picture bellow:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zhengjianfei1_1-1688726866068.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/231305i45FC8C433B148227/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zhengjianfei1_1-1688726866068.png" alt="zhengjianfei1_1-1688726866068.png" /&gt;&lt;/span&gt;&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, 07 Jul 2023 10:48:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K314-TCM1-backdoor-problem/m-p/1683918#M24892</guid>
      <dc:creator>zhengjianfei1</dc:creator>
      <dc:date>2023-07-07T10:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: S32K314 TCM1 backdoor problem</title>
      <link>https://community.nxp.com/t5/S32K/S32K314-TCM1-backdoor-problem/m-p/2085252#M48048</link>
      <description>&lt;P&gt;Hi David,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see the same issue, when using C code to initialize ECC, "STRD" instruction was used, but with ASM "STM" instruction is used, can you explain why STRD not work but STM works?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 08:19:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K314-TCM1-backdoor-problem/m-p/2085252#M48048</guid>
      <dc:creator>changyiguo</dc:creator>
      <dc:date>2025-04-23T08:19:48Z</dc:date>
    </item>
  </channel>
</rss>

