<?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: How to do for FLASH、RAM check? in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-do-for-FLASH-RAM-check/m-p/1835518#M19756</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231434"&gt;@fengchaozhang&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The MC9S12ZVM includes error correction code (ECC) on RAM and flash memory, EEPROM for diagnostic or data storage.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12Z-machine-exception-caused-by-ECC-issue-address-detection/ta-p/1099884" target="_blank"&gt;https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12Z-machine-exception-caused-by-ECC-issue-address-detection/ta-p/1099884&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please refer to the MC9S12ZVx Safety Manual for more information about functional safety.&lt;/P&gt;
&lt;P&gt;It is available in S12ZVC Secure File under NDA:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/additional-mpu-mcus-architectures/s12-magniv-mixed-signal-mcus/s12zvc-mixed-signal-mcu-for-automotive-and-industrial-can-applications:S12ZVC" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/additional-mpu-mcus-architectures/s12-magniv-mixed-signal-mcus/s12zvc-mixed-signal-mcu-for-automotive-and-industrial-can-applications:S12ZVC&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1711460937626.png" style="width: 569px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270472iA335695F0BF917DA/image-dimensions/569x276?v=v2" width="569" height="276" role="button" title="danielmartynek_0-1711460937626.png" alt="danielmartynek_0-1711460937626.png" /&gt;&lt;/span&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;</description>
    <pubDate>Tue, 26 Mar 2024 13:49:19 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2024-03-26T13:49:19Z</dc:date>
    <item>
      <title>How to do for FLASH、RAM check?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-do-for-FLASH-RAM-check/m-p/1835296#M19755</link>
      <description>&lt;P&gt;Hi,Team I'm using S912ZVML12/S912ZVML64 to do a safe related system,so I must do FLASH、RAM check during running to verify whether there are injured area of S912ZVML12/S912ZVML64 in the long term run.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What should I do in my codes?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 09:02:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-do-for-FLASH-RAM-check/m-p/1835296#M19755</guid>
      <dc:creator>fengchaozhang</dc:creator>
      <dc:date>2024-03-26T09:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to do for FLASH、RAM check?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-do-for-FLASH-RAM-check/m-p/1835518#M19756</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231434"&gt;@fengchaozhang&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The MC9S12ZVM includes error correction code (ECC) on RAM and flash memory, EEPROM for diagnostic or data storage.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12Z-machine-exception-caused-by-ECC-issue-address-detection/ta-p/1099884" target="_blank"&gt;https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12Z-machine-exception-caused-by-ECC-issue-address-detection/ta-p/1099884&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please refer to the MC9S12ZVx Safety Manual for more information about functional safety.&lt;/P&gt;
&lt;P&gt;It is available in S12ZVC Secure File under NDA:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/additional-mpu-mcus-architectures/s12-magniv-mixed-signal-mcus/s12zvc-mixed-signal-mcu-for-automotive-and-industrial-can-applications:S12ZVC" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/additional-mpu-mcus-architectures/s12-magniv-mixed-signal-mcus/s12zvc-mixed-signal-mcu-for-automotive-and-industrial-can-applications:S12ZVC&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1711460937626.png" style="width: 569px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/270472iA335695F0BF917DA/image-dimensions/569x276?v=v2" width="569" height="276" role="button" title="danielmartynek_0-1711460937626.png" alt="danielmartynek_0-1711460937626.png" /&gt;&lt;/span&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;</description>
      <pubDate>Tue, 26 Mar 2024 13:49:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-do-for-FLASH-RAM-check/m-p/1835518#M19756</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-03-26T13:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to do for FLASH、RAM check?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-do-for-FLASH-RAM-check/m-p/1841760#M19778</link>
      <description>&lt;P&gt;Hi, &lt;SPAN&gt;danielmartyne&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to use the S912ZVML12 chip to do initialize perform a RAM check. The method for checking is&lt;BR /&gt;Firstly, write RAM to 0 and check if 0 is read out until all RAM is confirmed&lt;BR /&gt;Secondly, write RAM to 1 and check if 1 is read out until all RAM is confirmed&lt;BR /&gt;Thus completing the initialization check of RAM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I have 2 following questions:&amp;nbsp;&lt;BR /&gt;Question 1: I don't know how to write assembly code for writing and reading to RAM. How should I write it.&lt;BR /&gt;Question 2: Where should this detection method be placed, I think this part of the code should be placed in the position shown in the following figure，is that right？&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fengchaozhang1_2-1712480903595.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/272328i256B20FBC56F24FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fengchaozhang1_2-1712480903595.png" alt="fengchaozhang1_2-1712480903595.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2024 09:13:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-do-for-FLASH-RAM-check/m-p/1841760#M19778</guid>
      <dc:creator>fengchaozhang1</dc:creator>
      <dc:date>2024-04-07T09:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to do for FLASH、RAM check?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-do-for-FLASH-RAM-check/m-p/1843006#M19780</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231928"&gt;@fengchaozhang1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The MCU initializes the SRAM to all zeros after each Power-on reset.&lt;/P&gt;
&lt;P&gt;It is discussed here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S12-MagniV-Microcontrollers/initialization-RAM-check-for-S12ZVL128/m-p/1024276?profile.language=ja" target="_blank"&gt;https://community.nxp.com/t5/S12-MagniV-Microcontrollers/initialization-RAM-check-for-S12ZVL128/m-p/1024276?profile.language=ja&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you decide to do it in SW, it should be done after RDY = 1, refer to the DoZeroOut() routine.&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;</description>
      <pubDate>Tue, 09 Apr 2024 07:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/How-to-do-for-FLASH-RAM-check/m-p/1843006#M19780</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-04-09T07:57:09Z</dc:date>
    </item>
  </channel>
</rss>

