<?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 MQX PCB Corrupt in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-PCB-Corrupt/m-p/823713#M18021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MQX for KSDK 1.3.0.&amp;nbsp; I have been using the&amp;nbsp;GNU tools 4.8 2014q3 since the project started.&amp;nbsp; I decided to update the tools to the latest version which is included in MCUXpress0 10.2.0, which is 7 2017q4.&amp;nbsp; (One of the reasons is because the linker can print a percentage of memory used after the build...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I re-built all my libraries and my application.&amp;nbsp; I am now getting an HARDFAULT in the RTCS library, but only when the library has been built using the "size optimization" flag.&amp;nbsp; All my libraries&amp;nbsp;were previously&amp;nbsp;built with the -Os flag in the previous toolset, so it seems to be related to the new version of the tools.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have installed an exception handler to view the register values when the hardfault occurs.&amp;nbsp; It always happens in the ENET_send() function in the file fsl_enet_rtcs_adapter.c.&amp;nbsp; When packetPtr is assigned to packet-&amp;gt;FRAG[0].FRAGMENT, the address it points to is 0xFFFF_FFF2, which is obviously not valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function call is the following:&lt;/P&gt;&lt;P&gt;TCPIP_task()&amp;nbsp;&lt;/P&gt;&lt;P&gt;ARP_service()&lt;/P&gt;&lt;P&gt;IPE_send()&amp;nbsp;&lt;/P&gt;&lt;P&gt;ENET_send()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure where to go to further debug the issue.&amp;nbsp; Should I just go back to the 4.8 version of the tools?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2018 19:31:42 GMT</pubDate>
    <dc:creator>jschepler</dc:creator>
    <dc:date>2018-06-26T19:31:42Z</dc:date>
    <item>
      <title>MQX PCB Corrupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-PCB-Corrupt/m-p/823713#M18021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MQX for KSDK 1.3.0.&amp;nbsp; I have been using the&amp;nbsp;GNU tools 4.8 2014q3 since the project started.&amp;nbsp; I decided to update the tools to the latest version which is included in MCUXpress0 10.2.0, which is 7 2017q4.&amp;nbsp; (One of the reasons is because the linker can print a percentage of memory used after the build...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I re-built all my libraries and my application.&amp;nbsp; I am now getting an HARDFAULT in the RTCS library, but only when the library has been built using the "size optimization" flag.&amp;nbsp; All my libraries&amp;nbsp;were previously&amp;nbsp;built with the -Os flag in the previous toolset, so it seems to be related to the new version of the tools.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have installed an exception handler to view the register values when the hardfault occurs.&amp;nbsp; It always happens in the ENET_send() function in the file fsl_enet_rtcs_adapter.c.&amp;nbsp; When packetPtr is assigned to packet-&amp;gt;FRAG[0].FRAGMENT, the address it points to is 0xFFFF_FFF2, which is obviously not valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function call is the following:&lt;/P&gt;&lt;P&gt;TCPIP_task()&amp;nbsp;&lt;/P&gt;&lt;P&gt;ARP_service()&lt;/P&gt;&lt;P&gt;IPE_send()&amp;nbsp;&lt;/P&gt;&lt;P&gt;ENET_send()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure where to go to further debug the issue.&amp;nbsp; Should I just go back to the 4.8 version of the tools?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2018 19:31:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-PCB-Corrupt/m-p/823713#M18021</guid>
      <dc:creator>jschepler</dc:creator>
      <dc:date>2018-06-26T19:31:42Z</dc:date>
    </item>
  </channel>
</rss>

