<?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: Code Coverage of firmware implementation on MCXW71 in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Code-Coverage-of-firmware-implementation-on-MCXW71/m-p/2322127#M20290</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;Hope you are doing well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What version of MCUXpresso IDE are you using? And which SDK version are you using? How did you enable the gcov functionality?&lt;/P&gt;
&lt;P&gt;The GCov User Guide is available on Help &amp;gt; MCUXpresso IDE User Guide included in MCUXpresso IDE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Ana Sofia.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Feb 2026 22:05:54 GMT</pubDate>
    <dc:creator>sofiaurueta</dc:creator>
    <dc:date>2026-02-24T22:05:54Z</dc:date>
    <item>
      <title>Code Coverage of firmware implementation on MCXW71</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Code-Coverage-of-firmware-implementation-on-MCXW71/m-p/2320523#M20283</link>
      <description>&lt;P&gt;Hello team,&lt;/P&gt;&lt;P&gt;I have attempted to use gcov feature in MCUXpresso with my development board NXP FRDM-MCXW71. I am not able to run even hello world sdk example program also after enabling gcov functionality for my board while connecting it using MCU-Link even though semi-hosting is enabled in debug profile. Could you clarify if gcov is expected to work in my set-up. Is there any application notes or similar document available for supporting the development in regard to code coverage. Any clue you could give me so that I could proceed faster for further development in regard to code coverage on development board.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 04:52:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Code-Coverage-of-firmware-implementation-on-MCXW71/m-p/2320523#M20283</guid>
      <dc:creator>kmishra22</dc:creator>
      <dc:date>2026-02-20T04:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Code Coverage of firmware implementation on MCXW71</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Code-Coverage-of-firmware-implementation-on-MCXW71/m-p/2322127#M20290</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;Hope you are doing well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What version of MCUXpresso IDE are you using? And which SDK version are you using? How did you enable the gcov functionality?&lt;/P&gt;
