<?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 How to write Raw data to NAND on iMX6 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-Raw-data-to-NAND-on-iMX6/m-p/812752#M125321</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 am using NXP's iMX6 board, with Integrity OS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I need to flash Raw data to the NAND with no spare / ECC values within the page it self.&lt;/P&gt;&lt;P&gt;for that I tried to use Segger File system and write with their Universal layer, however when dumping the data I found that each page had 10 bytes of unknown data written at the start of the page, and alot of 0xFFs written at the end of the page, noting that I am trying to write data with size = page size&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When flashing the board's nand with MFGtool it works well and the board loads correctly,&lt;/P&gt;&lt;P&gt;but seems like Segger is not writing with the same logic as MFGTool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the needed configurations to write 2048 bytes to a page of the same size, while filling that page completely with no parity, spare, ecc values stored within the page it self.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I understand how the MFGtool flashes the NAND ? and can its flashing technique be used within a VAS to write a raw ( binary ) image to the nand?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This data to be written is supposed to be an application binary image, which means I need to write it as it is, with its ( all data written in the same order, sequentially for booting though u-boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Oct 2018 14:58:05 GMT</pubDate>
    <dc:creator>mohamed_saber</dc:creator>
    <dc:date>2018-10-22T14:58:05Z</dc:date>
    <item>
      <title>How to write Raw data to NAND on iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-Raw-data-to-NAND-on-iMX6/m-p/812752#M125321</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 am using NXP's iMX6 board, with Integrity OS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I need to flash Raw data to the NAND with no spare / ECC values within the page it self.&lt;/P&gt;&lt;P&gt;for that I tried to use Segger File system and write with their Universal layer, however when dumping the data I found that each page had 10 bytes of unknown data written at the start of the page, and alot of 0xFFs written at the end of the page, noting that I am trying to write data with size = page size&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When flashing the board's nand with MFGtool it works well and the board loads correctly,&lt;/P&gt;&lt;P&gt;but seems like Segger is not writing with the same logic as MFGTool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the needed configurations to write 2048 bytes to a page of the same size, while filling that page completely with no parity, spare, ecc values stored within the page it self.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I understand how the MFGtool flashes the NAND ? and can its flashing technique be used within a VAS to write a raw ( binary ) image to the nand?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This data to be written is supposed to be an application binary image, which means I need to write it as it is, with its ( all data written in the same order, sequentially for booting though u-boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 14:58:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-Raw-data-to-NAND-on-iMX6/m-p/812752#M125321</guid>
      <dc:creator>mohamed_saber</dc:creator>
      <dc:date>2018-10-22T14:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to write Raw data to NAND on iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-Raw-data-to-NAND-on-iMX6/m-p/812753#M125322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohamed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some nand raw data tests can be found in baremetal sdk (zip can be&lt;/P&gt;&lt;P&gt;found on &lt;A href="https://community.nxp.com/thread/432859"&gt;SMP Enable in IMX6&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;MFGtool flashes the NAND is the same way as linux, since mfg tool runs small linux image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&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>Mon, 22 Oct 2018 23:46:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-Raw-data-to-NAND-on-iMX6/m-p/812753#M125322</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-10-22T23:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to write Raw data to NAND on iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-Raw-data-to-NAND-on-iMX6/m-p/812754#M125323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello igorpadykov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you also know where can i find a similar SDK for iMX.8 ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 11:31:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-Raw-data-to-NAND-on-iMX6/m-p/812754#M125323</guid>
      <dc:creator>mohamed_saber</dc:creator>
      <dc:date>2018-10-24T11:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to write Raw data to NAND on iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-Raw-data-to-NAND-on-iMX6/m-p/812755#M125324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;similar sdk are not more developed by nxp now, one&lt;/P&gt;&lt;P&gt;can look at MCUXpresso SDK for i.MX Cortex-M&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/pages/alpha-beta-bsps-for-microprocessors:IMXPRERELEASES" title="https://www.nxp.com/pages/alpha-beta-bsps-for-microprocessors:IMXPRERELEASES"&gt;Alpha / Beta BSPs for Microprocessors|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 04:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-Raw-data-to-NAND-on-iMX6/m-p/812755#M125324</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-10-25T04:40:10Z</dc:date>
    </item>
  </channel>
</rss>

