<?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>CodeWarrior for MCUのトピックRe: Including BIN file on K60 project</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-BIN-file-on-K60-project/m-p/242532#M9409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kojto,&lt;/P&gt;&lt;P&gt;No, this problem, in your link, is on a ColdFire. I tried to do a test project for ColdFire target an it's working.&lt;/P&gt;&lt;P&gt;The linker is different for Kietis (ARM) and its syntax is different.&lt;/P&gt;&lt;P&gt;Thanks to you Kojto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is still open, if anybody has other ideas !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Feb 2013 18:42:34 GMT</pubDate>
    <dc:creator>yb</dc:creator>
    <dc:date>2013-02-18T18:42:34Z</dc:date>
    <item>
      <title>Including BIN file on K60 project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-BIN-file-on-K60-project/m-p/242527#M9404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to add a binary file to my K60 project. It's a bootloader BIN.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CW10.2 send me this link error : &lt;EM&gt;"Linker command file error at line 32 File not found: bootloader.bin"&lt;/EM&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the LCF file, I add a MEMORY line :&lt;/P&gt;&lt;P&gt;MEMORY&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;my_boot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000000, LENGTH = 0x0000FFFF&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And a new section :&lt;/P&gt;&lt;P&gt;SECTIONS&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; .zoneBootloader:&lt;/P&gt;&lt;P&gt;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; INCLUDE bootloader.bin&lt;/P&gt;&lt;P&gt;&amp;nbsp; } &amp;gt; my_boot&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I add the path in the -L argument of the linker executable :&lt;/P&gt;&lt;P&gt;-L "C:\"&lt;/P&gt;&lt;P&gt;The bootloader.bin file is added to the project, at different place but always the same message appaears :-(&lt;/P&gt;&lt;P&gt;It seems very easy in the doc : "&lt;EM&gt;Listing 13.15 Embedding Data Directly into Output" :&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _musicStart = .; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCLUDE music.mid &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; _musicEnd = .; &lt;/P&gt;&lt;P&gt;}&amp;nbsp; &amp;gt; DATA &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try the other doc exemple, without the INCLUDE file, &lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;"Listing 13.15 Embedding Data Directly into Output" :&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WRITEB 0x48;&amp;nbsp; /*&amp;nbsp; 'H'&amp;nbsp; */&lt;/P&gt;&lt;P&gt;&amp;nbsp; WRITEB 0x69;&amp;nbsp; /*&amp;nbsp; 'i'&amp;nbsp; */ &lt;/P&gt;&lt;P&gt;&amp;nbsp; WRITEB 0x21;&amp;nbsp; /*&amp;nbsp; '!'&amp;nbsp; */ &lt;/P&gt;&lt;P&gt;These hex values are placed in my S19 file, at the good address, without any linker error&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it a path problem ? A linker problem ? A doc problem ? Anything else ???&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yvan&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 16:02:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-BIN-file-on-K60-project/m-p/242527#M9404</guid>
      <dc:creator>yb</dc:creator>
      <dc:date>2013-01-30T16:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Including BIN file on K60 project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-BIN-file-on-K60-project/m-p/242528#M9405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yvan BOURNE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shall I request some more clarification? The name of the doc you referred to, and if possible, create and attach small example with including bin file. I'll test it in CW10.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MartinK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 07:35:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-BIN-file-on-K60-project/m-p/242528#M9405</guid>
      <dc:creator>c0170</dc:creator>
      <dc:date>2013-01-31T07:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Including BIN file on K60 project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-BIN-file-on-K60-project/m-p/242529#M9406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="replyToName" style="font-style: inherit; font-family: inherit;"&gt;Kojto,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName" style="font-style: inherit; font-family: inherit;"&gt;The help is just the inline doc in CW10.2 : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="replyToName" style="font-family: inherit;"&gt;"MQX Tools -&amp;gt; MQX Documentation -&amp;gt; CodeWarrior for Microcontrollers V10.x -&amp;gt; Kinetis for Miconcontrollers -&amp;gt; Kinetis Build Tools Reference Manual -&amp;gt; ELF linker and Command Language -&amp;gt; LCF Syntax -&amp;gt; Writing Data Directly to Memory"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName" style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName" style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName" style="font-style: inherit; font-family: inherit;"&gt;The test to do is just add these lines in the LCF file of any Kinetis project (even if the memory position will not be correct) :&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName" style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;MEMORY&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;{&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;...&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;my_boot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX)&amp;nbsp; : ORIGIN = 0x00000000, LENGTH = 0x0000FFFF&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;...&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;}&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;and : &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;SECTIONS&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;{&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; .zoneBootloader:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; {&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; INCLUDE bootloader.bin&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&amp;nbsp; } &amp;gt; my_boot&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;...&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;}&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;I tried with a new blank ColdFire V1 project and have the same error message.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Yvan&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 14:42:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-BIN-file-on-K60-project/m-p/242529#M9406</guid>
      <dc:creator>yb</dc:creator>
      <dc:date>2013-01-31T14:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Including BIN file on K60 project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-BIN-file-on-K60-project/m-p/242530#M9407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For information, on a ColdFire V1 project, it's possible and work fine.&lt;/P&gt;&lt;P&gt;In the Kinetis linker documentation, it seems that the keyword 'include' has not the same function as in the ColdFire linker.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So... is there another solution to include BIN file with the Kinetis linker ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 14:44:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-BIN-file-on-K60-project/m-p/242530#M9407</guid>
      <dc:creator>yb</dc:creator>
      <dc:date>2013-02-13T14:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Including BIN file on K60 project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-BIN-file-on-K60-project/m-p/242531#M9408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yvan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was reading something today and I ended up in this thread : &lt;A href="https://community.nxp.com/thread/105586"&gt;CW10 Including external files in .lcf, can't find file&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Isn't this the problem you are having?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MartinK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 18:27:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-BIN-file-on-K60-project/m-p/242531#M9408</guid>
      <dc:creator>c0170</dc:creator>
      <dc:date>2013-02-18T18:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Including BIN file on K60 project</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-BIN-file-on-K60-project/m-p/242532#M9409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kojto,&lt;/P&gt;&lt;P&gt;No, this problem, in your link, is on a ColdFire. I tried to do a test project for ColdFire target an it's working.&lt;/P&gt;&lt;P&gt;The linker is different for Kietis (ARM) and its syntax is different.&lt;/P&gt;&lt;P&gt;Thanks to you Kojto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is still open, if anybody has other ideas !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 18:42:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Including-BIN-file-on-K60-project/m-p/242532#M9409</guid>
      <dc:creator>yb</dc:creator>
      <dc:date>2013-02-18T18:42:34Z</dc:date>
    </item>
  </channel>
</rss>

