<?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>Classic/Legacy CodeWarrior中的主题 CW2.7.3 - SC1400 - Linking against ROM</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CW2-7-3-SC1400-Linking-against-ROM/m-p/155432#M2343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a program that is split into two parts: a ROM image and a RAM image that can 'patch' the ROM. I'd like to be able to set up a RAM code project that can link against the already ROMed code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I currently can envision two potential ways of doing this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Parse the ROM's resulting eld or map file to create a asm symbols file, and include the asm file in the RAM project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Creative use of the .unit LCF directive to allow a single project to generate two eld files -- one for the RAM and one for the ROM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem with #1, is having to create a custom utility to do this (maybe one already exists?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The (possible) problem with #2, is that I'm not sure that I can guarentee a project rebuild would always locate the ROM symbols in the same place. The advantage with #2, is that I have the luxury of only maintaining one project, and don't have to import all of the ROM projects headers into the RAM project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question: has anybody ever tried to do something like this, or have any throughts on the above? Maybe there's a better way to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm nervous about solution #2, for the reason mentioned above, and because I have not found very much documentation on .unit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&lt;BR /&gt;Alban Edit: Please &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;always&lt;/STRONG&gt;&lt;/SPAN&gt; include FSL Part Number in Message Subject line.&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fforums.freescale.com%2Ffreescale%2Fboard%2Fmessage%3Fboard.id%3DFORUMUSE%26message.id%3D865" rel="nofollow" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=FORUMUSE&amp;amp;message.id=865&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by Alban on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2007-10-16&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;04:34 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Oct 2007 02:44:43 GMT</pubDate>
    <dc:creator>dcolby</dc:creator>
    <dc:date>2007-10-16T02:44:43Z</dc:date>
    <item>
      <title>CW2.7.3 - SC1400 - Linking against ROM</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CW2-7-3-SC1400-Linking-against-ROM/m-p/155432#M2343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a program that is split into two parts: a ROM image and a RAM image that can 'patch' the ROM. I'd like to be able to set up a RAM code project that can link against the already ROMed code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I currently can envision two potential ways of doing this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Parse the ROM's resulting eld or map file to create a asm symbols file, and include the asm file in the RAM project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Creative use of the .unit LCF directive to allow a single project to generate two eld files -- one for the RAM and one for the ROM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem with #1, is having to create a custom utility to do this (maybe one already exists?).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The (possible) problem with #2, is that I'm not sure that I can guarentee a project rebuild would always locate the ROM symbols in the same place. The advantage with #2, is that I have the luxury of only maintaining one project, and don't have to import all of the ROM projects headers into the RAM project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question: has anybody ever tried to do something like this, or have any throughts on the above? Maybe there's a better way to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm nervous about solution #2, for the reason mentioned above, and because I have not found very much documentation on .unit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--&lt;BR /&gt;Alban Edit: Please &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;always&lt;/STRONG&gt;&lt;/SPAN&gt; include FSL Part Number in Message Subject line.&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fforums.freescale.com%2Ffreescale%2Fboard%2Fmessage%3Fboard.id%3DFORUMUSE%26message.id%3D865" rel="nofollow" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=FORUMUSE&amp;amp;message.id=865&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by Alban on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2007-10-16&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;04:34 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 02:44:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CW2-7-3-SC1400-Linking-against-ROM/m-p/155432#M2343</guid>
      <dc:creator>dcolby</dc:creator>
      <dc:date>2007-10-16T02:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Linking against ROM</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CW2-7-3-SC1400-Linking-against-ROM/m-p/155433#M2344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hello and Welcome,&lt;BR /&gt;&lt;BR /&gt;Please read the 2 following posts and reply to them here.&lt;BR /&gt;&lt;BR /&gt; &lt;OL&gt;&lt;LI&gt;&lt;B&gt;&lt;A class="subj_read" href="http://forums.freescale.com/freescale/board/message?board.id=CWCOMM&amp;amp;message.id=3819" target="_blank"&gt;[IMPORTANT] When Asking about CODEWARRIOR !!!&lt;/A&gt;&lt;/B&gt;&lt;/LI&gt;&lt;LI&gt;&lt;B&gt;&lt;A class="subj_read" href="http://forums.freescale.com/freescale/board/message?board.id=FORUMUSE&amp;amp;message.id=865" target="_blank"&gt;[IMPORTANT] Reminder of Rules to post on technical boards&lt;/A&gt;&lt;/B&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;BR /&gt;Then, we all can start to think about your problem.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 03:08:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CW2-7-3-SC1400-Linking-against-ROM/m-p/155433#M2344</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-10-16T03:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: CW2.7.3 - SC1400 - Linking against ROM</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CW2-7-3-SC1400-Linking-against-ROM/m-p/155434#M2345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Codewarrior version is 2.7.3.&lt;BR /&gt;&lt;BR /&gt;The processor is SC1400 based.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;David&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by Alban on &lt;SPAN class="date_text"&gt;2007-10-16&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;04:33 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 21:34:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CW2-7-3-SC1400-Linking-against-ROM/m-p/155434#M2345</guid>
      <dc:creator>dcolby</dc:creator>
      <dc:date>2007-10-16T21:34:31Z</dc:date>
    </item>
  </channel>
</rss>

