<?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: USB LDD K40 link error in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/USB-LDD-K40-link-error/m-p/187125#M548</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&amp;nbsp;got exactly the same error, I think its is related to the not included USB lib, but could not resolve it till now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2011 18:00:31 GMT</pubDate>
    <dc:creator>hard_ware</dc:creator>
    <dc:date>2011-11-30T18:00:31Z</dc:date>
    <item>
      <title>USB LDD K40 link error</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/USB-LDD-K40-link-error/m-p/187124#M547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have posted a similar message to the MQX forum, but I was not sure if this forum would be more appropriate. If the USB LDD is added to the bsp_twrk40x256_pe BSP project in CW 10.1 using MQX 3.7, a link error occurs indicating that "_mem_alloc_system_align" is not defined when the pe_demo_twrk40x256 MQX sample project is built. I have not found any reference to this function in the MQX documentation.&amp;nbsp; This code is generated by Processor expert, and I do not know how to resolve the erorr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 05:30:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/USB-LDD-K40-link-error/m-p/187124#M547</guid>
      <dc:creator>FredF</dc:creator>
      <dc:date>2011-11-30T05:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: USB LDD K40 link error</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/USB-LDD-K40-link-error/m-p/187125#M548</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&amp;nbsp;got exactly the same error, I think its is related to the not included USB lib, but could not resolve it till now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 18:00:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/USB-LDD-K40-link-error/m-p/187125#M548</guid>
      <dc:creator>hard_ware</dc:creator>
      <dc:date>2011-11-30T18:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: USB LDD K40 link error</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/USB-LDD-K40-link-error/m-p/187126#M549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to resolve the error by linking the USB libraries.&amp;nbsp; Thanks for the suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 23:39:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/USB-LDD-K40-link-error/m-p/187126#M549</guid>
      <dc:creator>FredF</dc:creator>
      <dc:date>2011-11-30T23:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: USB LDD K40 link error</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/USB-LDD-K40-link-error/m-p/187127#M550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to could help you, could you please tell the steps how you get it compiled, I tried to add the USB lib to project and included the USB.h but still get the&lt;/P&gt;&lt;P&gt;Undefined : "_mem_alloc_system_align"&lt;/P&gt;&lt;P&gt;error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 00:03:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/USB-LDD-K40-link-error/m-p/187127#M550</guid>
      <dc:creator>hard_ware</dc:creator>
      <dc:date>2011-12-02T00:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: USB LDD K40 link error</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/USB-LDD-K40-link-error/m-p/187128#M551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My previous post was not correct since there was a mismatch in the LDD names, so the code was not actually being linked. This is the repsonse I received from a sevice request that resolved the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;We made a quick analysis and there seem to be two problems:

- The funtion _mem_alloc_system_align seems not to be present in latest MQX.
So as the customer correctly observed, it's necessary to use _mem_alloc_align instead.

- The _mem_alloc_align is available only if the BSP and PSP is recompiled with the option MQX_USE_LWMEM_ALLOCATOR set to 0.
It should help adding #define MQX_USE_LWMEM_ALLOCATOR 0 to for example small_ram_config.h file, before this symbol is used."

For a current workaround you can use "_mem_alloc_align", enable the allocator macro and recompile the BSP/PSP.

Processor Expert team is getting more details on the best solution for these problems so that they get fixed for further releases of PExpert.&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:38:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/USB-LDD-K40-link-error/m-p/187128#M551</guid>
      <dc:creator>FredF</dc:creator>
      <dc:date>2020-10-29T09:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: USB LDD K40 link error</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/USB-LDD-K40-link-error/m-p/187129#M552</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;the solution of the issue is here:&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="100242" class="jive_macro jive_macro_thread default_title" href="https://community.freescale.com/thread/100242" jivemacro="thread" title="https://community.freescale.com/thread/100242"&gt;https://community.freescale.com/thread/100242&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Vojtech Filip&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 14:52:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/USB-LDD-K40-link-error/m-p/187129#M552</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2011-12-16T14:52:17Z</dc:date>
    </item>
  </channel>
</rss>

