<?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: Fail to generate a .srec file in CodeWarrior v. 10.6 in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419547#M2785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;the Console view (with the build messages/command line output) should show you more what the problem is. Can you share this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2015 18:32:39 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2015-09-02T18:32:39Z</dc:date>
    <item>
      <title>Fail to generate a .srec file in CodeWarrior v. 10.6</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419546#M2784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to generate a .srec from a MQX 4.2 project, but I can't. I went to Project Properties and tried to enable this, as you can see in the following images bellow. I don't know if I missed something. Can anybody help me, please?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="70896_70896.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120594i73F12F66A6A67C47/image-size/large?v=v2&amp;amp;px=999" role="button" title="70896_70896.png" alt="70896_70896.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/54120i86AC71D5EC607EBD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="70897_70897.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120595iA2B7CA463BB3A5C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="70897_70897.png" alt="70897_70897.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/54158i3F1881175C1FA338/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="71021_71021.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120596iC6158BE60CAFF1AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="71021_71021.png" alt="71021_71021.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/54218i06FF4A35D765699D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marco Coelho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 12:38:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419546#M2784</guid>
      <dc:creator>MAPC</dc:creator>
      <dc:date>2015-09-02T12:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to generate a .srec file in CodeWarrior v. 10.6</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419547#M2785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;the Console view (with the build messages/command line output) should show you more what the problem is. Can you share this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 18:32:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419547#M2785</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-09-02T18:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to generate a .srec file in CodeWarrior v. 10.6</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419548#M2786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Erich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**** Build of configuration int flash debug for project mfs_usb_twrk20d72m ****&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"C:\\Freescale\\CW MCU v10.6.4\\gnu\\bin\\mingw32-make" -j8 pre-build main-build &lt;/P&gt;&lt;P&gt;C:/Freescale/Freescale_MQX_4_2/mfs/examples/mfs_usb/build/cw10gcc/mfs_usb_twrk20d72m/makedir.bat "C:/Freescale/Freescale_MQX_4_2/mfs/examples/mfs_usb/build/cw10gcc/mfs_usb_twrk20d72m/int flash debug"&lt;/P&gt;&lt;P&gt;' '&lt;/P&gt;&lt;P&gt;'Executing target #8 mfs_usb_twrk20d72m.hex'&lt;/P&gt;&lt;P&gt;'Invoking: ARM Ltd Windows GNU Create Flash Image'&lt;/P&gt;&lt;P&gt;"C:/Freescale/CW MCU v10.6.4/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-objcopy"&amp;nbsp; -O srec mfs_usb_twrk20d72m.elf "mfs_usb_twrk20d72m.hex"&lt;/P&gt;&lt;P&gt;makefile:112: warning: overriding recipe for target `mfs_usb_twrk20d72m.elf'&lt;/P&gt;&lt;P&gt;makefile:71: warning: ignoring old recipe for target `mfs_usb_twrk20d72m.elf'&lt;/P&gt;&lt;P&gt;C:/Freescale/CW MCU v10.6.4/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-objcopy: 'mfs_usb_twrk20d72m.elf': No such file&lt;/P&gt;&lt;P&gt;mingw32-make: *** [mfs_usb_twrk20d72m.hex] Error 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every time I enable Flash Image generation in Project Properties, this error comes up and the *.elf file that was in "Int Flash Debug" folder simply disappears. The same happens for other MQX 4.2 demos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 20:34:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419548#M2786</guid>
      <dc:creator>MAPC</dc:creator>
      <dc:date>2015-09-03T20:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to generate a .srec file in CodeWarrior v. 10.6</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419549#M2787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;that 'pre-build' and 'main-build' looks strange.&lt;/P&gt;&lt;P&gt;And what is this makedir.bat doing?&lt;/P&gt;&lt;P&gt;The other thought I have is that you might have 'options per file', see &lt;A href="http://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/" title="http://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/"&gt;http://mcuoneclipse.com/2013/06/12/traps-and-pitfalls-no-hexbins19-file-created-with-gnu/&lt;/A&gt; &lt;/P&gt;&lt;ADDRESS&gt;&lt;/ADDRESS&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 06:36:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419549#M2787</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-09-04T06:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to generate a .srec file in CodeWarrior v. 10.6</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419550#M2788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Erich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really don't know what are these pre-build and make.bat doing in the project. Actually, I just loaded the ".wsd file" which includes "mfs_usb" project with all the libraries, selected all the libraries, went to "Build Configurations", "Build Selected" options, cleaned and built all them together. After, I built only the demo itself. And I didn't change anything. I just enabled "Flash Image File" Generation in "Project Properties" and selected the srec format. We are taking this demo as our reference and a start point for our project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I repeat the same procedure for other demos, I have the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding "options per file", I checked my makefile and it looks like those macros are ok, but I found something strange at line 70. There is a pre-build that shouldn't be there? And there is a warning at the line bellow it. I don't know if it means something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/54694i0803D69E7D02607A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There is no "Reset to Default" option for "Sources" and "Int Flash Debug" folders in "Resources Configuration", in context menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've never imagined that could be so complicated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 14:29:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419550#M2788</guid>
      <dc:creator>MAPC</dc:creator>
      <dc:date>2015-09-04T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to generate a .srec file in CodeWarrior v. 10.6</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419551#M2789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've performed some tests on my side.&lt;/P&gt;&lt;P&gt;I'm using CW for MCU V10.6.4 + patch V10.6.5&amp;nbsp; and MQX V4.2.&lt;/P&gt;&lt;P&gt;I've create a MQX project using the Project Wizard for:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; File + New + MQX v4.2 Project&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Give a project name + TWRK20D72M + Example application + MFS Examples + MFS_USB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Now the example project was created but I can not build it as MQX libs were required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MQX libs - import the wsd files for:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bsp_twrk20d72m.wsd under \Freescale_MQX_4_2\mqx\build\cw10gcc\bsp_twrk20d72m&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; psp_twrk20d72m.wsd under \Freescale_MQX_4_2\mqx\build\cw10gcc\psp_twrk20d72m&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mfs_twrk20d72m.wsd under \Freescale_MQX_4_2\mfs\build\cw10gcc\mfs_twrk20d72m&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; usbh_twrk20d72m.wsd under \Freescale_MQX_4_2\usb\host\build\cw10gcc\usbh_twrk20d72m&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; shell_twrk20d72m.wsd under \Freescale_MQX_4_2\shell\build\cw10gcc\shell_twrk20d72m&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After to have build the MQX libs I can build the MQX example project without problem.&lt;/P&gt;&lt;P&gt;Now I selected Create Flash Image in Additionnal Tools and define the Output to srec.&lt;/P&gt;&lt;P&gt;When I build the project it's working fine.&lt;/P&gt;&lt;P&gt;Below extract of my console:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;' '&lt;/P&gt;&lt;P&gt;'Building target: test_mqx_20D72M.elf'&lt;/P&gt;&lt;P&gt;'Executing target #7 test_mqx_20D72M.elf'&lt;/P&gt;&lt;P&gt;'Invoking: ARM Ltd Windows GCC C Linker'&lt;/P&gt;&lt;P&gt;"E:/Freescale/CW MCU v10.6.4/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc"&amp;nbsp;&amp;nbsp;&amp;nbsp; @"test_mqx_20D72M.args" -o"test_mqx_20D72M.elf"&lt;/P&gt;&lt;P&gt;'Finished building target: test_mqx_20D72M.elf'&lt;/P&gt;&lt;P&gt;' '&lt;/P&gt;&lt;P&gt;'Executing target #8 test_mqx_20D72M.hex'&lt;/P&gt;&lt;P&gt;'Invoking: ARM Ltd Windows GNU Create Flash Image'&lt;/P&gt;&lt;P&gt;"E:/Freescale/CW MCU v10.6.4/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-objcopy"&amp;nbsp; -O srec test_mqx_20D72M.elf "test_mqx_20D72M.hex"&lt;/P&gt;&lt;P&gt;'Finished building: test_mqx_20D72M.hex'&lt;/P&gt;&lt;P&gt;' '&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pascal&lt;BR /&gt;Freescale Technical Support&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, 14 Sep 2015 09:18:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419551#M2789</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2015-09-14T09:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Fail to generate a .srec file in CodeWarrior v. 10.6</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419552#M2790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Pascal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We found that .hex file is enough for generating images into Cyclone Pro. Now, it is just a matter of curiosity, because that is intriguing me. I haven't tested it with the separate libraries wsd files yet. I just took the .wsd file from C:\Freescale\Freescale_MQX_4_2\mfs\examples\mfs_usb\build\kds\mfs_usb_twrk70f120m. That brings out all the libraries together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I still don't know if 10.6.5 patch has something to fix it, because I didn't install it yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I will repeat the tests following your steps and I let you know the results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco Coelho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 20:42:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Fail-to-generate-a-srec-file-in-CodeWarrior-v-10-6/m-p/419552#M2790</guid>
      <dc:creator>MAPC</dc:creator>
      <dc:date>2015-09-17T20:42:05Z</dc:date>
    </item>
  </channel>
</rss>

