<?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: KL02 Could not read flash</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-Could-not-read-flash/m-p/389655#M21152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should check some points:&lt;/P&gt;&lt;P&gt;1 Hardware&lt;/P&gt;&lt;P&gt;(1) RESET_b&amp;nbsp; pin need external 4.7K to 10K pullup resistor, and have a 100nF capacitor connect to the ground&lt;/P&gt;&lt;P&gt;(2) NMI_b pin need external 4.7K to 10K pullup resistor&lt;/P&gt;&lt;P&gt;(3) SWD_DIO need 10K external pullup&lt;/P&gt;&lt;P&gt;Please check these points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 unsecure your chip&lt;/P&gt;&lt;P&gt;Use JLink commander, and input: unlock kinetis&lt;/P&gt;&lt;P&gt;Whether it can be unsecured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 Test code&lt;/P&gt;&lt;P&gt;Give me your IAR project, I need to check it whether your code is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2015 03:02:43 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2015-01-07T03:02:43Z</dc:date>
    <item>
      <title>KL02 Could not read flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-Could-not-read-flash/m-p/389654#M21151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using the KL02 in my design, and have produced a prototype board.&amp;nbsp; I'm having issues connecting to the chip, however.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using JLink Commander, I am apparently able to erase the chip, but I cannot successfully do anything else from, e.g., IAR.&amp;nbsp; Occasionally when trying to program the chip, but not always, I get the message that the chip is secured.&amp;nbsp; I select "unsecure," but the process still fails.&amp;nbsp; Here is the error message I've been getting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.7272720336914px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;Failed to prepare for programming.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.7272720336914px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;Could not read target memory.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.7272720336914px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;Please check your flash settings!&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides selecting a device, there does not seem to be any other flash settings to check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone seen this and successfully recovered from it?&lt;/P&gt;&lt;P&gt;Any ideas what I'm missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2015 23:16:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-Could-not-read-flash/m-p/389654#M21151</guid>
      <dc:creator>hughesk</dc:creator>
      <dc:date>2015-01-06T23:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: KL02 Could not read flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-Could-not-read-flash/m-p/389655#M21152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should check some points:&lt;/P&gt;&lt;P&gt;1 Hardware&lt;/P&gt;&lt;P&gt;(1) RESET_b&amp;nbsp; pin need external 4.7K to 10K pullup resistor, and have a 100nF capacitor connect to the ground&lt;/P&gt;&lt;P&gt;(2) NMI_b pin need external 4.7K to 10K pullup resistor&lt;/P&gt;&lt;P&gt;(3) SWD_DIO need 10K external pullup&lt;/P&gt;&lt;P&gt;Please check these points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 unsecure your chip&lt;/P&gt;&lt;P&gt;Use JLink commander, and input: unlock kinetis&lt;/P&gt;&lt;P&gt;Whether it can be unsecured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 Test code&lt;/P&gt;&lt;P&gt;Give me your IAR project, I need to check it whether your code is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 03:02:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-Could-not-read-flash/m-p/389655#M21152</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2015-01-07T03:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: KL02 Could not read flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-Could-not-read-flash/m-p/389656#M21153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. The hardware was not correct, but upon fixing it, the issue persists&lt;/P&gt;&lt;P&gt;2. The device can be unlocked.&amp;nbsp; When starting up from scratch in JLink Commander, I can:&lt;/P&gt;&lt;P&gt;- connect to the device (&lt;EM&gt;device MKL02Z32xxx4&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;- erase device (&lt;EM&gt;erase&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;- read device configuration registers (&lt;EM&gt;rconf&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;- and get hardware status (&lt;EM&gt;st&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;From IAR, however, nothing...still the flash settings issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I will set up a simpler project and try it, then send it if there's still an issue.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 18:42:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-Could-not-read-flash/m-p/389656#M21153</guid>
      <dc:creator>hughesk</dc:creator>
      <dc:date>2015-01-07T18:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: KL02 Could not read flash</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-Could-not-read-flash/m-p/389657#M21154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I re-generated the CPU code from processor expert, and now IAR happily targets and debugs the processor...I didn't expect an incorrect processor selection (same family, different package) to generate a flash settings error, but thank you for your assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 19:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL02-Could-not-read-flash/m-p/389657#M21154</guid>
      <dc:creator>hughesk</dc:creator>
      <dc:date>2015-01-07T19:51:47Z</dc:date>
    </item>
  </channel>
</rss>

