<?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 Cannot program P1022DS NAND in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/Cannot-program-P1022DS-NAND/m-p/463279#M2710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eventually I want to write U-Boot for P1022DS NAND flash, but for now I cant even get an imported bareboard app to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imported the P1022DS project and opted to build for ROM, built the code, then created a Flash Programmer target task using the standard P1022DS init script and memory file.&amp;nbsp; When I attempt to write the test app to flash I get this:&lt;/P&gt;&lt;P&gt;=======================================================&lt;/P&gt;&lt;P&gt;fl::target -lc "P1022-NAND-UBoot-core00_ROM_P1022_Attach"&lt;/P&gt;&lt;P&gt;fl::target -b 0x0 0x40000&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "NAND08GW3B2C-eLBC" -o "1024Mx8x1" -a 0x0 0x3fffffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::erase all&lt;/P&gt;&lt;P&gt; Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;------------------------- &lt;/P&gt;&lt;P&gt;Chip erase not supported. Erasing sector by sector.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Downloading Flash Device Driver ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Reading flash ID .......&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; The algorithm was not able to run on the target or the flash is not configured properly.&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Getting flash ID failed&lt;/P&gt;&lt;P&gt;Error: The algorithm was not able to run on the target or the flash is not configured properly.&lt;/P&gt;&lt;P&gt;=======================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FWIW, this is with CodeWarrior v10.5.1.&amp;nbsp; That NAND device is the correct one, at least according to the P1022DS schematic.&amp;nbsp; And I've verified that the P1022DS DIP switch are set correctly for NAND boot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAND boot:&lt;/P&gt;&lt;P&gt;SW4[5:8] = 1010&lt;/P&gt;&lt;P&gt;SW7[1:2] = 01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems to be as plain-vanilla as can be yet I can't write to NAND.&amp;nbsp; What do I need to do to make this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2016 18:44:21 GMT</pubDate>
    <dc:creator>stevensnyder</dc:creator>
    <dc:date>2016-05-30T18:44:21Z</dc:date>
    <item>
      <title>Cannot program P1022DS NAND</title>
      <link>https://community.nxp.com/t5/P-Series/Cannot-program-P1022DS-NAND/m-p/463279#M2710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eventually I want to write U-Boot for P1022DS NAND flash, but for now I cant even get an imported bareboard app to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imported the P1022DS project and opted to build for ROM, built the code, then created a Flash Programmer target task using the standard P1022DS init script and memory file.&amp;nbsp; When I attempt to write the test app to flash I get this:&lt;/P&gt;&lt;P&gt;=======================================================&lt;/P&gt;&lt;P&gt;fl::target -lc "P1022-NAND-UBoot-core00_ROM_P1022_Attach"&lt;/P&gt;&lt;P&gt;fl::target -b 0x0 0x40000&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "NAND08GW3B2C-eLBC" -o "1024Mx8x1" -a 0x0 0x3fffffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::erase all&lt;/P&gt;&lt;P&gt; Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;------------------------- &lt;/P&gt;&lt;P&gt;Chip erase not supported. Erasing sector by sector.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Downloading Flash Device Driver ...&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Reading flash ID .......&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; The algorithm was not able to run on the target or the flash is not configured properly.&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; Getting flash ID failed&lt;/P&gt;&lt;P&gt;Error: The algorithm was not able to run on the target or the flash is not configured properly.&lt;/P&gt;&lt;P&gt;=======================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FWIW, this is with CodeWarrior v10.5.1.&amp;nbsp; That NAND device is the correct one, at least according to the P1022DS schematic.&amp;nbsp; And I've verified that the P1022DS DIP switch are set correctly for NAND boot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAND boot:&lt;/P&gt;&lt;P&gt;SW4[5:8] = 1010&lt;/P&gt;&lt;P&gt;SW7[1:2] = 01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems to be as plain-vanilla as can be yet I can't write to NAND.&amp;nbsp; What do I need to do to make this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 18:44:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Cannot-program-P1022DS-NAND/m-p/463279#M2710</guid>
      <dc:creator>stevensnyder</dc:creator>
      <dc:date>2016-05-30T18:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot program P1022DS NAND</title>
      <link>https://community.nxp.com/t5/P-Series/Cannot-program-P1022DS-NAND/m-p/463280#M2711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; opted to build for ROM&lt;/P&gt;&lt;P&gt;It is needed to use "RAM" option and "Connect" because Target Connection with "ROM" and "Attach" does not initialize SDRAM to comply with specified Target RAM settings (fl::target -b 0x0 0x40000).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 00:59:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Cannot-program-P1022DS-NAND/m-p/463280#M2711</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2016-05-31T00:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot program P1022DS NAND</title>
      <link>https://community.nxp.com/t5/P-Series/Cannot-program-P1022DS-NAND/m-p/463281#M2712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I opt for a RAM build and Connect, then won't I just be running my code out of the DDR memory?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do I have to do to get the code into NAND such I can boot to it without the CW probe being attached to the board?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 16:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Cannot-program-P1022DS-NAND/m-p/463281#M2712</guid>
      <dc:creator>stevensnyder</dc:creator>
      <dc:date>2016-05-31T16:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot program P1022DS NAND</title>
      <link>https://community.nxp.com/t5/P-Series/Cannot-program-P1022DS-NAND/m-p/463282#M2713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; If I opt for a RAM build and Connect, then won't I just be running my code out of the DDR memory?&lt;/P&gt;&lt;P&gt;No.&lt;/P&gt;&lt;P&gt;This type of target connection only executes the board configuration script containg DDR initialization sequence - i.e. the project code is not loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; What do I have to do to get the code into NAND such I can boot to it without the CW probe being attached to the board?&lt;/P&gt;&lt;P&gt;You could use TFTP and U-Boot NAND commands subsystem (&lt;A href="http://www.denx.de/wiki/DULG/UBootCmdGroupNand" title="http://www.denx.de/wiki/DULG/UBootCmdGroupNand"&gt; UBootCmdGroupNand &amp;lt; DULG &amp;lt; DENX&lt;/A&gt; ) to write downloaded U-Boot image to the NAND Flash starting from address 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 16:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Cannot-program-P1022DS-NAND/m-p/463282#M2713</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2016-05-31T16:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot program P1022DS NAND</title>
      <link>https://community.nxp.com/t5/P-Series/Cannot-program-P1022DS-NAND/m-p/463283#M2714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; You could use TFTP and U-Boot NAND commands subsystem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately installation via U-Boot isn't an option.&amp;nbsp; I'm testing on a P1022 eval board to get an understanding of how our code will actually be installed on our own P1013-based board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That board doesn't have U-Boot, or any other software, installed.&amp;nbsp; So my only option for initial installation of boot code in NAND involves the use of the CW probe.&amp;nbsp; Somehow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2016 16:30:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Cannot-program-P1022DS-NAND/m-p/463283#M2714</guid>
      <dc:creator>stevensnyder</dc:creator>
      <dc:date>2016-05-31T16:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot program P1022DS NAND</title>
      <link>https://community.nxp.com/t5/P-Series/Cannot-program-P1022DS-NAND/m-p/463284#M2715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use use "RAM" build option and "Connect" as CW Target Connection for the Flash Programmer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2016 02:05:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Cannot-program-P1022DS-NAND/m-p/463284#M2715</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2016-06-01T02:05:16Z</dc:date>
    </item>
  </channel>
</rss>

