<?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中的主题 Re: Problem with DSP_MEM bean.</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178840#M3992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Attached you will find an example.&lt;/DIV&gt;&lt;DIV&gt;Hope this will help you.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/community_files/CWDSPCOMM/1044_variable_at_fixed_point.zip" rel="nofollow" target="_self"&gt;variable_at_fixed_point.zip&amp;nbsp;&lt;/A&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-15&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:50 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Aug 2008 15:30:03 GMT</pubDate>
    <dc:creator>trytohelp</dc:creator>
    <dc:date>2008-08-15T15:30:03Z</dc:date>
    <item>
      <title>Problem with DSP_MEM bean.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178834#M3986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am working with MC56F8346 and PE. Code Warrior version is 5.6.1.1658. I put the DSP_MEM bean in my project and configured it. But when I try to&amp;nbsp;call a function like:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;pBuffer = MEM1_memCalloc(10, sizeof(UWord16));&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;the compiler shows the error:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Link Error&amp;nbsp;&amp;nbsp; : Undefined : "FmemNumEMpartitions"&lt;BR /&gt;Referenced from "FmemMalloc" in mem.c&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;I searched "FmemNumEMpartitions" in mem.c and didn't find anything. Did anybody already solve this problem?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;João Paulo.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 19:51:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178834#M3986</guid>
      <dc:creator>jeypi</dc:creator>
      <dc:date>2008-08-07T19:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with DSP_MEM bean.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178835#M3987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I don't know the tool version you're using.&lt;/DIV&gt;&lt;DIV&gt;On my side I tried with the DSC 8.2.&lt;/DIV&gt;&lt;DIV&gt;I create an example via the wizard, include the mem bean.&lt;/DIV&gt;&lt;DIV&gt;See the example attached.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can download this version on our web site via the link:&lt;BR /&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-56800E-DSC" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-56800E-DSC&lt;/A&gt;&lt;BR /&gt;For details please have a look in:&lt;BR /&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-56800E-DSC&amp;amp;tab=In-Depth_Tab" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-56800E-DSC&amp;amp;tab=In-Depth_Tab&lt;/A&gt;&lt;BR /&gt;In the download tab you can download the Special Edition or the Evaluation.&lt;BR /&gt;The Special edition contains the special edition license limited to 32 kb of Code.&lt;BR /&gt;We recommend you to download the Evaluation edition.&lt;BR /&gt;A Professional Evaluation license is provided for first 30 days.&lt;BR /&gt;After 30 days the product will function at the Special Edition level.&lt;BR /&gt;If you need another version of the license please contact your local distributor.&lt;BR /&gt;You can purchase it directly from the web site too.&lt;BR /&gt;We changed the pricing and packaging structure for Codewarrior Tool.&lt;BR /&gt;Now there are 4 suites:&lt;BR /&gt;&amp;nbsp;special (free version)&lt;BR /&gt;&amp;nbsp;basic&lt;BR /&gt;&amp;nbsp;standard&lt;BR /&gt;&amp;nbsp;professional&lt;BR /&gt;Please refer to the link for details:&lt;BR /&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=0127262E703BC5" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=0127262E703BC5&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;Go to the &lt;A href="http://www.freescale.com" rel="nofollow" target="_blank"&gt;www.freescale.com&lt;/A&gt; and click on My Freescale.&lt;BR /&gt;After you were logged, select CodeWarrior Licensing under MY Secure Application.&lt;BR /&gt;In the new dialog you can manage your license file.&lt;/DIV&gt;&lt;DIV&gt;Keep in mind you can have several versions installed on the same PC.&lt;BR /&gt;There is only one restriction: install them on separate folder.&lt;BR /&gt;If you're using an old version, please backup your project before to try it with this new version.&lt;BR /&gt;If you will meet some compatibility issue you could back to the older version without problem.&lt;/DIV&gt;&lt;DIV&gt;For the patches, please use the link :&lt;BR /&gt;&amp;nbsp;&lt;A href="http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=01272600617882" rel="nofollow" target="_blank"&gt;http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=01272600617882&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 17:00:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178835#M3987</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-08-08T17:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with DSP_MEM bean.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178836#M3988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;the example ....&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/community_files/CWDSPCOMM/1035_dsp_mem_example.zip" rel="nofollow" target="_self"&gt;dsp_mem_example.zip&lt;/A&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-15&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:49 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 17:06:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178836#M3988</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-08-08T17:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with DSP_MEM bean.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178837#M3989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The example helped a lot. The problem was some&amp;nbsp;missing parts of linker file (.cmd). Now the application is running correctly.&amp;nbsp;But another doubt: do you know how I can write or allocate memory in a&amp;nbsp;specific address. For example, if I want to allocate&amp;nbsp;an array&amp;nbsp;in&amp;nbsp;a external ram&amp;nbsp;memory,&amp;nbsp;in the address 0x002001, how can&amp;nbsp;I do it?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks a lot,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;João Paulo.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2008 23:49:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178837#M3989</guid>
      <dc:creator>jeypi</dc:creator>
      <dc:date>2008-08-08T23:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with DSP_MEM bean.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178838#M3990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;See below extract of the manual.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;B&gt;&lt;FONT face="Helvetica-Bold" size="5"&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;P align="left"&gt;&lt;B&gt;&lt;FONT face="Helvetica-Bold" size="5"&gt;Specifying Variable Addresses in C&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;&lt;FONT face="Times-Roman" size="1"&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Times-Roman" size="1"&gt;The user can tell the compiler to specify the address of a variable in a C file using the &lt;FONT face="Courier" size="1"&gt;:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face="Times-Roman" size="1"&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Times-Roman" size="1"&gt;operator. The constant value following the &lt;FONT face="Courier" size="1"&gt;:&lt;/FONT&gt; &lt;FONT face="Times-Roman" size="1"&gt;operator is the word address of the global&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Times-Roman" size="1"&gt;variable (i.e., &lt;FONT face="Courier" size="1"&gt;int OneReg : 0xBCD ;&lt;/FONT&gt; &lt;FONT face="Times-Roman" size="1"&gt;specifies that the global variable&lt;/FONT&gt; &lt;FONT face="Courier" size="1"&gt;OneReg&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face="Times-Roman" size="1"&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Times-Roman" size="1"&gt;resides at word address &lt;FONT face="Courier" size="1"&gt;0xBCD&lt;/FONT&gt;&lt;FONT face="Times-Roman" size="1"&gt;).&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;&lt;FONT face="Times-Bold" size="1"&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;P align="left"&gt;&lt;B&gt;&lt;FONT face="Times-Bold" size="1"&gt;NOTE&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;&lt;FONT face="Times-Roman" size="1"&gt;The Linker does not reserve space for global variables declared with the&lt;/FONT&gt; &lt;FONT face="Courier" size="1"&gt;:&lt;/FONT&gt;&lt;FONT face="Times-Roman" size="1"&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT face="Times-Roman" size="1"&gt;operator.&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2008 13:32:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178838#M3990</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-08-11T13:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with DSP_MEM bean.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178839#M3991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I used the operator : but i didn't work.&amp;nbsp;The variable OneReg&amp;nbsp;was allocated at memory address 0x0000 (RAM memory). Is there something wrong&amp;nbsp;with&amp;nbsp;the&amp;nbsp;code?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier"&gt;int OneReg : 0xBCD&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier"&gt;Thanks,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Courier"&gt;João Paulo.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2008 20:16:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178839#M3991</guid>
      <dc:creator>jeypi</dc:creator>
      <dc:date>2008-08-14T20:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with DSP_MEM bean.</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178840#M3992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Attached you will find an example.&lt;/DIV&gt;&lt;DIV&gt;Hope this will help you.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Pascal&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/community_files/CWDSPCOMM/1044_variable_at_fixed_point.zip" rel="nofollow" target="_self"&gt;variable_at_fixed_point.zip&amp;nbsp;&lt;/A&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-15&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;05:50 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 15:30:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Problem-with-DSP-MEM-bean/m-p/178840#M3992</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2008-08-15T15:30:03Z</dc:date>
    </item>
  </channel>
</rss>

