<?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: Flash File to Target - Can't expand MQX_ROOT_DIR error in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Flash-File-to-Target-Can-t-expand-MQX-ROOT-DIR-error/m-p/250461#M9652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sending me the example project. Flash File To Target worked from your project. Having a project that worked showed the problem. I had defined a New Connection (in the Flash File To Target dialog window) and that somehow caused the &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;MQX_ROOT_DIR&lt;/SPAN&gt; error. I reset the connection to a previous connection and it works now from my project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand why creating a New Connection caused the error. I defined it the same way as a connection that works.&amp;nbsp; But too little about CodeWarrior Eclipse makes sense to me after using CodeWarrior (classic) for 6-7 years. I suppose it's just a learning curve, but it is a painful learning curve that's killing my productivity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2013 21:50:58 GMT</pubDate>
    <dc:creator>video_man</dc:creator>
    <dc:date>2013-05-23T21:50:58Z</dc:date>
    <item>
      <title>Flash File to Target - Can't expand MQX_ROOT_DIR error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Flash-File-to-Target-Can-t-expand-MQX-ROOT-DIR-error/m-p/250457#M9648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to flash a file (previous version compiled file) to a K70 (Tower board) from within CW 10.4. without going through the debugger.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I select Flash File to Target (from popup menu), it automatically provides the Flash Config File (K70FN1M0.xml), I browse to file to flash, and then select Erase and Program.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I receive a Target Task Error dialog box that says&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error executing task K70FN1M0.xml, Wrong expression ${MQX_ROOT_DIR}/lib/(etc)/init_kinetis_tcl; Could not expand variable MQX_ROOT_DIR.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But MQX_ROOT_DIR is already defined in Linked Resources and used for many compiler and linker search paths. And programming through Debug or Run works fine.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's the problem? Is there somewhere else I need to define MQX_ROOT_DIR? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 00:13:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Flash-File-to-Target-Can-t-expand-MQX-ROOT-DIR-error/m-p/250457#M9648</guid>
      <dc:creator>video_man</dc:creator>
      <dc:date>2013-05-22T00:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Flash File to Target - Can't expand MQX_ROOT_DIR error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Flash-File-to-Target-Can-t-expand-MQX-ROOT-DIR-error/m-p/250458#M9649</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;does the macro is defined in the project used ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 12:21:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Flash-File-to-Target-Can-t-expand-MQX-ROOT-DIR-error/m-p/250458#M9649</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2013-05-22T12:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Flash File to Target - Can't expand MQX_ROOT_DIR error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Flash-File-to-Target-Can-t-expand-MQX-ROOT-DIR-error/m-p/250459#M9650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure exactly what you are asking. The macro is defined in the project I'm using, and was defined in the project that created the compiled files. The projects compile fine and those files can be flashed using the Debug command, so the macro has to be defined correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to flash an earlier version of the code (for comparison purposes) that I saved. The &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Flash File to Target (from the popup menu), apparently can't use the same macro to find the &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;init_kinetis_tcl&lt;/SPAN&gt; file when executing &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;K70FN1M0.xml&lt;/SPAN&gt;. Is there another place the macro has to be defined for that process? In other words, how do you flash a file that you created previously that isn't the current version of your project?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 21:26:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Flash-File-to-Target-Can-t-expand-MQX-ROOT-DIR-error/m-p/250459#M9650</guid>
      <dc:creator>video_man</dc:creator>
      <dc:date>2013-05-22T21:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Flash File to Target - Can't expand MQX_ROOT_DIR error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Flash-File-to-Target-Can-t-expand-MQX-ROOT-DIR-error/m-p/250460#M9651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've a TWR-K70F120M board.&lt;/P&gt;&lt;P&gt;I've create a project via Project wizard for MQX for this board.&lt;/P&gt;&lt;P&gt;After to have rebuild the MQX lib under my MCU V10.4, I've build the project created.&lt;/P&gt;&lt;P&gt;I can load it via the debugger and create a Flash File to Target and it's running fine.&lt;/P&gt;&lt;P&gt;Extract of console:&lt;/P&gt;&lt;P&gt;++++++++++++++++++++++++++++++++++++++&lt;/P&gt;&lt;P&gt;fl::target -lc "LC for Simple Flash"&lt;/P&gt;&lt;P&gt;fl::target -b 0x1fff0000 0x20000&lt;/P&gt;&lt;P&gt;fl::target -v off -l off&lt;/P&gt;&lt;P&gt;cmdwin::fl::device -d "FTFE_PFlash1M0" -o "128Kx64x1" -a 0x0 0xfffff&lt;/P&gt;&lt;P&gt;cmdwin::fl::image -f "C:\\Temp\\Community\\307595\\MCU V10.4\\test_mqx_k70\\twrk70f120m_Int_Flash_DDRData_Debug\\test_mqx_k70.afx" -t "Auto Detect" -re on -r 0x0 0xfffff -oe off&lt;/P&gt;&lt;P&gt;cmdwin::fl::erase image&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;Auto-detection is successful.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&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;Erasing Sector 0x00000000 to 0x00000FFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing Sector 0x00001000 to 0x00001FFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing Sector 0x00002000 to 0x00002FFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing Sector 0x00003000 to 0x00003FFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing Sector 0x00004000 to 0x00004FFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing Sector 0x00005000 to 0x00005FFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing Sector 0x00006000 to 0x00006FFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing Sector 0x00007000 to 0x00007FFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing Sector 0x00008000 to 0x00008FFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing Sector 0x00009000 to 0x00009FFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing Sector 0x0000A000 to 0x0000AFFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing Sector 0x0000B000 to 0x0000BFFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing Sector 0x0000C000 to 0x0000CFFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Erasing Sector 0x0000D000 to 0x0000DFFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Erasing ...&lt;/P&gt;&lt;P&gt; Erase Command Succeeded&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;cmdwin::fl::write&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;Using restricted address range 0x00000000 to 0x000FFFFF&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Programming file C:\Temp\Community\307595\MCU V10.4\test_mqx_k70\twrk70f120m_Int_Flash_DDRData_Debug\test_mqx_k70.afx&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Auto-detection is successful.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&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;Auto-detection is successful.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; File is of type Elf Format.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Downloading 0x00000410 bytes to be programmed at 0x00000000&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Executing program ....&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Program Command Succeeded&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Downloading 0x0000D8BC bytes to be programmed at 0x00000420&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Executing program ....&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; Program Command Succeeded&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;+++++++++++++++++++++++++++++++++&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached you will find the project I'm using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 18:54:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Flash-File-to-Target-Can-t-expand-MQX-ROOT-DIR-error/m-p/250460#M9651</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2013-05-23T18:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Flash File to Target - Can't expand MQX_ROOT_DIR error</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Flash-File-to-Target-Can-t-expand-MQX-ROOT-DIR-error/m-p/250461#M9652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sending me the example project. Flash File To Target worked from your project. Having a project that worked showed the problem. I had defined a New Connection (in the Flash File To Target dialog window) and that somehow caused the &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;MQX_ROOT_DIR&lt;/SPAN&gt; error. I reset the connection to a previous connection and it works now from my project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand why creating a New Connection caused the error. I defined it the same way as a connection that works.&amp;nbsp; But too little about CodeWarrior Eclipse makes sense to me after using CodeWarrior (classic) for 6-7 years. I suppose it's just a learning curve, but it is a painful learning curve that's killing my productivity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 21:50:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Flash-File-to-Target-Can-t-expand-MQX-ROOT-DIR-error/m-p/250461#M9652</guid>
      <dc:creator>video_man</dc:creator>
      <dc:date>2013-05-23T21:50:58Z</dc:date>
    </item>
  </channel>
</rss>

