<?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 TWR-K70F120M Tower Module: &amp;quot;not able to run on the target or the flash is not configured properly&amp;quot; in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70F120M-Tower-Module-quot-not-able-to-run-on-the-target-or/m-p/383532#M20474</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'm using since few week the TWR-K70F120M Tower Module and I flash and debug it via USB port directly connected on the board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't yet any problem to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I need to use External Nadflash for my software. (I have question about this here: &lt;A href="https://community.nxp.com/thread/319352"&gt;K70 flexnvm used for program flash&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But during my manipulations, something works bad and then since I'm not able to flash the board :smileyconfused:&lt;/P&gt;&lt;P&gt;The debug procedure stop when tcl file is loaded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the P&amp;amp;E linled to the JTAG&amp;nbsp; on the board, whenI try to do a "Flash file to target" -&amp;gt; "Erase whole device", following error occurs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper" image-alt="Erase_error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45609i556BB562FCFE548C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Erase_error.png" alt="Erase_error.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;The Console write following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;fl::target -lc "LC for Simple Flash (2)"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;fl::target -b 0x1fff0000 0x20000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;fl::target -v off -l off&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;cmdwin::fl::device -d "FTFE_PFlash1M0" -o "128Kx64x1" -a 0x0 0xfffff&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;cmdwin::fl::erase all&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt; Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;------------------------- &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt; Downloading Flash Device Driver ...&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt; Reading flash ID .......&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red; font-family: Consolas; font-size: 10pt;"&gt;Error: The algorithm was not able to run on the target or the flash is not configured properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;SPAN style="color: red; font-family: Consolas; font-size: 10pt;"&gt;Error:&amp;nbsp; Getting flash ID failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Please, have you an idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2014 12:42:48 GMT</pubDate>
    <dc:creator>arnogir</dc:creator>
    <dc:date>2014-11-06T12:42:48Z</dc:date>
    <item>
      <title>TWR-K70F120M Tower Module: "not able to run on the target or the flash is not configured properly"</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70F120M-Tower-Module-quot-not-able-to-run-on-the-target-or/m-p/383532#M20474</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'm using since few week the TWR-K70F120M Tower Module and I flash and debug it via USB port directly connected on the board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't yet any problem to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I need to use External Nadflash for my software. (I have question about this here: &lt;A href="https://community.nxp.com/thread/319352"&gt;K70 flexnvm used for program flash&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But during my manipulations, something works bad and then since I'm not able to flash the board :smileyconfused:&lt;/P&gt;&lt;P&gt;The debug procedure stop when tcl file is loaded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the P&amp;amp;E linled to the JTAG&amp;nbsp; on the board, whenI try to do a "Flash file to target" -&amp;gt; "Erase whole device", following error occurs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper" image-alt="Erase_error.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/45609i556BB562FCFE548C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Erase_error.png" alt="Erase_error.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;The Console write following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;fl::target -lc "LC for Simple Flash (2)"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;fl::target -b 0x1fff0000 0x20000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;fl::target -v off -l off&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;cmdwin::fl::device -d "FTFE_PFlash1M0" -o "128Kx64x1" -a 0x0 0xfffff&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 10pt; font-family: Consolas;"&gt;cmdwin::fl::erase all&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt; Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;------------------------- &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt; Downloading Flash Device Driver ...&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: Consolas; font-size: 10pt;"&gt; Reading flash ID .......&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red; font-family: Consolas; font-size: 10pt;"&gt;Error: The algorithm was not able to run on the target or the flash is not configured properly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px 0px 10pt;"&gt;&lt;SPAN style="color: red; font-family: Consolas; font-size: 10pt;"&gt;Error:&amp;nbsp; Getting flash ID failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;Please, have you an idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 12:42:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70F120M-Tower-Module-quot-not-able-to-run-on-the-target-or/m-p/383532#M20474</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2014-11-06T12:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70F120M Tower Module: "not able to run on the target or the flash is not configured properly"</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70F120M-Tower-Module-quot-not-able-to-run-on-the-target-or/m-p/383533#M20475</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;First of all you need to configure in the tcl file the NandFlashController to be able to communicate with the memory you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you decide to use a Flash device that is not supported by CodeWarrior you must make two things to have it usable.&lt;/P&gt;&lt;P&gt;1.&lt;STRONG&gt;Create a Flash Algorithm:&lt;/STRONG&gt; CodeWarrior uses .elf files which describe Flash algorithms. Although some flash memories have the same physical characteristics, the program and erase time cycles may change from one memory to other (even if they are from the same manufacturer). This is why you must create a flash algorithm for the device you have selected. In your CodeWarrior installation path you can find a document which explains how to create an algorithm for a flash device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;STRONG&gt;Create the flash device description and add it to CodeWarrior:&lt;/STRONG&gt; Once you have the appropriate algorithm for your flash memory you must create a device description. The device description is a bunch of parameters that you must add to a .xml file with the appropriate Syntax. This file contains all supported flash devices. You can generate this information by yourself or you can use a script to generate the info and just paste it in the .xml file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find this process in the Application Note &lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN3859.pdf" title="http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN3859.pdf"&gt;AN3859&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-weight: inherit; font-style: inherit; font-size: 12.7273px; font-family: inherit; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: Arial, sans-serif;"&gt;I hope this information can help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.7273px; font-family: inherit; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.7273px; font-family: inherit; color: #3d3d3d;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.7273px; font-family: inherit; color: #3d3d3d;"&gt;Note: If this post answers your question, please click the Correct Answer button. It would be nice!&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12.7273px; font-family: inherit; color: #3d3d3d;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 01:48:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70F120M-Tower-Module-quot-not-able-to-run-on-the-target-or/m-p/383533#M20475</guid>
      <dc:creator>adriancano</dc:creator>
      <dc:date>2014-11-07T01:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: TWR-K70F120M Tower Module: "not able to run on the target or the flash is not configured properly"</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70F120M-Tower-Module-quot-not-able-to-run-on-the-target-or/m-p/383534#M20476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Adrian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank for your answer. But &lt;SPAN class="hps"&gt;I think your&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;response&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;answers the question&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I asked&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;here &lt;A href="https://community.nxp.com/thread/319352"&gt;K70 flexnvm used for program flash&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then I think I will transfert your answer &lt;SPAN class="hps"&gt;in the other&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;post.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;To return to the subject of this post, my problem was a problem to program a basic program (in internal flash) following my try to program the external flash which had failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;All&lt;/SPAN&gt; simple &lt;SPAN class="hps"&gt;programs&lt;/SPAN&gt; like &lt;SPAN class="hps"&gt;"hello"&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I tried&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;failed&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;programing. Error message was presented in my first post.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;My collegue found how to resolve my problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;SPAN class="hps"&gt;Just need to tick the following option at least one time. A&lt;SPAN class="hps"&gt;fter that,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;programing&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;works again.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Resolve.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46566i41FF7C228FFFE558/image-size/large?v=v2&amp;amp;px=999" role="button" title="Resolve.png" alt="Resolve.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 08:51:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70F120M-Tower-Module-quot-not-able-to-run-on-the-target-or/m-p/383534#M20476</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2014-11-07T08:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70F120M Tower Module: "not able to run on the target or the flash is not configured properly"</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70F120M-Tower-Module-quot-not-able-to-run-on-the-target-or/m-p/383535#M20477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Adrian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then first, I must modify the tcl file like following (Is ti right?)&lt;/P&gt;&lt;P&gt;Change "reserved&amp;nbsp;&amp;nbsp; 0x60000000 0x6FFFFFFF"&lt;/P&gt;&lt;P&gt;by "range&amp;nbsp;&amp;nbsp; 0x60000000 0x6FFFFFFF 4 ReadWrite&amp;nbsp; // External Nand flash MT29F2G16"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second "If you decide to use a Flash device that is not supported by CodeWarrior you must make two things to have it usable."&lt;/P&gt;&lt;P&gt;I use the standard K70 Tower which have an external nandflash linked on the FlexBus. The nandflash is an MT29F2G16.&lt;/P&gt;&lt;P&gt;It seems to me that my codewarrior have already needed file (C:\Freescale\CW MCU v10.3\MCU\bin\plugins\support\Products\ProductData\ARMFPDevices.mwpdb\FP\mt29f2g16.xml)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if I made steps done in my first post here: &lt;A href="https://community.nxp.com/thread/319352"&gt;K70 flexnvm used for program flash&lt;/A&gt; and I modify the Tcl file, what I have to do to program my software which have data containing both&amp;nbsp; in Internal and external flash?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 09:28:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70F120M-Tower-Module-quot-not-able-to-run-on-the-target-or/m-p/383535#M20477</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2014-11-07T09:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K70F120M Tower Module: "not able to run on the target or the flash is not configured properly"</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70F120M-Tower-Module-quot-not-able-to-run-on-the-target-or/m-p/383536#M20478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So If I well&amp;nbsp; understand, I had a target task like following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="TargetTask.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/46042iD41AAA57AAA71593/image-size/large?v=v2&amp;amp;px=999" role="button" title="TargetTask.png" alt="TargetTask.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and then in Debug Configuration\ Debugger I add the target task created.&lt;/P&gt;&lt;P&gt;I start the debug, but loading failed with following message in the console:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Executing download task: {----MyWorkspace---}\build-twrk70n1m-cw-mqx-d\cw10\Task_Flash_ExtNandFlash.tcl&lt;/P&gt;

