<?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: Problems running demo examples from FRDM-KL05Z on Keil uVision5 MDK-ARM in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456196#M27191</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/mjbcswitzerland"&gt;mjbcswitzerland&lt;/A&gt;​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are all the steps of execution in sequence, from &lt;EM&gt;Reset&lt;/EM&gt; state until the program halts:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52388i2F0ADD52B65080B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52434iF5EF0573ACB15487/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52466i3AA27FDC1277BA65/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.PNG" alt="3.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52498i988B7DA4DE8C5442/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.PNG" alt="4.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52531i5412B6755E461D8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.PNG" alt="5.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2015 15:57:20 GMT</pubDate>
    <dc:creator>rflmota</dc:creator>
    <dc:date>2015-07-07T15:57:20Z</dc:date>
    <item>
      <title>Problems running demo examples from FRDM-KL05Z on Keil uVision5 MDK-ARM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456192#M27187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've bought a FRDM-KL05Z development board and I'm trying to setup the development environment in Keil uVision MDK-ARM v5.15 by trying to run the demo examples included in the &lt;EM&gt;FRDM-KL05Z Sample Code Package&lt;/EM&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I've loaded &lt;EM&gt;OpenSDA &lt;/EM&gt;bootloader with &lt;EM&gt;PEMicro FRDM-KL05Z Mass Storage/Debug App v1.14&lt;/EM&gt; and I'm able to program sucessfully the board from Keil uVision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52243iB08C30937DD9D227/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when i try to debug a simple project like &lt;EM&gt;LED_Blink&lt;/EM&gt; on uVision, I'm unable to run the code, it always halts in the &lt;EM&gt;HardFault_Handler&lt;/EM&gt; at beginning and I can't figure out why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52251iF3DAB696899B5B1A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody please help me figure out the problem and point me where I can get more information about the reason the program is halting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help and attention!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 21:11:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456192#M27187</guid>
      <dc:creator>rflmota</dc:creator>
      <dc:date>2015-07-06T21:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problems running demo examples from FRDM-KL05Z on Keil uVision5 MDK-ARM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456193#M27188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ricardo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is not enough information shown to see what the problem is (eg. you haven't shown the register values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't make progress there is a complete solution at &lt;A href="http://www.utasker.com/kinetis/FRDM-KL05Z.html" title="http://www.utasker.com/kinetis/FRDM-KL05Z.html"&gt;µTasker FRDM-KL05Z support&lt;/A&gt; including uVision5 support for your board (as well as [approx.] real-time KL05 and FRDM-KL05Z board simulation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;KL05: &lt;A href="http://www.utasker.com/kinetis/FRDM-KL05Z.html" title="http://www.utasker.com/kinetis/FRDM-KL05Z.html"&gt;µTasker FRDM-KL05Z support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 23:18:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456193#M27188</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-07-06T23:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problems running demo examples from FRDM-KL05Z on Keil uVision5 MDK-ARM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456194#M27189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which registers should I show you to help me figure out the problem?&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/22206iEC15A9F9760DFC05/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are these enough?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mjbcswitzerland"&gt;mjbcswitzerland&lt;/A&gt;​ !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 08:39:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456194#M27189</guid>
      <dc:creator>rflmota</dc:creator>
      <dc:date>2015-07-07T08:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems running demo examples from FRDM-KL05Z on Keil uVision5 MDK-ARM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456195#M27190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ricardo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All looks correct at that location.&lt;/P&gt;&lt;P&gt;Are you sure that it will crash at this point or does it do so later?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/www.utasker.com/kinetis.html" rel="nofollow" target="_blank"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;KL05: &lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/www.utasker.com/kinetis/FRDM-KL05Z.html" rel="nofollow" target="_blank"&gt;µTasker FRDM-KL05Z support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 13:05:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456195#M27190</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-07-07T13:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problems running demo examples from FRDM-KL05Z on Keil uVision5 MDK-ARM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456196#M27191</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/mjbcswitzerland"&gt;mjbcswitzerland&lt;/A&gt;​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are all the steps of execution in sequence, from &lt;EM&gt;Reset&lt;/EM&gt; state until the program halts:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52388i2F0ADD52B65080B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52434iF5EF0573ACB15487/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52466i3AA27FDC1277BA65/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.PNG" alt="3.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52498i988B7DA4DE8C5442/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.PNG" alt="4.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52531i5412B6755E461D8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.PNG" alt="5.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 15:57:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456196#M27191</guid>
      <dc:creator>rflmota</dc:creator>
      <dc:date>2015-07-07T15:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problems running demo examples from FRDM-KL05Z on Keil uVision5 MDK-ARM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456197#M27192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ricardo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your stack pointer is set up incorrectly.&lt;/P&gt;&lt;P&gt;It is at 0x1ffff420 but the KL05 (largest version with k RAM) has RAM between 0x1ffffc00 and 0x20000c00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21773i3D8DC93330FF8256/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;KL05: &lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/www.utasker.com/kinetis/FRDM-KL05Z.html"&gt;µTasker FRDM-KL05Z support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 19:24:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456197#M27192</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-07-07T19:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problems running demo examples from FRDM-KL05Z on Keil uVision5 MDK-ARM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456198#M27193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can i solve it then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since these code examples were downloaded from Freescale's website - &lt;EM&gt;FRDM-KL05Z Sample Code Package&lt;/EM&gt;&amp;nbsp; - weren't they supposed to run out of the box?! :\&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 22:43:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456198#M27193</guid>
      <dc:creator>rflmota</dc:creator>
      <dc:date>2015-07-07T22:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problems running demo examples from FRDM-KL05Z on Keil uVision5 MDK-ARM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456199#M27194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ricardo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just downloaded the package and opened the "LED_Blink" project.&lt;/P&gt;&lt;P&gt;It is set up for the KL25 and not the KL05 - if you change the device to suit it's memory map is then correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;KL05: &lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/www.utasker.com/kinetis/FRDM-KL05Z.html"&gt;µTasker FRDM-KL05Z support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 23:40:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456199#M27194</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-07-07T23:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problems running demo examples from FRDM-KL05Z on Keil uVision5 MDK-ARM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456200#M27195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked perfectly! Thank you very much for your help and attention &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mjbcswitzerland"&gt;mjbcswitzerland&lt;/A&gt;​ ! :smileywink:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jul 2015 18:22:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problems-running-demo-examples-from-FRDM-KL05Z-on-Keil-uVision5/m-p/456200#M27195</guid>
      <dc:creator>rflmota</dc:creator>
      <dc:date>2015-07-11T18:22:28Z</dc:date>
    </item>
  </channel>
</rss>

