<?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: CW10.5 and FNet in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW10-5-and-FNet/m-p/256668#M256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;no steps more!&lt;/P&gt;&lt;P&gt;I get the hard fault when the my application calls the "recv" function.&lt;/P&gt;&lt;P&gt;It seems to be an memory access fault, probabily due to a different way of compile the alloc and malloc&lt;/P&gt;&lt;P&gt;function of FNET stack. Same code doesn't generate the problem with CW10.3!&lt;/P&gt;&lt;P&gt;I will go step by step, but during step mode the crash isn't generated, so is difficult to understand&lt;/P&gt;&lt;P&gt;which is the not correct instruction.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jan 2014 16:02:18 GMT</pubDate>
    <dc:creator>sandrobilardi</dc:creator>
    <dc:date>2014-01-27T16:02:18Z</dc:date>
    <item>
      <title>CW10.5 and FNet</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW10-5-and-FNet/m-p/256665#M253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I have developed a project with Fnet library; with CW10.3 is running correctly.&lt;/P&gt;&lt;P&gt;If I compile the same project with CW10.5 and I run the application as soon as&lt;/P&gt;&lt;P&gt;I connect the TCP/IP socke I get an HardFault.&lt;/P&gt;&lt;P&gt;Has anyone noticed something similar? What's new in CW10.5 that can generate&lt;/P&gt;&lt;P&gt;this hard fault?&lt;/P&gt;&lt;P&gt;The project is written for K60.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Sandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 22:10:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW10-5-and-FNet/m-p/256665#M253</guid>
      <dc:creator>sandrobilardi</dc:creator>
      <dc:date>2014-01-24T22:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: CW10.5 and FNet</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW10-5-and-FNet/m-p/256666#M254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandro,&lt;/P&gt;&lt;P&gt;what is causing the hard fault?&lt;/P&gt;&lt;P&gt;Keep in mind that the compiler has changed/updated between these releases. Which compiler are you using? GCC or the FSL ARM compiler? And I have seen cases where code generated by a new compiler has uncovered a programming error: so it could be that your FNet sources have a bug (e.g. not properly initializing variabls), but only with the new compiler the bug will cause a crash.&lt;/P&gt;&lt;P&gt;I recommend that you use the ARM gcc compiler, as it is very good to flag such programming errors with warnings during compilation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI on hard faults:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/" title="http://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/"&gt;http://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/12/28/a-processor-expert-component-to-help-with-hard-faults/" title="http://mcuoneclipse.com/2012/12/28/a-processor-expert-component-to-help-with-hard-faults/"&gt;A Processor Expert Component to Help with Hard Faults | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 07:43:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW10-5-and-FNet/m-p/256666#M254</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-01-25T07:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: CW10.5 and FNet</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW10-5-and-FNet/m-p/256667#M255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Thanks a lot for suggestion! I'm using Gcc compiler&lt;/P&gt;&lt;P&gt;in CW10.5. I Will check warning in building project&lt;/P&gt;&lt;P&gt;but I haven't seen strange Message regarding Fnet files&lt;/P&gt;&lt;P&gt;I'll update with my progress if one!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 23:05:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW10-5-and-FNet/m-p/256667#M255</guid>
      <dc:creator>sandrobilardi</dc:creator>
      <dc:date>2014-01-25T23:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: CW10.5 and FNet</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW10-5-and-FNet/m-p/256668#M256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;no steps more!&lt;/P&gt;&lt;P&gt;I get the hard fault when the my application calls the "recv" function.&lt;/P&gt;&lt;P&gt;It seems to be an memory access fault, probabily due to a different way of compile the alloc and malloc&lt;/P&gt;&lt;P&gt;function of FNET stack. Same code doesn't generate the problem with CW10.3!&lt;/P&gt;&lt;P&gt;I will go step by step, but during step mode the crash isn't generated, so is difficult to understand&lt;/P&gt;&lt;P&gt;which is the not correct instruction.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 16:02:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/CW10-5-and-FNet/m-p/256668#M256</guid>
      <dc:creator>sandrobilardi</dc:creator>
      <dc:date>2014-01-27T16:02:18Z</dc:date>
    </item>
  </channel>
</rss>

