<?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>MCUXpresso IDE中的主题 Re: Problem with Ethernet on LPC1788</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842230#M3314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ulysses,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It seems your project is created by yourself, not the lpcopen code, so maybe the situation is not the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please check your project, do you have the optimization? Please set the optimization to none in the project property.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Besides, could you also generate the .map file, then send me the two .map file with two different memory configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Sep 2018 09:33:52 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2018-09-20T09:33:52Z</dc:date>
    <item>
      <title>Problem with Ethernet on LPC1788</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842227#M3311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm with a problem on ethernet using LWIP on MCUXpresso using the memory, when i use with this way, work perfectly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69031iACD11A79B37D7BD2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i change the order of memory RAM the ethernet stop work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69075i29A0F2E0816BDCC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What&amp;nbsp;happens with my code to this stop work?&lt;/P&gt;&lt;P&gt;What i do to solve my problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I'm using Freertos, my Flash is shifted&amp;nbsp;for bootloader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry about my terrible english.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 19:54:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842227#M3311</guid>
      <dc:creator>ulyssesfonseca</dc:creator>
      <dc:date>2018-09-18T19:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Ethernet on LPC1788</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842228#M3312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ulysses fonseca,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; After you modify the ethernet project RAM position, do you also modify the according lib RAM position?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Take an example, the board and the chip project, modify it the same as your ethernet project, don't just modify one project, the build the two lib and the app project again, otherwise it will have problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 06:01:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842228#M3312</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-09-19T06:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Ethernet on LPC1788</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842229#M3313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer, i don't know how do this, in my project the application and the libs for the microcontroller are in the same project. Below, the tree about my project:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69194iBE9EBCA657C722FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 12:40:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842229#M3313</guid>
      <dc:creator>ulyssesfonseca</dc:creator>
      <dc:date>2018-09-19T12:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Ethernet on LPC1788</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842230#M3314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ulysses,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It seems your project is created by yourself, not the lpcopen code, so maybe the situation is not the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please check your project, do you have the optimization? Please set the optimization to none in the project property.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Besides, could you also generate the .map file, then send me the two .map file with two different memory configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 09:33:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842230#M3314</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2018-09-20T09:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Ethernet on LPC1788</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842231#M3315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is almost certainly a variable (probably an array buffer) being used by the LWIP that has to be located in the peripheral RAM in order for both the ethernet peripheral and the Cortex-M3 processor core be able to access it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you order the RAM so that the Peripheral RAM is listed first, all of the variables will be being located in the Peripheral RAM. When you order the RAM so that RamLoc64 is first, all variable will be default be placed there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to identify the ethernet variable , and then use one the the various way MCUXpresso IDE provides to force it to be placed into the Peripheral RAM. See the MCUXpresso IDE v10.2 User Guide for more details of how to do this, in particular section 16.11, "Placement of specific code/data items".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 16:41:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842231#M3315</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-09-20T16:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Ethernet on LPC1788</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842232#M3316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kerry,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Besides, could you also generate the .map file, then send me the two .map file with two different memory configuration.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I send the two files, the ETHERNET_5_RAM_64_FIRST use the RamLoc64 First on the definition:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69264i956C22B776708F13/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other file, ETHERNET_5_RAM_32_FIRST use the RamPeriph32 first:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69312iFCCFBB5D6372DB82/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please check your project, do you have the optimization? Please set the optimization to none in the project property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;Yes, the optimization was none:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69353i671F5964A512B888/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 18:03:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842232#M3316</guid>
      <dc:creator>ulyssesfonseca</dc:creator>
      <dc:date>2018-09-20T18:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Ethernet on LPC1788</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842233#M3317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, a long time after, i&amp;nbsp;solved this problem. At begining, i work with RamPeriph32 first and using multiples ram regions for FreeRTOS on RamLoc64 and SDRAM32, it works but isn't the best solution, because with USB, ethernet doesn't work.&lt;/P&gt;&lt;P&gt;The solution it works at RamLoc64 with USB:&lt;/P&gt;&lt;P&gt;I analyzed all variables alloc at ram spaces and i done some changes it works good for my problem.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;At file &lt;EM&gt;&lt;STRONG&gt;lpc17xx_40xx_emac.c&lt;/STRONG&gt;&lt;/EM&gt; is need to change the variable:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ALIGNED(8) lpc_enetdata_t lpc_enetdata;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;change to:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;__attribute__((section(".bss.$RamPeriph32"), aligned(8))) lpc_enetdata_t lpc_enetdata;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At file &lt;EM&gt;&lt;STRONG&gt;lwipopts.h&lt;/STRONG&gt;&lt;/EM&gt; comment or disable the follow variables:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//#define MEM_LIBC_MALLOC 1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#define MEMP_MEM_MALLOC 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At file &lt;EM&gt;&lt;STRONG&gt;mem.c&lt;/STRONG&gt;&lt;/EM&gt; change:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;u8_t ram_heap[MEM_SIZE_ALIGNED + (2*SIZEOF_STRUCT_MEM) + MEM_ALIGNMENT];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;to:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;u8_t ram_heap[MEM_SIZE_ALIGNED + (2*SIZEOF_STRUCT_MEM) + MEM_ALIGNMENT] __attribute__((section(".bss.$RamPeriph32")));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: this changes at files &lt;EM&gt;&lt;STRONG&gt;mem.c&lt;/STRONG&gt;&lt;/EM&gt; can cause other problems, because it is responsable for functions &lt;EM&gt;mem_alloc&lt;/EM&gt;&amp;nbsp;and other functions responsable for allocation of memory&amp;nbsp;used by many other&amp;nbsp;libraries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2019 12:57:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Problem-with-Ethernet-on-LPC1788/m-p/842233#M3317</guid>
      <dc:creator>ulyssesfonseca</dc:creator>
      <dc:date>2019-09-20T12:57:17Z</dc:date>
    </item>
  </channel>
</rss>

