<?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>S12 / MagniV Microcontrollers中的主题 Read S912XEP100 Entire Flash</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Read-S912XEP100-Entire-Flash/m-p/936237#M16593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help to share the way to read out the entire flash of XEP100 MCU, as customer hope to compare their failure PCBA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;Ray&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jul 2019 13:42:11 GMT</pubDate>
    <dc:creator>dannydeng</dc:creator>
    <dc:date>2019-07-03T13:42:11Z</dc:date>
    <item>
      <title>Read S912XEP100 Entire Flash</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Read-S912XEP100-Entire-Flash/m-p/936237#M16593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help to share the way to read out the entire flash of XEP100 MCU, as customer hope to compare their failure PCBA,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;Ray&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 13:42:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Read-S912XEP100-Entire-Flash/m-p/936237#M16593</guid>
      <dc:creator>dannydeng</dc:creator>
      <dc:date>2019-07-03T13:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Read S912XEP100 Entire Flash</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Read-S912XEP100-Entire-Flash/m-p/936238#M16594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You could use SAVE command in the CW5.2&lt;/P&gt;&lt;P&gt;Please refer to Debugger_HC_12.pdf (p552) located in the CW installation folder.&lt;/P&gt;&lt;P&gt;...\Program Files (x86)\Freescale\CWS12v5.2\Help\pdf\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 14:40:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Read-S912XEP100-Entire-Flash/m-p/936238#M16594</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-07-08T14:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Read S912XEP100 Entire Flash</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Read-S912XEP100-Entire-Flash/m-p/936239#M16595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;For reading Flash content you can use directly CW debugger (Hi-wave).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Connect to MCU and use command SAVE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In Help, you can find example SAVE 0x1000..0x2000 DUMP.SX &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This command saves memory range into file dump.sx in S1 record format. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can use also paged address. Example: SAVE 0xF88000..0xF8BFFF DUMP.SX &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In that case, you cannot copy data from more pages at one turn because after address 0xF8BFFF is physically 0xF98000 address and not 0xF8C000 address. This tool is simply not enough intelligent. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In that case, dump.sx file will contain S2 record format automatically. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For copy whole flash at one turn, you can use global address (only for S12X). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Example : SAVE 0x700000’G..0x7FFFFF’G DUMP.SX &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In that case dump.sx file will contain S2 record format automatically. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For convert result file you can use SRecCvt tool.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you prefer paged address or you have MCU without GPAGE (S12) and you want store whole content of flash into one file, only way is using local addressing and export every page step by step. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SAVE 0xC08000..0xC0BFFF dump.txt ;A &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SAVE 0xC18000..0xC1BFFF dump.txt ;A &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SAVE 0xFF8000..0xFFBFFF dump.txt ;A &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;By parameter “;A” we will attempt new content to exiting file.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This way you will have one file with whole Flash content.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Example of procedure:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt; Connect USB Multilink and power to MCU&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt; Start debugger (HiWave). Example path: "c:\Program Files\Freescale\CWS12v5.1\Prog\hiwave.exe"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt; In menu-Select Derivative choose your MCU, for example MC9S12XEP100&lt;span class="lia-inline-image-display-wrapper" image-alt="DUMP1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87408i557CE0E2CC7DD040/image-size/large?v=v2&amp;amp;px=999" role="button" title="DUMP1.PNG" alt="DUMP1.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DUMP2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87447iFA4FE185BF9E3DCB/image-size/large?v=v2&amp;amp;px=999" role="button" title="DUMP2.PNG" alt="DUMP2.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt; Optionally you have to set also USB Multilink in Connection Manager window (menu-Communication)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DUMP3.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87603i6312D0DD28179F9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="DUMP3.PNG" alt="DUMP3.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt; MCU should be now connected and you can read “Target Ready” in Command window&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DUMP4.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87651i5EFBBDA03EFB0FB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="DUMP4.PNG" alt="DUMP4.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt; Enter command “SAVE 0x700000'G..0x7FFFFF'G DUMP.txt” into Command window and press Enter&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DUMP5.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87737iA742DAA622307FA0/image-size/large?v=v2&amp;amp;px=999" role="button" title="DUMP5.PNG" alt="DUMP5.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt; Now you should wait some time (depends on MCU clock and BDM speed)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DUMP6.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87828i6F2B0CAD77ECDBE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="DUMP6.PNG" alt="DUMP6.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt; File DUMP.txt you can find in the same directory as debugger. Example path: "c:\Program Files\Freescale\CWS12v5.1\Prog\DUMP.txt"&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="DUMP7.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/87780i38D8430345025C05/image-size/large?v=v2&amp;amp;px=999" role="button" title="DUMP7.PNG" alt="DUMP7.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Note: Pictures show different type of MCU, but principle is the same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 14:49:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Read-S912XEP100-Entire-Flash/m-p/936239#M16595</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2019-08-13T14:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Read S912XEP100 Entire Flash</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Read-S912XEP100-Entire-Flash/m-p/936240#M16596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Radek,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 13:51:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Read-S912XEP100-Entire-Flash/m-p/936240#M16596</guid>
      <dc:creator>dannydeng</dc:creator>
      <dc:date>2019-08-14T13:51:51Z</dc:date>
    </item>
  </channel>
</rss>

