<?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>MQX Software SolutionsのトピックRe: User/System Mode Registers</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/User-System-Mode-Registers/m-p/696434#M17524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not easy to debugging the hard fault. I hope the following info is helpful&lt;/P&gt;&lt;P&gt;MQX sets active stack pointer to PSP in boot.s.&lt;/P&gt;&lt;P&gt;The core automatically swithes the active stack pointer to MSP in handler mode and switches back to PSP with exception return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20897i4852CB38BD7F953A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to this link for how to debug and diagnose on ARM MCUs.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freertos.org%2FDebugging-Hard-Faults-On-Cortex-M-Microcontrollers.html" rel="nofollow" target="_blank"&gt;Debugging and diagnosing hard faults on ARM Cortex-M CPUs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button or helpful. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Aug 2017 08:09:43 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2017-08-14T08:09:43Z</dc:date>
    <item>
      <title>User/System Mode Registers</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/User-System-Mode-Registers/m-p/696433#M17523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get the vales of these registers? &amp;nbsp;I would like to get them in the hard fault isr. I need to find what call was made that caused the interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 23:35:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/User-System-Mode-Registers/m-p/696433#M17523</guid>
      <dc:creator>Mike_d</dc:creator>
      <dc:date>2017-08-11T23:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: User/System Mode Registers</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/User-System-Mode-Registers/m-p/696434#M17524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not easy to debugging the hard fault. I hope the following info is helpful&lt;/P&gt;&lt;P&gt;MQX sets active stack pointer to PSP in boot.s.&lt;/P&gt;&lt;P&gt;The core automatically swithes the active stack pointer to MSP in handler mode and switches back to PSP with exception return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20897i4852CB38BD7F953A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to this link for how to debug and diagnose on ARM MCUs.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freertos.org%2FDebugging-Hard-Faults-On-Cortex-M-Microcontrollers.html" rel="nofollow" target="_blank"&gt;Debugging and diagnosing hard faults on ARM Cortex-M CPUs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button or helpful. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 08:09:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/User-System-Mode-Registers/m-p/696434#M17524</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2017-08-14T08:09:43Z</dc:date>
    </item>
  </channel>
</rss>