&lt;P&gt;The GCov User Guide is available on Help &amp;gt; MCUXpresso IDE User Guide included in MCUXpresso IDE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Ana Sofia.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2026 22:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Code-Coverage-of-firmware-implementation-on-MCXW71/m-p/2322127#M20290</guid>
      <dc:creator>sofiaurueta</dc:creator>
      <dc:date>2026-02-24T22:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Code Coverage of firmware implementation on MCXW71</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Code-Coverage-of-firmware-implementation-on-MCXW71/m-p/2322286#M20291</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;Greetings for the day...&lt;/P&gt;&lt;P&gt;Below are the point-wise details to your query:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;IDE: MCUXpresso 24.12.148&lt;/LI&gt;&lt;LI&gt;SDK: 24.12.00&lt;/LI&gt;&lt;LI&gt;Gcov is enabled using the instructions provided at the aforesaid user manual in IDE. Below are the detailed steps which were followed.&lt;/LI&gt;&lt;LI&gt;Opened example program from the installed SDK. I opened Hello World program.&lt;/LI&gt;&lt;LI&gt;Build it and started debug session when semi-hosting is enabled. It worked without any implementation of gcov enabled for it.Now, enabled gcov functionality by setting-up the flags "-fprofile-arcs -ftest-coverage" as provided in the manual. The respective flags were set by selecting the relevant project under the Project Explorer tab. Then navigated to Project from menu bar &amp;gt; Properties &amp;gt; C/ C++ Build &amp;gt; Settings &amp;gt; Tool Settings &amp;gt; MCU C-Compiler &amp;gt;&lt;OL&gt;&lt;LI&gt;Optimization: Removed the optimization of "Merge Identical Constants" as per the comment in Gcov user guide of IDE for removing the compiler optimizations&lt;/LI&gt;&lt;LI&gt;Debugging: Enabled gcov by checking the box to "Generate gcov information&lt;/LI&gt;&lt;LI&gt;Miscellaneous: Enabled Verbose (-v) for details of execution.&lt;/LI&gt;&lt;LI&gt;Miscellaneous: Added flags "-fprofile-arcs -ftest-coverage" at the column of "Other flags" as recommended in the IDE manual for gcov functionality.&lt;/LI&gt;&lt;LI&gt;Miscellaneous: Using Library headers "NewlibNano (Auto).&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Then navigated to Project from menu bar &amp;gt; Properties &amp;gt; C/ C++ Build &amp;gt; Settings &amp;gt; Tool Settings &amp;gt; MCU Linker &amp;gt;&lt;OL&gt;&lt;LI&gt;Miscellaneous: Added "-fprofile-arcs -ftest-coverage" in Linker Flags row. Applied and saved the project configurations. a pop-up came to re-build index owing to changes in the flags. allowed it to re-build and then clicked on "Apply and close".&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Now, I did a right click on my project title in Project Explorer tab. Clicked on "Clean Project".&lt;/LI&gt;&lt;LI&gt;Again, I did a right-click on the same Hello World project. Clicked on Debug As &amp;gt; MCU Xpresso IDE Link Server probes. It successfully compiled and deployed then resulted in "hard-fault". The program stopped at semihost_hardfault.c&lt;/LI&gt;&lt;LI&gt;Even after attempts to resume the run it kept stopping at the same point. While all this, it is noted that so far there is no .gcno files as well. Therefore, stopped the debug session.&lt;/LI&gt;&lt;LI&gt;Now, I updated the flags in project settings &amp;gt; C/ C++ build &amp;gt; Settings &amp;gt; Tool Settings &amp;gt;&lt;BR /&gt;(a) Miscellaneous: Moved the gcov flags "-fprofile-arcs -ftest-coverage" from 'Other flags' to 'Other flags (excluded from discovery).&lt;/LI&gt;&lt;LI&gt;Started the debug session again. Now it is noted that I am getting the .gcno files in my Debug folder. This is expected success here. It reveals that my settings are now updated for gcov functionality and running fine with the toolchain.&lt;/LI&gt;&lt;LI&gt;However, the debug session is still landing into the hard fault handler block of code.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Below is the hard fault result with status registers description for providing you with the insight on firmware level.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/377732i0D5BCCCBC5D1E616/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if it is expected to go to hard fault. Even the hello world SDK example program when used with gcov functionality.&lt;/P&gt;&lt;P&gt;I hope that I have provided all feasible details here. Feel free to ask if anything else could help me to catch the issues in configuration/ settings or even the set-up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day...&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="MCX-W71X" id="MCX-W71X"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp; &amp;nbsp;&lt;LI-PRODUCT title="MCUXpresso-IDE" id="MCUXpresso-IDE"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp; &amp;nbsp;&lt;LI-PRODUCT title="MCUXpresso-SDK" id="MCUXpresso-SDK"&gt;&lt;/LI-PRODUCT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Feb 2026 06:00:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Code-Coverage-of-firmware-implementation-on-MCXW71/m-p/2322286#M20291</guid>
      <dc:creator>kmishra22</dc:creator>
      <dc:date>2026-02-25T06:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Code Coverage of firmware implementation on MCXW71</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Code-Coverage-of-firmware-implementation-on-MCXW71/m-p/2326554#M20300</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please confirm if you have the coverage tools for gcov enabled (&lt;/SPAN&gt;&lt;A href="https://mcuoneclipse.com/2017/06/18/adding-gnu-coverage-tools-to-eclipse/" target="_blank"&gt;&lt;SPAN&gt;Adding GNU Coverage Tools to Eclipse&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;and try following this guide: &lt;/SPAN&gt;&lt;A&gt;&lt;SPAN&gt;Tutorial: GNU Coverage with MCUXpresso IDE&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Ana Sofia.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2026 18:52:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Code-Coverage-of-firmware-implementation-on-MCXW71/m-p/2326554#M20300</guid>
      <dc:creator>sofiaurueta</dc:creator>
      <dc:date>2026-03-04T18:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Code Coverage of firmware implementation on MCXW71</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Code-Coverage-of-firmware-implementation-on-MCXW71/m-p/2333793#M20323</link>
      <description>&lt;P&gt;Hello team&lt;/P&gt;&lt;P&gt;Attached are the settings updated in the tool. Also, screenshots confirming the gcov installation by default are provided along with updated settings for Gcov.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Gcov Integration as shown in the recommended tutorials is already installed with the default installation of MCUXpresso. A screenshot confirming the same is attached. It is further noted that updating the same is not happening and there is no defined way mentioned officially to confirm the requirements of getting it updated to make it run. Any clue on this might be helpful.&lt;/P&gt;&lt;DIV class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gcov installation" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/379445iD9E5B5B639CE70F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="2026-03-17_09h55_35.png" alt="Gcov installation" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Gcov installation&lt;/span&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gcov update" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/379447i5FE03C9F2DB72197/image-size/large?v=v2&amp;amp;px=999" role="button" title="2026-03-06_09h17_09.png" alt="Gcov update" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Gcov update&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Enabled Gcov from project preferences:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gcov enabled" style="width: 610px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/379437i2ADE9C834FBEC852/image-dimensions/610x361?v=v2" width="610" height="361" role="button" title="2026-03-17_09h38_19.png" alt="Gcov enabled" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Gcov enabled&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enabled Gcov profiling:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Gcov profiling" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/379442i3420E497B95CB970/image-size/large?v=v2&amp;amp;px=999" role="button" title="2026-03-17_10h05_20.png" alt="Gcov profiling" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Gcov profiling&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Updated flags at project preferences:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026-03-17_09h42_00.png" style="width: 610px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/379438i3C8F75E62713018E/image-dimensions/610x361?v=v2" width="610" height="361" role="button" title="2026-03-17_09h42_00.png" alt="2026-03-17_09h42_00.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Updated Linker flags:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Updated linker flags" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/379449i0C362ABF3654712A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2026-03-17_09h44_26.png" alt="Updated linker flags" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Updated linker flags&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="MCX-W71X" id="MCX-W71X"&gt;&lt;/LI-PRODUCT&gt;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="MCUXpresso-IDE" id="MCUXpresso-IDE"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 05:03:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Code-Coverage-of-firmware-implementation-on-MCXW71/m-p/2333793#M20323</guid>
      <dc:creator>kmishra22</dc:creator>
      <dc:date>2026-03-17T05:03:41Z</dc:date>
    </item>
  </channel>
</rss>

