<?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 HardFault_Handler error with FreeRTOS, KL27 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HardFault-Handler-error-with-FreeRTOS-KL27/m-p/671779#M41255</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;I am using Kinetis KL27 and running a FreeRTOS 8.2.3 in it. In addition, I am using IAR Workbench for development. My ADC task was running fine previously, but I encountered a hardfault_handler error after I added a new task. But the error was not stuck in the new task, but the ADC reading task.&lt;/P&gt;&lt;P&gt;Anyway, it stucks at the&amp;nbsp;"return pxList-&amp;gt;uxNumberOfItems;" statement in the uxListRemove function in FreeRTOS.&lt;/P&gt;&lt;P&gt;I did some research about the hardfault handler, but i could not find any close to or related to my issue.&lt;/P&gt;&lt;P&gt;Please advise. In addition, please let me know what other information to provide more detail about this problem.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Gilbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 May 2017 00:02:42 GMT</pubDate>
    <dc:creator>gsmgbl</dc:creator>
    <dc:date>2017-05-09T00:02:42Z</dc:date>
    <item>
      <title>HardFault_Handler error with FreeRTOS, KL27</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HardFault-Handler-error-with-FreeRTOS-KL27/m-p/671779#M41255</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;I am using Kinetis KL27 and running a FreeRTOS 8.2.3 in it. In addition, I am using IAR Workbench for development. My ADC task was running fine previously, but I encountered a hardfault_handler error after I added a new task. But the error was not stuck in the new task, but the ADC reading task.&lt;/P&gt;&lt;P&gt;Anyway, it stucks at the&amp;nbsp;"return pxList-&amp;gt;uxNumberOfItems;" statement in the uxListRemove function in FreeRTOS.&lt;/P&gt;&lt;P&gt;I did some research about the hardfault handler, but i could not find any close to or related to my issue.&lt;/P&gt;&lt;P&gt;Please advise. In addition, please let me know what other information to provide more detail about this problem.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Gilbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2017 00:02:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/HardFault-Handler-error-with-FreeRTOS-KL27/m-p/671779#M41255</guid>
      <dc:creator>gsmgbl</dc:creator>
      <dc:date>2017-05-09T00:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler error with FreeRTOS, KL27</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HardFault-Handler-error-with-FreeRTOS-KL27/m-p/671780#M41256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gilbert:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please provide more information about your issue, your code snippet or project for further analyzing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 08:28:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/HardFault-Handler-error-with-FreeRTOS-KL27/m-p/671780#M41256</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2017-05-10T08:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: HardFault_Handler error with FreeRTOS, KL27</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/HardFault-Handler-error-with-FreeRTOS-KL27/m-p/671781#M41257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I think I found what I did wrong in my program.&lt;/P&gt;&lt;P&gt;The hardfault is causing by my taskdelay in between enter and exit the critical section.&lt;/P&gt;&lt;P&gt;I should aware of doing this critical period short and clean, my hardfault_handler error is gone after I rearranged my process. Thank you for your time.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gilbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 16:46:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/HardFault-Handler-error-with-FreeRTOS-KL27/m-p/671781#M41257</guid>
      <dc:creator>gsmgbl</dc:creator>
      <dc:date>2017-05-11T16:46:20Z</dc:date>
    </item>
  </channel>
</rss>