&lt;P&gt;cmdwin::fl::target -lc hellopeg twrk70f120m_IntFlash_DDRData &lt;/P&gt;

&lt;P&gt;cmdwin::fl::target -b 0x1fff0000 0x20000 &lt;/P&gt;

&lt;P&gt;cmdwin::fl::target -v off -l off &lt;/P&gt;

&lt;P&gt;cmdwin::fl::device -d mt29f2g16 -o 1024Mx16x1 -a 0x60000000 0x6fffffff &lt;/P&gt;

&lt;P&gt;cmdwin::fl::image -f&amp;nbsp; {----MyWorkspace---}\build-twrk70n1m-cw-mqx-d\cw10\twrk70f120m_I&lt;/P&gt;
&lt;P&gt;nt_Flash_DDRData_Debug\hellopeg.afx -t Auto Detect -re off -oe off &lt;/P&gt;

&lt;P&gt;cmdwin::fl::erase image &lt;/P&gt;

&lt;P&gt; Beginning Operation ...&amp;nbsp; &lt;/P&gt;

&lt;P&gt;------------------------- &lt;/P&gt;

&lt;P&gt;Auto-detection is successful.&amp;nbsp; &lt;/P&gt;

&lt;P&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp; &lt;/P&gt;

&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Performing target initialization ...&amp;nbsp; &lt;/P&gt;

