<?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: Having trouble flashing a blank microcontroller in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Having-trouble-flashing-a-blank-microcontroller/m-p/1269493#M60419</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A id="link_10" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/185916" target="_self"&gt;&lt;SPAN class=""&gt;Bouras&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; To a new K64 chip which still didn't download the firmware, the&amp;nbsp;&lt;SPAN&gt;constantly resetting&amp;nbsp;in the reset pin is correct, after you download the code, it will be high.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; Now, at first, I highly recommend you find a JLINK, and use the JLINK to connect your own designed board, use the JLINK command to check whether you can find the ARM core or not?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;An example for you:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1619597752300.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143513i36BC3E649AA79CF2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1619597752300.png" alt="kerryzhou_0-1619597752300.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please check it at first, if you can't find the ARM core, it means your hardware still have issues.&lt;/P&gt;
&lt;P&gt;If you can find the ARM core, then you should can debug the code.&lt;/P&gt;
&lt;P&gt;BTW, your hardware: NMI pin need to be pull up with 4.7K to 10K resistor, reset pin, 4.7K to 10K pull up, and 0.1uf capacitor to ground.&lt;/P&gt;
&lt;P&gt;SWD_DIO pull up 10K.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any updated information, just kindly let me know.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 08:17:09 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2021-04-28T08:17:09Z</dc:date>
    <item>
      <title>Having trouble flashing a blank microcontroller</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Having-trouble-flashing-a-blank-microcontroller/m-p/1268418#M60406</link>
      <description>&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&lt;SPAN&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&lt;SPAN&gt;I have built my first PCB board and I have little to zero experience in flashing a blank board. The microprocessor that I have used is the MK64FN1M0VLL12 using the LQFP-100 pin package. I am programming it using MCUXpresso from NXP.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&lt;SPAN&gt;The issue that I am currently having is that the micro is constantly resetting approx every second or so. Using an oscilloscope I also cannot see any output clock output from pin 1. This makes me believe that the micro is having trouble powering up. I also have an external clock connected to the micro. Not sure if this impacts the clock on startup.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&lt;SPAN&gt;I also have questions about correctly initialising (enabling/disabling) the signals/clocks/hardware on MCUXpresso for the project. Also&amp;nbsp;when I try to flash and debug the card as I go to step through the code I get a tab pop up saying "No source available for "g_pfnVectors() at 0x0". Is this bootloader related if so how do I add a bootloader? The dev board with this processor was set up as a mass storage device so you could drag and drop the bootloader.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&lt;SPAN&gt;Appreciate all feedback! TIA&lt;BR /&gt;&lt;BR /&gt;Edit: Regarding setting up the bootloader, is this the right approach?&amp;nbsp; &lt;A href="https://mcuoneclipse.com/2014/11/10/recovering-the-frdm-k64f-bootloader-or-cloning-the-program-of-a-microcontroller/" target="_blank"&gt;https://mcuoneclipse.com/2014/11/10/recovering-the-frdm-k64f-bootloader-or-cloning-the-program-of-a-microcontroller/&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Apr 2021 01:41:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Having-trouble-flashing-a-blank-microcontroller/m-p/1268418#M60406</guid>
      <dc:creator>Bouras</dc:creator>
      <dc:date>2021-04-27T01:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: Having trouble flashing a blank microcontroller</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Having-trouble-flashing-a-blank-microcontroller/m-p/1269493#M60419</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A id="link_10" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/185916" target="_self"&gt;&lt;SPAN class=""&gt;Bouras&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; To a new K64 chip which still didn't download the firmware, the&amp;nbsp;&lt;SPAN&gt;constantly resetting&amp;nbsp;in the reset pin is correct, after you download the code, it will be high.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; Now, at first, I highly recommend you find a JLINK, and use the JLINK to connect your own designed board, use the JLINK command to check whether you can find the ARM core or not?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;An example for you:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1619597752300.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/143513i36BC3E649AA79CF2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1619597752300.png" alt="kerryzhou_0-1619597752300.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please check it at first, if you can't find the ARM core, it means your hardware still have issues.&lt;/P&gt;
&lt;P&gt;If you can find the ARM core, then you should can debug the code.&lt;/P&gt;
&lt;P&gt;BTW, your hardware: NMI pin need to be pull up with 4.7K to 10K resistor, reset pin, 4.7K to 10K pull up, and 0.1uf capacitor to ground.&lt;/P&gt;
&lt;P&gt;SWD_DIO pull up 10K.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any updated information, just kindly let me know.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 08:17:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Having-trouble-flashing-a-blank-microcontroller/m-p/1269493#M60419</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-04-28T08:17:09Z</dc:date>
    </item>
  </channel>
</rss>

