<?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: Assistance needed with lwIP + PEx + KSDK in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409033#M3280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dave,&lt;/P&gt;&lt;P&gt;I have noticed that you have not configured pins in the PinSettings (ENET pins are not routed), see below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49396i4F9E2EA15E714930/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current configure_enet_pins function contains the following code only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void configure_enet_pins(uint32_t instance)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR18 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,18u,kPortPinDisabled);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select required (used) pins and generate Processor Expert code again.&lt;/P&gt;&lt;P&gt;The configure_enet_pins function will be updated and this function should contains for example the following code (FRDM-K64F board configuration from KSDK board support):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void configure_enet_pins(uint32_t instance)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTC_PCR16 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTC_BASE,16u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTC_PCR17 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTC_BASE,17u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTC_PCR18 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTC_BASE,18u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTC_PCR19 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTC_BASE,19u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTB_PCR1 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTB_BASE,1u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTB_PCR0 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTB_BASE,0u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetOpenDrainCmd(PORTB_BASE,0u,true);&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetPullMode(PORTB_BASE,0u,kPortPullUp);&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetPullCmd(PORTB_BASE,0u,true);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR13 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,13u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR12 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,12u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR14 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,14u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR5 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,5u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR16 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,16u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR17 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,17u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR15 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,15u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR28 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,28u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2015 07:23:23 GMT</pubDate>
    <dc:creator>marek_neuzil</dc:creator>
    <dc:date>2015-04-24T07:23:23Z</dc:date>
    <item>
      <title>Assistance needed with lwIP + PEx + KSDK</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409028#M3275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to put together a PEx test app that integrates lwIP.&amp;nbsp; I'm starting from scratch, but pulling code as-needed from the lwip_tcpecho demo application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I've got everything together.&amp;nbsp; I pulled in the fsl_enet PEx component to get the ENET_DRV_* functions, and found the PHY_DRV_* functions defined in /boards/common/phyksz8041 so I added that folder as well.&amp;nbsp; Everything compiles, and I can run, but I can't initialize TCP/IP.&amp;nbsp; The call to tcpip_init(NULL,NULL) fails.&amp;nbsp; I've stepped into the code and it doesn't get very far.&amp;nbsp; Ultimately, I think it comes down to the MQX configuration, because of the following info:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call Stack before hang:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51737i745757BAE092244D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OSA_MemAlloc doesn't want to allocate any memory:&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/40429i9F825F8F8EAF4B9E/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;P&gt;&lt;/P&gt;&lt;P&gt;and this causes subsequent functions to fail due to the null pointer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looked at MQXCFG_ALLOCATOR, it's related to the mqx_sdk_config settings, which then include small, lite, and max ram configurations depending upon the setting.&amp;nbsp; However, when using the MQX PEx component, there isn't any analog to this setting.&amp;nbsp; &lt;STRONG&gt;Or is there?&lt;/STRONG&gt;&amp;nbsp; Maybe someone here can help steer me in the right direction with the correct settings.&amp;nbsp; I was thinking that I could just #define MQXCFG_ALLOCATOR, but then I fully expect the problem to crop up somewhere else down the road.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please explain the ins an outs of getting lwip and the MQX PEx component to co-exist?&amp;nbsp; This question equally applies to RTCS, because I haven't been able to get my RTCS project upgraded to MQX and PEx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 03:05:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409028#M3275</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-04-15T03:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance needed with lwIP + PEx + KSDK</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409029#M3276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I started to play around, and then found through experimentation that using the default MQX Lite setting for the PEx component will generate the same mqx_sdk_config.h file I was referring to in my original post.&amp;nbsp; So it looks like the next step is to go to MQX instead.&amp;nbsp; I was under the impression that MQX Lite and lwIP would work together, but maybe not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 03:18:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409029#M3276</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-04-15T03:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance needed with lwIP + PEx + KSDK</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409030#M3277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I have MQX Standard setup now.&amp;nbsp; I just had to disable the debug console component and setup the UART for the new MQX configuration.&amp;nbsp; But now I'm not even getting past lwip_init!&amp;nbsp; It looks like it's getting stuck in OSA_MutexCreate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.nxp.com/" style="max-width: 1200px; max-height: 900px;" /&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/49072iF8E1228A8F3F41A2/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;I looked at my MQX configuration settings, and it looks like Mutexes are enabled, so I'm not sure where to go from here.&lt;/P&gt;&lt;P&gt;&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/49115i043CBE70DF4D6993/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 03:53:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409030#M3277</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-04-15T03:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance needed with lwIP + PEx + KSDK</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409031#M3278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More progress!&amp;nbsp; But now I'm really stumped because everything seems like it should be working.&amp;nbsp; At least all of the functions get called and don't error out.&amp;nbsp; :smileyhappy:&amp;nbsp; The previous call to OSA_MutexCreate was freezing up because of the call to disable interrupts.&amp;nbsp; I didn't really understand what was going on here, but the documentation implied that this function should get called from a task, and I was calling it in main.&amp;nbsp; So I moved the code to my tcp listener task, and everything "succeeded".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is that I am sitting here waiting on netconn_accept to accept my connection, but when I try to telnet or ping, I don't get anything back from the IP address that I have specified.&amp;nbsp; Running Wireshark and pinging, I don't see any traffic to the board...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 06:05:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409031#M3278</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-04-15T06:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance needed with lwIP + PEx + KSDK</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409032#M3279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've attached my entire project here.&amp;nbsp; Can anyone at FSL please take a look at it and let me know if there's anything obviously misconfigured?&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 22:40:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409032#M3279</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-04-15T22:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance needed with lwIP + PEx + KSDK</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409033#M3280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dave,&lt;/P&gt;&lt;P&gt;I have noticed that you have not configured pins in the PinSettings (ENET pins are not routed), see below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49396i4F9E2EA15E714930/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current configure_enet_pins function contains the following code only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void configure_enet_pins(uint32_t instance)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR18 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,18u,kPortPinDisabled);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select required (used) pins and generate Processor Expert code again.&lt;/P&gt;&lt;P&gt;The configure_enet_pins function will be updated and this function should contains for example the following code (FRDM-K64F board configuration from KSDK board support):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void configure_enet_pins(uint32_t instance)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTC_PCR16 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTC_BASE,16u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTC_PCR17 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTC_BASE,17u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTC_PCR18 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTC_BASE,18u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTC_PCR19 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTC_BASE,19u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTB_PCR1 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTB_BASE,1u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTB_PCR0 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTB_BASE,0u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetOpenDrainCmd(PORTB_BASE,0u,true);&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetPullMode(PORTB_BASE,0u,kPortPullUp);&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetPullCmd(PORTB_BASE,0u,true);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR13 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,13u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR12 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,12u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR14 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,14u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR5 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,5u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR16 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,16u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR17 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,17u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR15 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,15u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Affects PORTA_PCR28 register */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PORT_HAL_SetMuxMode(PORTA_BASE,28u,kPortMuxAlt4);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 07:23:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409033#M3280</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-04-24T07:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance needed with lwIP + PEx + KSDK</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409034#M3281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Marek, I will take a look at this!&amp;nbsp; I guess I am still making bad newbie mistakes.&amp;nbsp; I had assumed that since I was picking the FRDM-K64F in the project creation options, that PEx would have already "wired" up the pins for me as they are laid out on the board.&amp;nbsp; I will be more careful about this in the future!&amp;nbsp; I'll make the changes now and we'll see where I end up.&amp;nbsp; Thank you so much for looking at my project!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 17:14:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409034#M3281</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-04-24T17:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance needed with lwIP + PEx + KSDK</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409035#M3282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marek, I'm hoping you have some more debugging tips for me -- I made the changes you had recommended and now my configure_enet_pins() function looks like yours, with the exception of PTC19 and PTA28, which don't seem to be available on my chip.&amp;nbsp; Now when I debug my project, the call to netconn_accept() hangs.&amp;nbsp; When I step in, it's stuck in lwmsgq.c in the _lwmsgq_receive function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/49397i43599A0895B560D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm at the point now where I need to learn ARM assembly, because this function is defined in the M4-specific dispatch.S assembly file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you think of anything that might cause this, or recommend any other course of action while I work on understanding what _sched_execute_scheduler_internal() is intended to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 18:31:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409035#M3282</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-04-24T18:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Assistance needed with lwIP + PEx + KSDK</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409036#M3283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to Marek's &lt;STRONG&gt;extremely&lt;/STRONG&gt; helpful and correct answer, the other piece to the puzzle to make my project work involved getting the proper include paths.&amp;nbsp; Despite building without errors, the code wouldn't work.&amp;nbsp; I believe that some of the include paths had header files that fulfilled some of the needed declarations, but I was missing some lwIP-specific ones.&amp;nbsp; I pared down the list of duplicate entries, favored Generated_Code wherever possible, and also used my shared KSDK_PATH instead of the SDK files that get copied into my local project.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14302311683646130 jive_macro_code" jivemacro_uid="_14302311683646130" modifiedtitle="true"&gt;
