<?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>Kinetis Design StudioのトピックRe: Debuk MKL04</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debuk-MKL04/m-p/352649#M1415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Use MKL048VFK4 SQN with Kinetis Design Studio V1.1.1&lt;/P&gt;&lt;P&gt;Until now I have developed with the FRDM-KL05Z and now I have to go on my microcontroller that is the MKL048VFK4 SQN.&lt;/P&gt;&lt;P&gt;Having done the test with Processor Expert thought I did not have these types of problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2014 16:56:43 GMT</pubDate>
    <dc:creator>vincenzogiudici</dc:creator>
    <dc:date>2014-11-19T16:56:43Z</dc:date>
    <item>
      <title>Debuk MKL04</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debuk-MKL04/m-p/352647#M1413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello I am developing with kl04 but when do I debug with usb universal multilink, the device connects but immediately generates an interrupt that invokes "PE_ISR (Cpu_ivINT_Hard_Fault)"&lt;/P&gt;&lt;P&gt;It 'a test firmware where I implement only the CPU model with Processor Expert.&lt;/P&gt;&lt;P&gt;How can I fix?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 08:06:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debuk-MKL04/m-p/352647#M1413</guid>
      <dc:creator>vincenzogiudici</dc:creator>
      <dc:date>2014-11-19T08:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Debuk MKL04</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debuk-MKL04/m-p/352648#M1414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vincenzo,&lt;/P&gt;&lt;P&gt;which KL04 exactly? And are you using Kinetis Design Studio V1.1.1?&lt;/P&gt;&lt;P&gt;I think the problem could be your startup code. Below is my KL04Z32 linker file:&lt;/P&gt;&lt;P&gt;/* Generate a link error if heap and stack don't fit into RAM */&lt;/P&gt;&lt;P&gt;__heap_size = 0x0400;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* required amount of heap&amp;nbsp; */&lt;/P&gt;&lt;P&gt;__stack_size = 0x0100;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* required amount of stack */&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 = 0x00007BF0&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW) : ORIGIN = 0x1FFFFC00, LENGTH = 0x00001000&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;P&gt;&lt;/P&gt;&lt;P&gt;Increase the heap size to see if this helps. I think the problem on your side is that the ANSI library code crashes because the library in KDS uses too much heap space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, I have a Processor Expert component which helps to identify the hard fault, see:&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;A Processor Expert Component to Help with Hard Faults | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The component is available from SourceForge (see &lt;A href="http://mcuoneclipse.com/2014/10/21/mcuoneclipse-releases-on-sourceforge/" title="http://mcuoneclipse.com/2014/10/21/mcuoneclipse-releases-on-sourceforge/"&gt;McuOnEclipse Releases on SourceForge | MCU on Eclipse&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 12:47:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debuk-MKL04/m-p/352648#M1414</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-11-19T12:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Debuk MKL04</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debuk-MKL04/m-p/352649#M1415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Use MKL048VFK4 SQN with Kinetis Design Studio V1.1.1&lt;/P&gt;&lt;P&gt;Until now I have developed with the FRDM-KL05Z and now I have to go on my microcontroller that is the MKL048VFK4 SQN.&lt;/P&gt;&lt;P&gt;Having done the test with Processor Expert thought I did not have these types of problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 16:56:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debuk-MKL04/m-p/352649#M1415</guid>
      <dc:creator>vincenzogiudici</dc:creator>
      <dc:date>2014-11-19T16:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Debuk MKL04</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debuk-MKL04/m-p/352650#M1416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vincenzo,&lt;/P&gt;&lt;P&gt;I think that there is a&amp;nbsp; a possible problem in the generation of the processorexpert.ld file for KL04Z8 in KDS 1.1.1 :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;the data lenght is 0x00000500 I shoud expect 0x00000400. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; m_data&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RW) : ORIGIN = 0x1FFFFE00, LENGTH = 0x00000500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the startup.c there is the zero_fill_bss function and exceding the 1K hw limit you had the hardfault.&lt;/P&gt;&lt;P&gt;Change&amp;nbsp; the processorexpert.ld line and you should solve your issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Ciao Emilio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2014 19:20:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debuk-MKL04/m-p/352650#M1416</guid>
      <dc:creator>EmilioBrivio</dc:creator>
      <dc:date>2014-11-20T19:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Debuk MKL04</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Debuk-MKL04/m-p/352651#M1417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vincenzo,&lt;/P&gt;&lt;P&gt;If you are using pe pay attention that the ld file is automatically generated by pe if the flag is enabled.&lt;/P&gt;&lt;P&gt;In CPU component inspector check build option and modify there in case you have the flag set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Emilio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 14:39:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Debuk-MKL04/m-p/352651#M1417</guid>
      <dc:creator>EmilioBrivio</dc:creator>
      <dc:date>2014-11-21T14:39:35Z</dc:date>
    </item>
  </channel>
</rss>

