<?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: K82: usage of internal flash memory in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-usage-of-internal-flash-memory/m-p/838365#M50646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So K82 have one flash bank&amp;nbsp; 256KB and erase/write of any sector ( 4KB ) cause freezing&amp;nbsp; of all execution from flash memory ?&lt;/P&gt;&lt;P&gt;Or each sector ( 4KB ) is fully independant and if I use empty sectors and track end of write/erase operations by interrupts, it can be completely invisible for MCU timing and etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or what you means FlashBlock in case of K82 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2018 13:46:04 GMT</pubDate>
    <dc:creator>EugeneHiihtaja</dc:creator>
    <dc:date>2018-08-29T13:46:04Z</dc:date>
    <item>
      <title>K82: usage of internal flash memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-usage-of-internal-flash-memory/m-p/838363#M50644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to implement small nonvolatile storage what utilize 2 sectors ( 2*4KB) of internal flash memory.&lt;/P&gt;&lt;P&gt;I can see SDK example pflash can be used for start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what is not so clear if MCU can execute code from one sector, when I erase/write to other one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does MCU stall during write/erase operation to flash memory ?&lt;/P&gt;&lt;P&gt;Or may be even better to execute critical code from RAM while erase is ongoing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ow what is drawback when internal flash memory erase/write during operation of MCU in RUN mode ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 12:43:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-usage-of-internal-flash-memory/m-p/838363#M50644</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2018-08-29T12:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: K82: usage of internal flash memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-usage-of-internal-flash-memory/m-p/838364#M50645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eugene&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to disable interrupts and run Flash routines in SRAM since a complete Flash block will be inaccessible for executing code from whenever you program a word/phrase or erase a sector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Kinetis has &lt;EM&gt;no stall mechanism&lt;/EM&gt; but you can run code in a different Flash block while writing/erasing in another one.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FFRDM-K82F.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/FRDM-K82F.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;File system and fail safe parameter system that is compatible with all Kinetis Flash types: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerFileSystem_3.PDF" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/uTaskerFileSystem_3.PDF&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 13:08:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-usage-of-internal-flash-memory/m-p/838364#M50645</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-08-29T13:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: K82: usage of internal flash memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-usage-of-internal-flash-memory/m-p/838365#M50646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So K82 have one flash bank&amp;nbsp; 256KB and erase/write of any sector ( 4KB ) cause freezing&amp;nbsp; of all execution from flash memory ?&lt;/P&gt;&lt;P&gt;Or each sector ( 4KB ) is fully independant and if I use empty sectors and track end of write/erase operations by interrupts, it can be completely invisible for MCU timing and etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or what you means FlashBlock in case of K82 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 13:46:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-usage-of-internal-flash-memory/m-p/838365#M50646</guid>
      <dc:creator>EugeneHiihtaja</dc:creator>
      <dc:date>2018-08-29T13:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: K82: usage of internal flash memory</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-usage-of-internal-flash-memory/m-p/838366#M50647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eugene&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your device has a single block (or bank, or plane) which means that you MUST run all flashing operation in RAM.&lt;/P&gt;&lt;P&gt;Sectors are the smallest chunks of Flash than can be deleted but each operation blocks the compete bank that it is in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 18:35:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K82-usage-of-internal-flash-memory/m-p/838366#M50647</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-08-29T18:35:57Z</dc:date>
    </item>
  </channel>
</rss>

