<?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>Processor Expert SoftwareのトピックRe: Hard Fault Interruption - Cpu_ivINT_Hard_Fault doesnt let me debug</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316904#M2398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following two articles should help you to find the reason for the hard-fault:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/" title="http://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/"&gt;http://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/12/28/a-processor-expert-component-to-help-with-hard-faults/" title="http://mcuoneclipse.com/2012/12/28/a-processor-expert-component-to-help-with-hard-faults/"&gt;http://mcuoneclipse.com/2012/12/28/a-processor-expert-component-to-help-with-hard-faults/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the Hardfault debugging component attached described in the second article.&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Sep 2014 08:19:31 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2014-09-04T08:19:31Z</dc:date>
    <item>
      <title>Hard Fault Interruption - Cpu_ivINT_Hard_Fault doesnt let me debug</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316902#M2396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Im Kiven&lt;/P&gt;&lt;P&gt;I'm trying to connect my KL46Z via serial port to a visual studio application. At first I tried the process using the basics components to make the connection work, and it worked! but when I started trying it in my main project this hard fault came up.&lt;/P&gt;&lt;P&gt;I'm using controls like &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;AsynchroSerial, external interruptions and some timers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The problem is when I am trying to debug it, I get a Debug Halt telling me that it has been stopped because this interruption:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PE_ISR(Cpu_ivINT_Hard_Fault)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* This code can be changed using the CPU component property "Build Options / Unhandled int code" */&lt;/P&gt;&lt;P&gt;&amp;nbsp; PE_DEBUGHALT();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;At first&lt;/P&gt;&lt;P&gt;I made every interruption to work with their own handler using this tutorial &lt;A href="http://mcuoneclipse.com/2012/02/20/oh-my-an-interrupt/" title="http://mcuoneclipse.com/2012/02/20/oh-my-an-interrupt/"&gt;Oh my! An Interrupt… | MCU on Eclipse&lt;/A&gt; to know what was the real problem and thats what I got.&lt;/P&gt;&lt;P&gt;I don't know where to look or what to change. Thanks in advance for your response!&lt;/P&gt;&lt;P&gt;Greetings!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 02:26:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316902#M2396</guid>
      <dc:creator>kiven</dc:creator>
      <dc:date>2014-06-11T02:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Fault Interruption - Cpu_ivINT_Hard_Fault doesnt let me debug</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316903#M2397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kiven,&lt;/P&gt;&lt;P&gt;When you want to generate one ISR handler for each interrupt vector (to check what ISR cause the problem) select the value "Own handler for very" of "Unhandled vectors" property in the Build options tab in the Component Inspector of the CPU (you have to select the CPU component of the PEx project and open the Component Inspector). See also the screenshot below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Unhandled vectors - Own handler for every.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/44804i3EDAA97FDAC03B0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unhandled vectors - Own handler for every.png" alt="Unhandled vectors - Own handler for every.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 07:34:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316903#M2397</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2014-09-04T07:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Fault Interruption - Cpu_ivINT_Hard_Fault doesnt let me debug</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316904#M2398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following two articles should help you to find the reason for the hard-fault:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/" title="http://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/"&gt;http://mcuoneclipse.com/2012/11/24/debugging-hard-faults-on-arm-cortex-m/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/12/28/a-processor-expert-component-to-help-with-hard-faults/" title="http://mcuoneclipse.com/2012/12/28/a-processor-expert-component-to-help-with-hard-faults/"&gt;http://mcuoneclipse.com/2012/12/28/a-processor-expert-component-to-help-with-hard-faults/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the Hardfault debugging component attached described in the second article.&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 08:19:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316904#M2398</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-09-04T08:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Fault Interruption - Cpu_ivINT_Hard_Fault doesnt let me debug</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316905#M2399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Erich, I have my own design board with a KL04Z8 uC on it. It's brand new, I'm using the internal OSC.&lt;/P&gt;&lt;P&gt;After following your tutorial, I kept receiving this error: Cpu_ivINT_Hard_Fault.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What could go wrong if my project uses only the generated code from PE without any modification? Many thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 19:39:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316905#M2399</guid>
      <dc:creator>luizdavimartins</dc:creator>
      <dc:date>2014-09-16T19:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Fault Interruption - Cpu_ivINT_Hard_Fault doesnt let me debug</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316906#M2400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using KDS V1.1.1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 18:19:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316906#M2400</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-09-17T18:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Fault Interruption - Cpu_ivINT_Hard_Fault doesnt let me debug</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316907#M2401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hey Erich, I would like to use KDS indeed, but I wasn't able to configure it to work with this uC properly. I'm using CW 10.6.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 18:29:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316907#M2401</guid>
      <dc:creator>luizdavimartins</dc:creator>
      <dc:date>2014-09-17T18:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Fault Interruption - Cpu_ivINT_Hard_Fault doesnt let me debug</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316908#M2402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have a KL04, so cannot try on my side. But what would be that configuration problem in KDS?&lt;/P&gt;&lt;P&gt;I don't think that the IDE matters, but more probably the linker file/startup code.&lt;/P&gt;&lt;P&gt;Can you step through the startup code to see where it happens?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 18:32:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316908#M2402</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-09-17T18:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Fault Interruption - Cpu_ivINT_Hard_Fault doesnt let me debug</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316909#M2403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a error with the MEMORY map at the m_data area. This below is the correct configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MEMORY {&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x000000C0&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_text&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RX) : ORIGIN = 0x00000410, LENGTH = 0x00001BF0&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW) : ORIGIN = 0x1FFFFF00, LENGTH = 0x00000400&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_cfmprotrom&amp;nbsp; (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 18:28:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316909#M2403</guid>
      <dc:creator>luizdavimartins</dc:creator>
      <dc:date>2014-09-19T18:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Fault Interruption - Cpu_ivINT_Hard_Fault doesnt let me debug</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316910#M2404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This thread is related to &lt;A href="https://community.nxp.com/message/436064"&gt;Is there a bug or fault on Processor Expert for the Kinetis L 04 series?&lt;/A&gt; and indeed the linker file generated by Processor Expert/KDS is wrong with a wrong m_data size. I have filed the ticket KDS-171 about this bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Sep 2014 14:53:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Hard-Fault-Interruption-Cpu-ivINT-Hard-Fault-doesnt-let-me-debug/m-p/316910#M2404</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-09-21T14:53:02Z</dc:date>
    </item>
  </channel>
</rss>

