<?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: Link Error   : Undefined : &amp;quot;asin&amp;quot; in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-Undefined-quot-asin-quot/m-p/498975#M12733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mickael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The V2 ColdFire processor uses an imprecise reporting mechanism for access errors on operand writes, a write cycle may be decoupled from the execution of the instruction causing the write. Thus, if an access error occurs on an operand write, the signaling of the error is imprecise. Accordingly, the PC contained in the exception stack frame represents the location in the program when the access error is signaled, not necessarily the instruction causing the fault. All programming model updates associated with the write instruction are complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try using the NOP instruction to find the part of code causing the error. This instruction delays its&amp;nbsp; execution until all previous operations, including all pending write operations, are complete. If any previous write terminates with an access error, it is guaranteed to be reported on the NOP instruction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Feb 2016 16:52:25 GMT</pubDate>
    <dc:creator>Carlos_Mendoza</dc:creator>
    <dc:date>2016-02-11T16:52:25Z</dc:date>
    <item>
      <title>Link Error   : Undefined : "asin"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-Undefined-quot-asin-quot/m-p/498971#M12729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to use asin() function on my project (M5213EVB) but I found link error.&lt;/P&gt;&lt;P&gt;I add on the file #include &amp;lt;math.h&amp;gt; but it doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 15:12:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-Undefined-quot-asin-quot/m-p/498971#M12729</guid>
      <dc:creator>teboulmickael</dc:creator>
      <dc:date>2016-02-09T15:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error   : Undefined : "asin"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-Undefined-quot-asin-quot/m-p/498972#M12730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mickael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a new project in CodeWarrior for ColdFire 7.1 a library with a smaller footprint is added, because of this some routines and some features are not added, if you want to use the asin() function you need to add the full size library:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Remove the “C_4i_CF_SZ_MSL.a” library from the Libs folder in your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Make a right click on the Libs folder, click on “add files” and browse to “Program Files\Freescale\CodeWarrior for ColdFireV7.1\ColdFire_Support\msl\MSL_C\MSL_ColdFire\Lib” and add the “C_4i_CF_MSL.a” library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Compile the project and the error should not appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 01:40:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-Undefined-quot-asin-quot/m-p/498972#M12730</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2016-02-10T01:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error   : Undefined : "asin"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-Undefined-quot-asin-quot/m-p/498973#M12731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Compilation works now but the function doesn't work...&lt;/P&gt;&lt;P&gt;Error generate : &lt;/P&gt;&lt;P&gt;Access Error -- PC = 0X02DEEC&lt;/P&gt;&lt;P&gt;Error on operand write&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 17:10:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-Undefined-quot-asin-quot/m-p/498973#M12731</guid>
      <dc:creator>teboulmickael</dc:creator>
      <dc:date>2016-02-10T17:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error   : Undefined : "asin"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-Undefined-quot-asin-quot/m-p/498974#M12732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Thanks.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Compilation works now but the function doesn't work...&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Error generate :&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Access Error -- PC = 0X02DEEC&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Error on operand write&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 10:21:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-Undefined-quot-asin-quot/m-p/498974#M12732</guid>
      <dc:creator>teboulmickael</dc:creator>
      <dc:date>2016-02-11T10:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error   : Undefined : "asin"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-Undefined-quot-asin-quot/m-p/498975#M12733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mickael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The V2 ColdFire processor uses an imprecise reporting mechanism for access errors on operand writes, a write cycle may be decoupled from the execution of the instruction causing the write. Thus, if an access error occurs on an operand write, the signaling of the error is imprecise. Accordingly, the PC contained in the exception stack frame represents the location in the program when the access error is signaled, not necessarily the instruction causing the fault. All programming model updates associated with the write instruction are complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try using the NOP instruction to find the part of code causing the error. This instruction delays its&amp;nbsp; execution until all previous operations, including all pending write operations, are complete. If any previous write terminates with an access error, it is guaranteed to be reported on the NOP instruction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Carlos Mendoza&lt;/P&gt;&lt;P&gt;Technical Support Engineer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 16:52:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-Undefined-quot-asin-quot/m-p/498975#M12733</guid>
      <dc:creator>Carlos_Mendoza</dc:creator>
      <dc:date>2016-02-11T16:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Link Error   : Undefined : "asin"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-Undefined-quot-asin-quot/m-p/498976#M12734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I executed my software in debug, step by step, and the error occure just when I passe on this function:&lt;/P&gt;&lt;P&gt;test1 = sin(0.5);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand what do you mean with the "NOP" ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2016 10:54:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Link-Error-Undefined-quot-asin-quot/m-p/498976#M12734</guid>
      <dc:creator>teboulmickael</dc:creator>
      <dc:date>2016-02-12T10:54:13Z</dc:date>
    </item>
  </channel>
</rss>

