<?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 deploy file system on the 5748G flash by using the 256K blocks in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/deploy-file-system-on-the-5748G-flash-by-using-the-256K-blocks/m-p/857618#M7920</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;i'm working on the DEVKIT MPC5748G module and working under the with S32 IDE.&lt;/P&gt;&lt;P&gt;I'm trying to deploy 1 Mega bytes (the last 4 blocks of 256K bytes) in C55 FLASH for FATFS.&lt;/P&gt;&lt;P&gt;My problem is that I need to erase 256K each time a byte is needed to be updated, meaning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;1. saving the old data in 256K ram,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.&amp;nbsp;update ram block with the new data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.&amp;nbsp;erase block&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;3. write back to block.&lt;/P&gt;&lt;P&gt;note that using the 16K blocks isn't optional for me (I need a large space) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. is possible to erase small amount of data, 512/1024/2048 bytes in the 256K blocks ?&lt;/P&gt;&lt;P&gt;2. does the FATFS S32 examples uses the the C55 internal FLASH (I see only the example with SD card) ?&lt;/P&gt;&lt;P&gt;3. i'll be glad to hear if there another options to overcome this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advice&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Danny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Mar 2019 14:28:43 GMT</pubDate>
    <dc:creator>dany_amsalem</dc:creator>
    <dc:date>2019-03-27T14:28:43Z</dc:date>
    <item>
      <title>deploy file system on the 5748G flash by using the 256K blocks</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/deploy-file-system-on-the-5748G-flash-by-using-the-256K-blocks/m-p/857618#M7920</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;i'm working on the DEVKIT MPC5748G module and working under the with S32 IDE.&lt;/P&gt;&lt;P&gt;I'm trying to deploy 1 Mega bytes (the last 4 blocks of 256K bytes) in C55 FLASH for FATFS.&lt;/P&gt;&lt;P&gt;My problem is that I need to erase 256K each time a byte is needed to be updated, meaning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;1. saving the old data in 256K ram,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.&amp;nbsp;update ram block with the new data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;2.&amp;nbsp;erase block&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;3. write back to block.&lt;/P&gt;&lt;P&gt;note that using the 16K blocks isn't optional for me (I need a large space) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. is possible to erase small amount of data, 512/1024/2048 bytes in the 256K blocks ?&lt;/P&gt;&lt;P&gt;2. does the FATFS S32 examples uses the the C55 internal FLASH (I see only the example with SD card) ?&lt;/P&gt;&lt;P&gt;3. i'll be glad to hear if there another options to overcome this issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advice&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Danny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 14:28:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/deploy-file-system-on-the-5748G-flash-by-using-the-256K-blocks/m-p/857618#M7920</guid>
      <dc:creator>dany_amsalem</dc:creator>
      <dc:date>2019-03-27T14:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: deploy file system on the 5748G flash by using the 256K blocks</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/deploy-file-system-on-the-5748G-flash-by-using-the-256K-blocks/m-p/857619#M7921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1) No, I am afraid it is not possible.&lt;/P&gt;&lt;P&gt;2) No, it does not.&lt;/P&gt;&lt;P&gt;3) The flash block must always be erased as a whole.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another issue it may bring up is that often erase of the block may cause overcoming of guaranteed endurance of particular data place. And it can be quite easy for large blocks as guaranteed minimum of cycles it is capable to withstand is 1000.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/64390iA5CBD374108C79FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Due to that EEPROM emulation drivers are used for the purpose because it spreads the data over the flash. And it uses small and possibly medium blocks. Large blocks are intended mainly for static program memory (and expected updates in the meaning of firmware updates and so on).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One yet note to SD card - these memory storage use NAND flashes (as well as USB flash drives) that are suitable for these kind of operations, internal MCU is always NOR flash type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 14:41:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/deploy-file-system-on-the-5748G-flash-by-using-the-256K-blocks/m-p/857619#M7921</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2019-03-29T14:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: deploy file system on the 5748G flash by using the 256K blocks</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/deploy-file-system-on-the-5748G-flash-by-using-the-256K-blocks/m-p/857620#M7922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David&lt;/P&gt;&lt;P&gt;Thanks allot for your answer.&lt;/P&gt;&lt;P&gt;I'll go for the REVISION D, it has SD card.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Mar 2019 08:26:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/deploy-file-system-on-the-5748G-flash-by-using-the-256K-blocks/m-p/857620#M7922</guid>
      <dc:creator>dany_amsalem</dc:creator>
      <dc:date>2019-03-31T08:26:18Z</dc:date>
    </item>
  </channel>
</rss>

