<?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: What's the correct way to add the FNET stack to a PE project? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431218#M25009</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your hints. I checked them and all were fine. Yes, the loops seem not to be the best way of implementation. I would also expect some sort of time-out with a return of an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the project run now. I removed the __init_hardware(); from PE in the start-up code and now it works as intended. :smileyhappy:&lt;/P&gt;&lt;P&gt;So, my next steps are to clean up the project and figure out what configuration causes the FNET stack to fail.&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dave408"&gt;dave408&lt;/A&gt;​, thank you as well. If I've more information then I'll post it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Jun 2015 23:49:05 GMT</pubDate>
    <dc:creator>ChrisTango</dc:creator>
    <dc:date>2015-06-06T23:49:05Z</dc:date>
    <item>
      <title>What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431202#M24993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to add the FNET stack to a PE project. So far I imported the stack, set-up the needed ISRs (for timer and ethernet), increase the stack size and wrote a simple application.&lt;/P&gt;&lt;P&gt;Unfortunately the firmware doesn't work. It fails during the ethernet IO initialization within the FNET stack causing a HW failure interrupt, so my question is: What is the proper way to import the stack? Perhaps someone can also explain why the ethernet IO initialization fails and how it is possible to fix it. In my mind this is caused through the previous low level init of the PE code. It might lock the configuration against changes.&lt;/P&gt;&lt;P&gt;I attached my project for FRDM K64F to this post.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337591"&gt;Test_PEnFNET.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 19:48:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431202#M24993</guid>
      <dc:creator>ChrisTango</dc:creator>
      <dc:date>2015-06-04T19:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431203#M24994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only thing I see so far that might be wrong is that since you're using PEx to initialize peripherals, you need to map the ENET pins via your Pins1 component:&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/36029iF8B6D6A56BCA04E4/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;That said, after adding that, I still ended up in the hard fault handler.&amp;nbsp; I have been trying to diagnose it with Erich Styger's assembly code approach, but now I get this:&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/36073i0A5946176CBD9CF8/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'm going to reimport your project and try again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 20:10:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431203#M24994</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-06-04T20:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431204#M24995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've shifted the fnet initialization to the very beginning, right at the top of main(); but still I get the hard fault handler called. So, it might be even the start-up which needs to be changed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 21:42:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431204#M24995</guid>
      <dc:creator>ChrisTango</dc:creator>
      <dc:date>2015-06-04T21:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431205#M24996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are right.&amp;nbsp; I disabled your Eth_task completely by removing it from the MQX task array, and also put LED blink code in your Task1.&amp;nbsp; But when I run it, it blinks the LED once and then goes into PE_DEBUGHALT().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 22:29:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431205#M24996</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-06-04T22:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431206#M24997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/ChrisTango"&gt;ChrisTango&lt;/A&gt;​ I "fixed" the problem.&amp;nbsp; The call to _time_delay_ticks(100); in Task1_task is causing the hard fault.&amp;nbsp; I just don't know why.&amp;nbsp; I replaced it with a tight loop just to see what would happen and now my LED blinks fine.&amp;nbsp; I have to re-enable Eth_task next and see what happens.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 22:47:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431206#M24997</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-06-04T22:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431207#M24998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It also seems that the ethernet task doesn't actually run in some cases.&amp;nbsp; I tried to disable Task1 by removing it from the task and stack arrays, but then I get a hard fault.&amp;nbsp; Perhaps I should try using the PEx disable feature and regenerate code instead.&amp;nbsp; But when I have both tasks running and put a breakpoint in Eth_task, it never gets hit.&amp;nbsp; However, I know MQX is running because my green LED is blinking.&amp;nbsp; Even though it's in a tight loop, I would expect the other task to be able to start.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have you tried starting only Task1, and then have Task1 start Eth_task?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 23:04:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431207#M24998</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-06-04T23:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431208#M24999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI to others, even though PEx is involved in this project, you do *not* need to configure the ENET pins in the Pins component.&amp;nbsp; As I debugged the hardfault on my end some more, I found that the hard fault is triggered when PCR17 is set, and then it was clear that FNET handles the enet pin configuration for you.&amp;nbsp; :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 16:23:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431208#M24999</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-06-05T16:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431209#M25000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, I got why it fails through setting the PCR17. The clock for the ports isn't active; therefore the registers cannot be read or write.&lt;/P&gt;&lt;P&gt;I added the following line before the fapp_init() call and overcome this issue :smileyhappy::&lt;/P&gt;&lt;P&gt;SIM_SCGC5 |= (SIM_SCGC5_PORTC_MASK | SIM_SCGC5_PORTA_MASK | SIM_SCGC5_PORTB_MASK);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still this project hangs. :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 18:38:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431209#M25000</guid>
      <dc:creator>ChrisTango</dc:creator>
      <dc:date>2015-06-05T18:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431210#M25001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, good find!&amp;nbsp; I'll do that now and see what happens next.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 18:48:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431210#M25001</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-06-05T18:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431211#M25002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added the latest project file with the fix for the port settings.&lt;/P&gt;&lt;P&gt;This still fails and the issue might be similar. In my mind the hardware configuration is in error.&lt;/P&gt;&lt;P&gt;The packets are not going to be send.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 18:48:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431211#M25002</guid>
      <dc:creator>ChrisTango</dc:creator>
      <dc:date>2015-06-05T18:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431212#M25003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, thx. I think we will get it to run over a long turn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 18:49:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431212#M25003</guid>
      <dc:creator>ChrisTango</dc:creator>
      <dc:date>2015-06-05T18:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431213#M25004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For me it looks like it hangs here:&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/29687i44EC64B6EAC4AA4F/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 18:56:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431213#M25004</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-06-05T18:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431214#M25005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's the same on my side.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 19:07:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431214#M25005</guid>
      <dc:creator>ChrisTango</dc:creator>
      <dc:date>2015-06-05T19:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431215#M25006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what to do next, but it could be a hardware configuration problem like you've said.&amp;nbsp; The fact that it's tight looping on a volatile means that elsewhere that status is supposed to be getting set, but it isn't.&amp;nbsp; Have you gone through all of the FNET enet init code to make sure all of the pins are configured properly?&amp;nbsp; Is there a doc somewhere that outlines what FNET API calls need to be made, and in which order before trying to send data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 20:56:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431215#M25006</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-06-05T20:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431216#M25007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was thinking the same, so I took over the start-up code from the FNET demo,&amp;nbsp; but still it hangs. Perhaps I've missed something. I also checked the Interrupt getting called. That works fine. I will look over the code again. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2015 10:27:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431216#M25007</guid>
      <dc:creator>ChrisTango</dc:creator>
      <dc:date>2015-06-06T10:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431217#M25008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Check that the buffer descriptor status values are all initialised to 0 when they are constructed during initialisation. This means that they are not owned by the Ethernet controller and can be used for new Tx frames.&lt;/P&gt;&lt;P&gt;2. Check how many such buffer descriptors are availabe - at least 2 should be used but often more are present.&lt;/P&gt;&lt;P&gt;3. The first usage of a tx buffer descriptor should work since they are all free (initialisation 1) but are the frames being sent out? If they are not they will fill up and then block further usage.&lt;/P&gt;&lt;P&gt;4. Check that the code includes erratas - the Tx can fail to start if the erratas are not respected. This is usually seen as delayed transmissions rather than blocking but could fail if only one buffer descriptor is used.&lt;/P&gt;&lt;P&gt;5. If the TX blocks with the ready bit set check the content of all of the buffer descriptors since they must all have blocked. In particular, check the length field set in the Tx buffer descriptors because if a length of 0 is set anywhere (which would be an error elsewhere) the Tx will never clear the buffer descriptor and they will effectively stall.&lt;/P&gt;&lt;P&gt;6. It may be best to have a short timeout in the wait loop, with an error return, since it is best to drop a transmission rather than lock up the board. This wait would normally be very short, even in heavily loaded networks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;K64: &lt;A href="http://www.utasker.com/kinetis/FRDM-K64F.html" title="http://www.utasker.com/kinetis/FRDM-K64F.html"&gt;µTasker Kinetis FRDM-K64F support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/TWR-K64F120M.html" title="http://www.utasker.com/kinetis/TWR-K64F120M.html"&gt;µTasker Kinetis TWR-K64F120M support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/TWR-K65F180M.html" title="http://www.utasker.com/kinetis/TWR-K65F180M.html"&gt;µTasker Kinetis TWR-K65F180M support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2015 11:23:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431217#M25008</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-06-06T11:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431218#M25009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your hints. I checked them and all were fine. Yes, the loops seem not to be the best way of implementation. I would also expect some sort of time-out with a return of an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the project run now. I removed the __init_hardware(); from PE in the start-up code and now it works as intended. :smileyhappy:&lt;/P&gt;&lt;P&gt;So, my next steps are to clean up the project and figure out what configuration causes the FNET stack to fail.&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dave408"&gt;dave408&lt;/A&gt;​, thank you as well. If I've more information then I'll post it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jun 2015 23:49:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431218#M25009</guid>
      <dc:creator>ChrisTango</dc:creator>
      <dc:date>2015-06-06T23:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431219#M25010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You bet -- just wish I could have been more help.&amp;nbsp; It was a good debugging exercise.&amp;nbsp; Glad you got it working!&amp;nbsp; It will be interesting to hear which part of the configuration barfed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 01:19:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431219#M25010</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-06-07T01:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: What's the correct way to add the FNET stack to a PE project?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431220#M25011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it run without modifications of PE code. It's all about the clock configuration. I took the PE configuration from my LDD_Eth test project. PE advised me in choosing the setting. The LDD_Eth test project didn't work, but at least the clock configuration was fine. The FNET demo has also a clock configuration within the start-up code, but it seems not to overwrite all settings which are need and anyway it's cleaner to configure the clock settings just once (using PE).&lt;/P&gt;&lt;P&gt;Now I will add MQX again and see if I'm having more battles to fight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 15:35:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/What-s-the-correct-way-to-add-the-FNET-stack-to-a-PE-project/m-p/431220#M25011</guid>
      <dc:creator>ChrisTango</dc:creator>
      <dc:date>2015-06-07T15:35:53Z</dc:date>
    </item>
  </channel>
</rss>

