<?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>S12 / MagniV Microcontrollers中的主题 Re: section in asm files</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196475#M7781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Which version of CodeWarrior are you using?&lt;/P&gt;&lt;P&gt;&amp;nbsp; To retrieve that info:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Start CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select Help -&amp;gt; About Freescale CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click on "Install Products"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - CodeWarrior version used is displayed on top in the Installed Products dialog.&lt;/P&gt;&lt;P&gt;I did try on a project for HCS12XEP100 on V5.1 and it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you mean exactly with &amp;nbsp;keyword 'IRQ_VECTOR_ROM&amp;nbsp;section' doesn't work anymore?&lt;/P&gt;&lt;P&gt;Are you getting an assembly message?&lt;/P&gt;&lt;P&gt;Are you getting a linker message?&lt;/P&gt;&lt;P&gt;Are you not seeing the section in the .map file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jan 2012 16:07:19 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2012-01-10T16:07:19Z</dc:date>
    <item>
      <title>section in asm files</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196474#M7780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the last project for HCS12 I used the following mechanism to build firmware with and without bootware:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;prm:&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SEGMENTS&lt;/P&gt;&lt;P&gt;//*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ROM_FD00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NO_INIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA_NEAR IBCC_NEAR&amp;nbsp;&amp;nbsp; 0xFD00 TO&amp;nbsp;&amp;nbsp; 0xFDFF;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // bootware identification string&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ROM_FFFA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = NO_INIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA_NEAR IBCC_NEAR&amp;nbsp;&amp;nbsp; 0xFFFA TO&amp;nbsp;&amp;nbsp; 0xFFFF;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // interrupt vectors&lt;/P&gt;&lt;P&gt;/*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ROM_FD00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = READ_ONLY&amp;nbsp;&amp;nbsp; DATA_NEAR IBCC_NEAR&amp;nbsp;&amp;nbsp; 0xFD00 TO&amp;nbsp;&amp;nbsp; 0xFDFF;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // for use without bootware&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ROM_FFFA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = READ_ONLY&amp;nbsp;&amp;nbsp; DATA_NEAR IBCC_NEAR&amp;nbsp;&amp;nbsp; 0xFFFA TO&amp;nbsp;&amp;nbsp; 0xFFFF;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // for use without bootware&lt;/P&gt;&lt;P&gt;//*/&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PLACEMENT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BW_VERSIOM_ROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO ROM_FD00;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IRQ_VECTOR_ROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO ROM_FFFA;&lt;/P&gt;&lt;P&gt;END&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;asm:&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BootBlockSize:&amp;nbsp; equ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $2000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; bootware version string location&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BW_VERSIOM_ROM&amp;nbsp; section&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; interrupt jump table for firmware without bootware&lt;/P&gt;&lt;P&gt;JCOPFail&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jmp [ COPFail&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - BootBlockSize, pcr ]&lt;/P&gt;&lt;P&gt;JClockFail:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jmp [ ClockFail&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - BootBlockSize, pcr ]&lt;/P&gt;&lt;P&gt;JReset:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jmp [ Reset&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - BootBlockSize, pcr ]&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;　&amp;nbsp;&lt;/P&gt;&lt;P&gt;; interrupt table for firmware without bootware&lt;/P&gt;&lt;P&gt;IRQ_VECTOR_ROM&amp;nbsp; section&lt;/P&gt;&lt;P&gt;COPFail:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dc.w&amp;nbsp;&amp;nbsp;&amp;nbsp; JCOPFail&lt;/P&gt;&lt;P&gt;ClockFail:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dc.w&amp;nbsp;&amp;nbsp;&amp;nbsp; JClockFail&lt;/P&gt;&lt;P&gt;Reset:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dc.w&amp;nbsp;&amp;nbsp;&amp;nbsp; JReset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems the keyword 'IRQ_VECTOR_ROM&amp;nbsp;section' doesn't work anymore with HCS12X. I have to use 'org $FFFA' instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 21:31:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196474#M7780</guid>
      <dc:creator>mark99</dc:creator>
      <dc:date>2012-01-09T21:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: section in asm files</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196475#M7781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Which version of CodeWarrior are you using?&lt;/P&gt;&lt;P&gt;&amp;nbsp; To retrieve that info:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Start CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select Help -&amp;gt; About Freescale CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click on "Install Products"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - CodeWarrior version used is displayed on top in the Installed Products dialog.&lt;/P&gt;&lt;P&gt;I did try on a project for HCS12XEP100 on V5.1 and it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you mean exactly with &amp;nbsp;keyword 'IRQ_VECTOR_ROM&amp;nbsp;section' doesn't work anymore?&lt;/P&gt;&lt;P&gt;Are you getting an assembly message?&lt;/P&gt;&lt;P&gt;Are you getting a linker message?&lt;/P&gt;&lt;P&gt;Are you not seeing the section in the .map file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 16:07:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196475#M7781</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2012-01-10T16:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: section in asm files</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196476#M7782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer. And sorry for the late reply...troubles in other projects...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Which version of CodeWarrior are you using?&lt;/P&gt;&lt;P&gt;I'm using CodeWarrior S12(X) Version 5.1, build 10221&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; What do you mean exactly with&amp;nbsp; keyword&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;'IRQ_VECTOR_ROM section' doesn't work&lt;/P&gt;&lt;P&gt;&amp;gt; anymore?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use&amp;nbsp;'IRQ_VECTOR_ROM section' the asm file will not be linked. I can't find the asm file in the map file. With 'org&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $FD00' it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Are you getting an assembly message?&lt;/P&gt;&lt;P&gt;No.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Are you getting a linker message?&lt;/P&gt;&lt;P&gt;No.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Are you not seeing the section in the&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;.map file?&lt;/P&gt;&lt;P&gt;No.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any hints!&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 15:00:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196476#M7782</guid>
      <dc:creator>mark99</dc:creator>
      <dc:date>2012-01-19T15:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: section in asm files</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196477#M7783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THere seem to be a problem in your project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to submit a service request&amp;nbsp; for that to get one of our support engineer looking into that&lt;BR /&gt;Click &lt;A href="https://www.freescale.com/webapp/servicerequest.create_SR.framework?regFlag=fromOpenSR" rel="nofollow" target="_blank"&gt;here&lt;/A&gt; to submit a service request..&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Make sure to attach&amp;nbsp; a project reproducing the issue and installed product information to the SR.&lt;BR /&gt;To make sure you provide all necessary project information, you can use the Pack and Go wizard.&lt;BR /&gt;&amp;nbsp; - Start the IDE&lt;BR /&gt;&amp;nbsp; - Open the Project&lt;BR /&gt;&amp;nbsp; - Select Help -&amp;gt; "Pack and Go"&lt;BR /&gt;&amp;nbsp; - Follow the instruction on the screen. That will generate a zip file containing all necessary&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; information (including the installed product information).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 15:55:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196477#M7783</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2012-01-19T15:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: section in asm files</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196478#M7784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a new project for HCS12X, added the asm file and the prm file. It's the same problem as in the other project. What happens if you build the test project attached?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you'll find the sections 'BW_VERSIOM_ROM' and 'IRQ_VECTOR_ROM' there must be a problem with my CodeWarrior installation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 16:37:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196478#M7784</guid>
      <dc:creator>mark99</dc:creator>
      <dc:date>2012-01-19T16:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: section in asm files</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196479#M7785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unused objects from Firmware.asm are optimized out by linker. Try adding this to your PRM file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ENTRIES&lt;/P&gt;&lt;P&gt;&amp;nbsp; Firmware.asm.o:*&lt;/P&gt;&lt;P&gt;&amp;nbsp;END&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 17:26:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196479#M7785</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2012-01-19T17:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: section in asm files</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196480#M7786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're write, thank you!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering that the linker optimizes out code like that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 20:06:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/section-in-asm-files/m-p/196480#M7786</guid>
      <dc:creator>mark99</dc:creator>
      <dc:date>2012-01-19T20:06:53Z</dc:date>
    </item>
  </channel>
</rss>