&lt;P&gt; Downloading Flash Device Driver ...&amp;nbsp; &lt;/P&gt;

&lt;P&gt;Reading flash ID ...&amp;nbsp; &lt;/P&gt;

&lt;P&gt;Reading flash ID ....&amp;nbsp; &lt;/P&gt;

&lt;P&gt;Reading flash ID .....&amp;nbsp; &lt;/P&gt;

&lt;P&gt;Reading flash ID ......&amp;nbsp; &lt;/P&gt;

&lt;P&gt;Reading flash ID .......&amp;nbsp; &lt;/P&gt;

&lt;P&gt;&amp;lt;e&amp;gt;Error: The algorithm was not able to run on the target or the flash is not configured properly. &amp;lt;/e&amp;gt; &lt;/P&gt;

&lt;P&gt;&amp;lt;e&amp;gt;Error: Getting flash ID failed &amp;lt;/e&amp;gt; &lt;/P&gt;

&lt;P&gt;An invalid preference was passed to the GDI protocol plugin(ARM GDI Protocol Adapter) &lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the following window:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FlashError.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47195iF031A54C2498DC05/image-size/large?v=v2&amp;amp;px=999" role="button" title="FlashError.png" alt="FlashError.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 10:31:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K70F120M-Tower-Module-quot-not-able-to-run-on-the-target-or/m-p/383536#M20478</guid>
      <dc:creator>arnogir</dc:creator>
      <dc:date>2014-11-07T10:31:37Z</dc:date>
    </item>
  </channel>
</rss>

