<?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: Running code from external nand flash on MCF-TWR5441X eval board in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230704#M11326</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Bole&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CodeWarrior does not provide in its default settings the capability to use the &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;NAND&lt;/STRONG&gt;&lt;/SPAN&gt; flash located in the main board for example the U10 MT29F2G16AADWP. Debugging from &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;NAND&lt;/STRONG&gt;&lt;/SPAN&gt; flash is quite difficult because this memory is read in blocks. The method used to debug &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;NAND&lt;/STRONG&gt;&lt;/SPAN&gt; memories is to copy code to RAM and debug from RAM. But unfortunately CodeWarrior does not provide this support. NOR flash can be read by single address and this makes easy to debug the project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;We provide an useful app note regarding the NAND Flash controller of MCF5441x for your reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4348.pdf?fsrch=1&amp;amp;sr=1" title="http://cache.freescale.com/files/32bit/doc/app_note/AN4348.pdf?fsrch=1&amp;amp;sr=1"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4348.pdf?fsrch=1&amp;amp;sr=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 May 2013 03:56:40 GMT</pubDate>
    <dc:creator>miduo</dc:creator>
    <dc:date>2013-05-09T03:56:40Z</dc:date>
    <item>
      <title>Running code from external nand flash on MCF-TWR5441X eval board</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230703#M11325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Freescale Tower Kit and MCF-TWR5441X eval board.&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The board comes with external nand flash chip. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on this design, logically&amp;nbsp; a code can be downloaded to flash using flasher tool provided with CodeWarrior ver. 10.3 and later run from the flash.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a hard time understanding how nand flash controller works on this micro Coldfire 54418. How I access data, how I run my program?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Is there anyone that worked with this and understands this??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Can someone help me understand this? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thank you very much. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2013 21:05:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230703#M11325</guid>
      <dc:creator>bole</dc:creator>
      <dc:date>2013-05-08T21:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Running code from external nand flash on MCF-TWR5441X eval board</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230704#M11326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Bole&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CodeWarrior does not provide in its default settings the capability to use the &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;NAND&lt;/STRONG&gt;&lt;/SPAN&gt; flash located in the main board for example the U10 MT29F2G16AADWP. Debugging from &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;NAND&lt;/STRONG&gt;&lt;/SPAN&gt; flash is quite difficult because this memory is read in blocks. The method used to debug &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;NAND&lt;/STRONG&gt;&lt;/SPAN&gt; memories is to copy code to RAM and debug from RAM. But unfortunately CodeWarrior does not provide this support. NOR flash can be read by single address and this makes easy to debug the project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;We provide an useful app note regarding the NAND Flash controller of MCF5441x for your reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4348.pdf?fsrch=1&amp;amp;sr=1" title="http://cache.freescale.com/files/32bit/doc/app_note/AN4348.pdf?fsrch=1&amp;amp;sr=1"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4348.pdf?fsrch=1&amp;amp;sr=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 03:56:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230704#M11326</guid>
      <dc:creator>miduo</dc:creator>
      <dc:date>2013-05-09T03:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Running code from external nand flash on MCF-TWR5441X eval board</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230705#M11327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Fang, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am reading at the reference manual for MCF54418 chip. &lt;/P&gt;&lt;P&gt;According to the manual the CPU can boot from flash. The NAND flash controller on the micro will load up the first 4Kb of NAND flash chip memory in its local SRAM and make it addressable by the micro CPU on addresses 0x000 - 0xF8F.&lt;/P&gt;&lt;P&gt;This means that this memory contains some kind of the bootloader program that runs and copies the rest of the NAND flash chip memory into SDRAM chip and switches execution to whatever is loaded in SDRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you work for Freescale, can you please let me know how to obtain that bootloader program and the user manual for it. How does it work? Copies what data from where and to where? &lt;/P&gt;&lt;P&gt;In my design I will use the same NAND flash memory, so I will need to install that bootloader code. I need to know how I can do this. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I looked for this on the freescale website and I cannot find anything about this. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I run Codewarrior 10.3 on Windows 8 system. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thank you very much for your help. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 15:54:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230705#M11327</guid>
      <dc:creator>bole</dc:creator>
      <dc:date>2013-05-09T15:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Running code from external nand flash on MCF-TWR5441X eval board</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230706#M11328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Bole&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, Freescale provide an U-boot &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;bootloader&lt;/STRONG&gt;&lt;/SPAN&gt; with TWR-MCF5441x which embedded in &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;MCF5441x&lt;/STRONG&gt;&lt;/SPAN&gt; Tower Linux BSP. Attached is the u-boot NAND source for MCF54418. You may would like to refer to it for more development.&lt;/P&gt;&lt;P&gt;As for the document, please check the attachment you can find the Quick Start Guide for TWR-MCF5441X in this Quick Start Guide, you will see how to set up the TWR-MCF5441X module and run the Linux and MQX shell demonstrations.&lt;/P&gt;&lt;P&gt;In addition I am sending you an application note that is a guide if you want or need to set up the Freescale LTIB for the ColdFire MCF54418 Tower BSP.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Fang&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 03:34:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230706#M11328</guid>
      <dc:creator>miduo</dc:creator>
      <dc:date>2013-05-10T03:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Running code from external nand flash on MCF-TWR5441X eval board</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230707#M11329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bole!&lt;/P&gt;&lt;P&gt;Have there been any breakthroughs? Please keep us posted :smileywink:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Monica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2013 23:03:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230707#M11329</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2013-05-14T23:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Running code from external nand flash on MCF-TWR5441X eval board</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230708#M11330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fang, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The U-boot bootloader is a separate software and does not have anything to do with my question above.&lt;/P&gt;&lt;P&gt;It was meant to be used in if you want to run linux on the eval board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as how it is setup:&lt;/P&gt;&lt;P&gt;The boot.c and strapboot.c files that are part of the board support package (BSP) for MCF5441X contain the bootloader code that takes data from NAND flash and copies it local SDRAM chip from where you can run your program.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, the BSP files do not come with Codewarrior on its own. One has to install MQX 4.0 support package for codewarrior and BSP for MCF5441X eval board comes with it. Being part of the MQX, the BSP package is tied to MQX OS and thus you cannot use it with a different OS, without modifying the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This, of course, is no where documented in the user manual under MCF5441X dev board and one has to dig to figure out how it works.&lt;/P&gt;&lt;P&gt;Other people told me Freescale documentation is far from good, I did not believe until now. Sorry for the frustration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 13:35:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230708#M11330</guid>
      <dc:creator>bole</dc:creator>
      <dc:date>2013-05-16T13:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Running code from external nand flash on MCF-TWR5441X eval board</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230709#M11331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Monica,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did post on this topic. Please refer to my response to Fang.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 13:38:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Running-code-from-external-nand-flash-on-MCF-TWR5441X-eval-board/m-p/230709#M11331</guid>
      <dc:creator>bole</dc:creator>
      <dc:date>2013-05-16T13:38:47Z</dc:date>
    </item>
  </channel>
</rss>

