<?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 MicrocontrollersのトピックRe: Problem when programmig flash in MK64FN1M0VLQ12</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-when-programmig-flash-in-MK64FN1M0VLQ12/m-p/977777#M55409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diogo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using a development board or is your custom board? Or do yuo have a FRDM where you could test this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2019 01:24:17 GMT</pubDate>
    <dc:creator>Alexis_A</dc:creator>
    <dc:date>2019-11-07T01:24:17Z</dc:date>
    <item>
      <title>Problem when programmig flash in MK64FN1M0VLQ12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-when-programmig-flash-in-MK64FN1M0VLQ12/m-p/977774#M55406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;when I try to program flash in&amp;nbsp;MK64FN1M0VLQ12 chip using a&amp;nbsp; PEMICRO probe on MCUXPRESSO IDE as the figure: &amp;nbsp;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper" image-alt="2019-10-28.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/93795i65402BC81DECDD9A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-10-28.png" alt="2019-10-28.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a message and my chip get blocked and I am not able to program it anymore. I noticed this happen just when I use a code that uses SDHC module. Is that something related to MPU protection?&lt;/P&gt;&lt;P&gt;There is a line of code which I think disables MPU and prevents this happening: SYSMPU_Enable(SYSMPU, false);&lt;/P&gt;&lt;P&gt;Does anyone know if is that right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2019 11:56:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-when-programmig-flash-in-MK64FN1M0VLQ12/m-p/977774#M55406</guid>
      <dc:creator>dbuenom</dc:creator>
      <dc:date>2019-10-29T11:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when programmig flash in MK64FN1M0VLQ12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-when-programmig-flash-in-MK64FN1M0VLQ12/m-p/977775#M55407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diogo,&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;I was trying to reproduce this but I'm still unable to do it, can you let me know which example are you using?&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Also, as you mention this function (&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;SYSMPU_Enable(SYSMPU, false);)&lt;/SPAN&gt; disable the memory protection unit so&amp;nbsp; I think this is not the reason for it. One thing I could recommend is to check if you change the flash configuration, this can be find in the startup code in the following section:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;__attribute__ &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;used&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;section&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;".FlashConfig"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;const&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;struct&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;unsigned&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt; word1&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;unsigned&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt; word2&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;unsigned&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt; word3&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;unsigned&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt; word4&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt; Flash_Config &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0xFFFFFFFF&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0xFFFFFFFF&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0xFFFFFFFF&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0xFFFFFFFE&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2019 22:13:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-when-programmig-flash-in-MK64FN1M0VLQ12/m-p/977775#M55407</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-10-30T22:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when programmig flash in MK64FN1M0VLQ12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-when-programmig-flash-in-MK64FN1M0VLQ12/m-p/977776#M55408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, Alexis!&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;The flash configuration is ok, as you can see:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="WhatsApp Image 2019-10-31 at 08.46.57.jpeg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91249i8C222F08DB780085/image-size/large?v=v2&amp;amp;px=999" role="button" title="WhatsApp Image 2019-10-31 at 08.46.57.jpeg" alt="WhatsApp Image 2019-10-31 at 08.46.57.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;I built my own code , which is recording some data from a IMU sensor in a sdcard. To record data in the sdcard I based my code in the fatfs_examples - fatfs_sdcard for frdmK64f.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Diogo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2019 11:53:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-when-programmig-flash-in-MK64FN1M0VLQ12/m-p/977776#M55408</guid>
      <dc:creator>dbuenom</dc:creator>
      <dc:date>2019-10-31T11:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when programmig flash in MK64FN1M0VLQ12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-when-programmig-flash-in-MK64FN1M0VLQ12/m-p/977777#M55409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diogo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using a development board or is your custom board? Or do yuo have a FRDM where you could test this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 01:24:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-when-programmig-flash-in-MK64FN1M0VLQ12/m-p/977777#M55409</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-11-07T01:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when programmig flash in MK64FN1M0VLQ12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-when-programmig-flash-in-MK64FN1M0VLQ12/m-p/977778#M55410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexis,&lt;/P&gt;&lt;P&gt;this problem happened in my own custom board, but I have a FRDM- K64 development board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diogo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 11:53:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-when-programmig-flash-in-MK64FN1M0VLQ12/m-p/977778#M55410</guid>
      <dc:creator>dbuenom</dc:creator>
      <dc:date>2019-11-07T11:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when programmig flash in MK64FN1M0VLQ12</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-when-programmig-flash-in-MK64FN1M0VLQ12/m-p/977779#M55411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Diogo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FRDM using other debugger firmwares like the&amp;nbsp;DAPLink or the J-link this also happens?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alexis Andalon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Nov 2019 01:04:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Problem-when-programmig-flash-in-MK64FN1M0VLQ12/m-p/977779#M55411</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2019-11-08T01:04:17Z</dc:date>
    </item>
  </channel>
</rss>

