<?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: Dump flash contents without corrupting? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583647#M34483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you consider to use commercial programmer software? &lt;/P&gt;&lt;P&gt;Such as Segger &lt;A href="https://www.segger.com/jflash.html?p=1114"&gt;J-Flash tool &lt;/A&gt;and P&amp;amp;E &lt;A href="http://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320138"&gt;PROG for ARM Cortex Device tool&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Aug 2016 08:41:27 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2016-08-02T08:41:27Z</dc:date>
    <item>
      <title>Dump flash contents without corrupting?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583641#M34477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a utility or method to dump the contents of both the active and the swap block of flash without corrupting it in any way?&amp;nbsp; When I attempt to use the debugger it appears to erase/program the active block.&amp;nbsp; I need to analyze a failed module. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 15:04:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583641#M34477</guid>
      <dc:creator>jeffwood</dc:creator>
      <dc:date>2016-07-18T15:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dump flash contents without corrupting?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583642#M34478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which Kinetis product are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 06:49:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583642#M34478</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-07-19T06:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dump flash contents without corrupting?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583643#M34479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ma Hui,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Kinetis Design Studio 3.0.0 with MK64FN1M0VMD12 MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got some information and was able to get the code to run from RAM and access the flash directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still have an open question (which I recently posted) about how do I pre-program the upper flash bank (that starts at 0x80000) ideally using the lightning bolt flash programmer and JTAG in the Kinetis IDE.&amp;nbsp; I use that method to program the ELF file and I assume it does so starting at address 0x0 in the flash.&amp;nbsp; When I do a firmware upgrade, the application will erase and program the upper bank by making use of a flash swap.&amp;nbsp; My question is how do I do the equivalent to that programming step prior to running the code using the IDE? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adjusting the "symbol offset" and "executable offset" to 80000 but that didn't have the desired effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2016 20:28:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583643#M34479</guid>
      <dc:creator>jeffwood</dc:creator>
      <dc:date>2016-07-27T20:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dump flash contents without corrupting?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583644#M34480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The K64 MCU run the code from Flash address 0x0, when customer want to run code located at 0x80000.&lt;/P&gt;&lt;P&gt;The Flash swap feature is a good choice.&lt;/P&gt;&lt;P&gt;Customer can use application code to load the updated code to Flash address 0x80000, then run SWAP Flash commander to swap the Flash block 1 to Flash address 0. Then software reset the MCU to run the updated code.&lt;/P&gt;&lt;P&gt;Please refer &lt;A href="http://cache.nxp.com/files/microcontrollers/doc/app_note/AN4533.pdf"&gt;AN4533&lt;/A&gt; for more detailed info of Kinetis SWAP feature.&lt;/P&gt;&lt;P&gt;AN4533 related software could be downloaded at &lt;A href="http://cache.nxp.com/files/microcontrollers/doc/app_note/AN4533SW.zip"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 03:15:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583644#M34480</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-07-28T03:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dump flash contents without corrupting?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583645#M34481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I am aware of the flash swap functionality that can be run from code and I make use of that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question was can I do the equivalent without running the application via the KDS IDE flash programming utility (lightning bolt icon).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know for Xilinx SDK, I can program the Zync flash this way, but I need to specify a BIN instead of an ELF and specify a flash offset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 13:52:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583645#M34481</guid>
      <dc:creator>jeffwood</dc:creator>
      <dc:date>2016-07-28T13:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dump flash contents without corrupting?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583646#M34482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;p.s. not looking to swap the banks via the IDE. The goal would be to program the same application into BOTH banks.&lt;/P&gt;&lt;P&gt;One bank starting at 0x0 and the other at 0x80000, so that an ensuing flash swap would have the same code in both banks.&lt;/P&gt;&lt;P&gt;I want to do this to initialize both banks of the flash in production to being programmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 13:54:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583646#M34482</guid>
      <dc:creator>jeffwood</dc:creator>
      <dc:date>2016-07-28T13:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dump flash contents without corrupting?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583647#M34483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you consider to use commercial programmer software? &lt;/P&gt;&lt;P&gt;Such as Segger &lt;A href="https://www.segger.com/jflash.html?p=1114"&gt;J-Flash tool &lt;/A&gt;and P&amp;amp;E &lt;A href="http://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320138"&gt;PROG for ARM Cortex Device tool&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2016 08:41:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Dump-flash-contents-without-corrupting/m-p/583647#M34483</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2016-08-02T08:41:27Z</dc:date>
    </item>
  </channel>
</rss>

