<?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: BLE heart rate sensor - hardfault in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/BLE-heart-rate-sensor-hardfault/m-p/653503#M2534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thibault,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I think the reason why it goes into the hardfault after the startup is the entering into the low power mode. This demo enters into low power mode just after the application is initialized. This probably cause the issue. You can terminate the debug window and reset the board. The SW4 will wake up the application from low power mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;To disable low power mode, you have to go in app_preinclude.h file and need to set the cPWR_UsePowerDownMode to 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Karel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2017 19:26:07 GMT</pubDate>
    <dc:creator>karel_povalac</dc:creator>
    <dc:date>2017-02-20T19:26:07Z</dc:date>
    <item>
      <title>BLE heart rate sensor - hardfault</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/BLE-heart-rate-sensor-hardfault/m-p/653502#M2533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;The question created by Thibault Richard:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Hello Karel, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;I am working on the heart rate BLE demo and I have a problem. At first I could program the demo and try it successfully.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Since then each time I run the demo (using debug or run profile) the demo always crashes in hardfault after startup. Trying to step in the code, I can see that the first clock init in board_initadc (clock_enableclock call) immediately runs in hardfault, cannot even step in the function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;I tried removing the project, reinstalling the connectivity pack, recloning a fresh project... I always have this hardfault since then.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;On the other end, using beacon demo is always working!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Is it a bug from heart rate demo? I am using connectivity pack 1.0.2.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Am I doing something wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Do you know how to fix it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;Best regards.&lt;BR /&gt;Thibault Richard&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 19:23:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/BLE-heart-rate-sensor-hardfault/m-p/653502#M2533</guid>
      <dc:creator>karel_povalac</dc:creator>
      <dc:date>2017-02-20T19:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: BLE heart rate sensor - hardfault</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/BLE-heart-rate-sensor-hardfault/m-p/653503#M2534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thibault,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I think the reason why it goes into the hardfault after the startup is the entering into the low power mode. This demo enters into low power mode just after the application is initialized. This probably cause the issue. You can terminate the debug window and reset the board. The SW4 will wake up the application from low power mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;To disable low power mode, you have to go in app_preinclude.h file and need to set the cPWR_UsePowerDownMode to 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Karel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 19:26:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/BLE-heart-rate-sensor-hardfault/m-p/653503#M2534</guid>
      <dc:creator>karel_povalac</dc:creator>
      <dc:date>2017-02-20T19:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: BLE heart rate sensor - hardfault</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/BLE-heart-rate-sensor-hardfault/m-p/653504#M2535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/tibo"&gt;tibo&lt;/A&gt;‌,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I uploaded you question here.&lt;/P&gt;&lt;P&gt;Karel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 08:18:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/BLE-heart-rate-sensor-hardfault/m-p/653504#M2535</guid>
      <dc:creator>karel_povalac</dc:creator>
      <dc:date>2017-02-21T08:18:38Z</dc:date>
    </item>
  </channel>
</rss>