&lt;P&gt;"${KSDK_PATH}\boards\common\phyksz8041"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\boards\frdmk64f"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\tcpip\lwip"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\tcpip\lwip\src\include"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\tcpip\lwip\port\arch"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\tcpip\lwip\src"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\tcpip\lwip\src\include\ipv4"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\tcpip\lwip\port"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\tcpip\lwip\src\include\ipv4\lwip"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\tcpip\lwip\src\include\ipv6"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\tcpip\lwip\src\include\ipv6\lwip"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\tcpip\lwip\src\include\lwip"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\tcpip\lwip\src\include\netif"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\tcpip\lwip\src\include\posix"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\tcpip\lwip\src\include"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\platform\CMSIS\Include"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\platform\CMSIS\Include\device"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\platform\CMSIS\Include\device\MK64F12"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\platform\hal\inc"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\platform\drivers\inc"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\platform\drivers\src\mpu"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\platform\osa\inc"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\platform\startup"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\platform\system\inc"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\platform\utilities\inc"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\rtos\mqx\config\board\frdmk64f"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\rtos\mqx\config\common"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\rtos\mqx\config\mcu\mk64f120m"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\rtos\mqx\mqx\source\bsp"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}\rtos\mqx\mqx\source\include"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/platform/drivers/src/enet"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/platform/drivers/src/uart"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/platform/hal/src/sim/MK64F12"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/platform/hal/src/uart"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/platform/system/src/clock/MK64F12"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/platform/utilities/inc"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/rtos/mqx/config/common"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/rtos/mqx/mqx/source/string"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/rtos/mqx/mqx/source/psp/cortex_m"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/rtos/mqx/mqx/source/psp/cortex_m/cpu"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/rtos/mqx/mqx/source/psp/cortex_m/compiler/gcc_arm"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/rtos/mqx/mqx/source/nio"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/rtos/mqx/mqx/source/nio/src"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/rtos/mqx/mqx/source/nio/fs"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/rtos/mqx/mqx/source/nio/drivers/nio_dummy"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/rtos/mqx/mqx/source/nio/drivers/nio_serial"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/rtos/mqx/mqx/source/nio/drivers/nio_tty"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/rtos/mqx/mqx_stdlib/source/include"&lt;/P&gt;
&lt;P&gt;"${KSDK_PATH}/rtos/mqx/mqx_stdlib/source/stdio"&lt;/P&gt;
&lt;P&gt;"${ProjDirPath}/Generated_Code/SDK/rtos/mqx/config/board"&lt;/P&gt;
&lt;P&gt;"${ProjDirPath}/Generated_Code/SDK/rtos/mqx/config/mcu"&lt;/P&gt;
&lt;P&gt;"${ProjDirPath}/Generated_Code/SDK/platform/startup/MK64F12"&lt;/P&gt;
&lt;P&gt;"${ProjDirPath}/Sources"&lt;/P&gt;
&lt;P&gt;"${ProjDirPath}/Generated_Code"&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 14:26:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Assistance-needed-with-lwIP-PEx-KSDK/m-p/409036#M3283</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-04-28T14:26:19Z</dc:date>
    </item>
  </channel>
</rss>

