<?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: Building an image for Flash; does not stay over power-cycle?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Building-an-image-for-Flash-does-not-stay-over-power-cycle/m-p/261863#M8135</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/sito"&gt;sito&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can find it in my schematic, but did you mean I have to make sure this pin is not grounded?&lt;/P&gt;&lt;P&gt;Is is possible to configure this pin in PE?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Dec 2013 23:29:45 GMT</pubDate>
    <dc:creator>mehdikarimibiuk</dc:creator>
    <dc:date>2013-12-13T23:29:45Z</dc:date>
    <item>
      <title>Building an image for Flash; does not stay over power-cycle?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Building-an-image-for-Flash-does-not-stay-over-power-cycle/m-p/261861#M8133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am building for MCU MK10DN512ZVLL10 in code warrior. I am using a bareboard project and making a simple led flickering. My led is connected to PTA13.&lt;/P&gt;&lt;P&gt;After I configure things, I see that, the flash image "myimage.afx" seems to be volatile and does not stay in my flash since I do a power cycle and see that my led is not blinking anymore!&lt;/P&gt;&lt;P&gt;Any thought why this is happening?&lt;/P&gt;&lt;P&gt;Here is snapshot of my project below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, I do not have any problems with flashing my image to the MCU TWR kit that I have, and it works after power cycling (actually my MCU on tower is K60 not K10, but it should be similar for this question)...not sure for some reason why when I flash to my custom board, it does not work? Do I need to specify something in the bootloader? Where is the boot loader and where should I specify these things so that upon a power-cycle bootloader (if any) would know where my image is in the flash, if it preserves it?!!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mehdi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 22:58:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Building-an-image-for-Flash-does-not-stay-over-power-cycle/m-p/261861#M8133</guid>
      <dc:creator>mehdikarimibiuk</dc:creator>
      <dc:date>2013-12-13T22:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Building an image for Flash; does not stay over power-cycle?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Building-an-image-for-Flash-does-not-stay-over-power-cycle/m-p/261862#M8134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that you're using a custom board. Could you check the level of pin EZP_CS? If EZP_CS is low while reset, the MCU will enter in &lt;SPAN class="SpellE"&gt;eZPort&lt;/SPAN&gt; mode instead of executing code out of flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 23:13:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Building-an-image-for-Flash-does-not-stay-over-power-cycle/m-p/261862#M8134</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-12-13T23:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Building an image for Flash; does not stay over power-cycle?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Building-an-image-for-Flash-does-not-stay-over-power-cycle/m-p/261863#M8135</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/sito"&gt;sito&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can find it in my schematic, but did you mean I have to make sure this pin is not grounded?&lt;/P&gt;&lt;P&gt;Is is possible to configure this pin in PE?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 23:29:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Building-an-image-for-Flash-does-not-stay-over-power-cycle/m-p/261863#M8135</guid>
      <dc:creator>mehdikarimibiuk</dc:creator>
      <dc:date>2013-12-13T23:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Building an image for Flash; does not stay over power-cycle?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Building-an-image-for-Flash-does-not-stay-over-power-cycle/m-p/261864#M8136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN class="SpellE"&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD"&gt;Hello&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Yes, I mean in your hardware. That is a hardware condition to enter in &lt;SPAN class="SpellE"&gt;eZPort&lt;/SPAN&gt; mode. Not PE config.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 23:37:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Building-an-image-for-Flash-does-not-stay-over-power-cycle/m-p/261864#M8136</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-12-13T23:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Building an image for Flash; does not stay over power-cycle?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Building-an-image-for-Flash-does-not-stay-over-power-cycle/m-p/261865#M8137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/sito"&gt;sito&lt;/A&gt;&lt;/P&gt;&lt;P&gt;From schematic of our custom board I see that the port is not connected to anything. should it be driven high at all times, maybe? to avoid the chip enter &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt; &lt;/SPAN&gt;&lt;SPAN class="SpellE" style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;eZPort&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.800000190734863px;"&gt; mode instead of executing code out of flash&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you stated, I also read from the boot sequence that:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;"4. The RESET pin is released, but the system reset of internal logic continues to be held until the Flash Controller finishes initialization. EzPort mode is selected instead of the normal CPU execution if EZP_CS is low when the internal reset is deasserted. EzPort mode can be disabled by programming the FOPT[EZPORT_DIS] field in the&lt;/P&gt;&lt;P&gt;Flash Memory module."&lt;/P&gt;&lt;P&gt;Unitll we have this disucssed between the hardware team....&lt;/P&gt;&lt;P&gt;At least, if I want to confirm that flash has loaded my image, is there any way to figure this out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mehdi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2013 00:33:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Building-an-image-for-Flash-does-not-stay-over-power-cycle/m-p/261865#M8137</guid>
      <dc:creator>mehdikarimibiuk</dc:creator>
      <dc:date>2013-12-14T00:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Building an image for Flash; does not stay over power-cycle?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Building-an-image-for-Flash-does-not-stay-over-power-cycle/m-p/261866#M8138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TWR system has the line EZP_CS_B connected to JTAG connector with a 0 Ohm resistor (DNP) not populated. I have seen some designs where the TWR was copied and the line connected to JTAG connector. JTAG tool tied that line to GND. You could try with a pull-up, but it is not needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check also the Reset signal in your board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check in the debug configuration (flash) that standard download and verify are checked. You can also check the memory in the memory window in the debug session. But if your configuration is Flash and you can run and debug your code, your flash is programmed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2013 00:58:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Building-an-image-for-Flash-does-not-stay-over-power-cycle/m-p/261866#M8138</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-12-14T00:58:54Z</dc:date>
    </item>
  </channel>
</rss>

