<?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: TWR-K60N512 OSJTAG stopped in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-OSJTAG-stopped/m-p/204804#M3124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason flash writing is locked maybe caused by overwriting this protected section of memory:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;define block CFMPROTROM with size = 20 { section .cfmconfig };&lt;/P&gt;&lt;P&gt;define block FLASHX_POOL with alignment = __FLASHX_SECT_SIZE { section .flashx };&lt;/P&gt;&lt;P&gt;define block TEXTSECTION with alignment = 4 { section .text };&lt;/P&gt;&lt;P&gt;keep { section .cfmconfig };&lt;/P&gt;&lt;P&gt;keep { section .flashx };&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the icf file, there was a 20 words of CFMPROTROM reserved for flash protection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For whatever reason, these positions were written over (wrong) and locked the flash. So out board could not be programed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since a RAM based program can still be downloaded and run, we tried to modify the registers and unlock the protection. I'm not exactly 100% sure what we dit but the chip is now recovered.&lt;/P&gt;&lt;P&gt;I want to look into this a bit more to understand what is going on..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Apr 2012 05:43:01 GMT</pubDate>
    <dc:creator>iafg</dc:creator>
    <dc:date>2012-04-14T05:43:01Z</dc:date>
    <item>
      <title>TWR-K60N512 OSJTAG stopped</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-OSJTAG-stopped/m-p/204800#M3120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been happily developing my prototype on the TWR-K60N512 using IAR Embedded Workbench V6.30 for a few weeks now. Suddenly a few days ago workbench started reporting an error when uploading to the board via the OSJTAG. This is a copy of the IAR debug log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thu Feb 09, 2012 21:46:49: Loaded macro file: C:\Program Files\IAR Systems\Embedded Workbench 6.0\arm\config\flashloader\Freescale\FlashK60Xxxx.mac&lt;BR /&gt;Thu Feb 09, 2012 21:46:50: Windows NT detected.&lt;BR /&gt;Thu Feb 09, 2012 21:46:51: P&amp;amp;E Interface detected - Flash Version 28.02&lt;BR /&gt;Thu Feb 09, 2012 21:46:52: Device is KINETIS.&lt;BR /&gt;Thu Feb 09, 2012 21:46:52: Mode is In-Circuit Debug.&lt;BR /&gt;Thu Feb 09, 2012 21:46:52: CPU reset by debugger.&lt;BR /&gt;Thu Feb 09, 2012 21:46:52:&amp;nbsp;&lt;BR /&gt;Thu Feb 09, 2012 21:46:52: Software reset was performed&lt;BR /&gt;Thu Feb 09, 2012 21:46:52: ----- Prepare hardware for Flashloader -----&lt;BR /&gt;Thu Feb 09, 2012 21:46:53: 1536 bytes downloaded and verified (2.53 Kbytes/sec)&lt;BR /&gt;Thu Feb 09, 2012 21:46:53: Loaded debugee: C:\Program Files\IAR Systems\Embedded Workbench 6.0\arm\config\flashloader\Freescale\FlashK60Xxxx.out&lt;BR /&gt;Thu Feb 09, 2012 21:46:53: Target reset&lt;BR /&gt;Thu Feb 09, 2012 21:46:53: The flash loader program reported an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm not sure if I have added to the problem, but I have reloaded the OSJTAG firmware using the P&amp;amp;E utlity and the Windows drivers, but still no joy. My prototype deadline is looming !!! Any ideas.&lt;/P&gt;&lt;P&gt;Allan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 19:50:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-OSJTAG-stopped/m-p/204800#M3120</guid>
      <dc:creator>formlo</dc:creator>
      <dc:date>2012-02-09T19:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60N512 OSJTAG stopped</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-OSJTAG-stopped/m-p/204801#M3121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any luck with this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 04:54:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-OSJTAG-stopped/m-p/204801#M3121</guid>
      <dc:creator>Hab</dc:creator>
      <dc:date>2012-02-14T04:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60N512 OSJTAG stopped</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-OSJTAG-stopped/m-p/204802#M3122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After digging through most of this forum and the K60 reference manual I have discovered that I have screwed up the Ptotection registered and managed to secure most of the chip. There appears to be no way out as I have tried the IAJ-Link unsecure command and the PE Micro utility as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My friends at Avnet have helped me out by rushing a replacement board so that I can continue my development.&amp;nbsp; Thanks Avnet!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 14:56:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-OSJTAG-stopped/m-p/204802#M3122</guid>
      <dc:creator>formlo</dc:creator>
      <dc:date>2012-02-15T14:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60N512 OSJTAG stopped</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-OSJTAG-stopped/m-p/204803#M3123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checked the flash protection area and try to unlock it in a RAM based project. It will work after your trying, it is not anything that will lock the chip forever.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 18:58:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-OSJTAG-stopped/m-p/204803#M3123</guid>
      <dc:creator>Muffinman</dc:creator>
      <dc:date>2012-04-13T18:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60N512 OSJTAG stopped</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-OSJTAG-stopped/m-p/204804#M3124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason flash writing is locked maybe caused by overwriting this protected section of memory:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;define block CFMPROTROM with size = 20 { section .cfmconfig };&lt;/P&gt;&lt;P&gt;define block FLASHX_POOL with alignment = __FLASHX_SECT_SIZE { section .flashx };&lt;/P&gt;&lt;P&gt;define block TEXTSECTION with alignment = 4 { section .text };&lt;/P&gt;&lt;P&gt;keep { section .cfmconfig };&lt;/P&gt;&lt;P&gt;keep { section .flashx };&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the icf file, there was a 20 words of CFMPROTROM reserved for flash protection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For whatever reason, these positions were written over (wrong) and locked the flash. So out board could not be programed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since a RAM based program can still be downloaded and run, we tried to modify the registers and unlock the protection. I'm not exactly 100% sure what we dit but the chip is now recovered.&lt;/P&gt;&lt;P&gt;I want to look into this a bit more to understand what is going on..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Apr 2012 05:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-OSJTAG-stopped/m-p/204804#M3124</guid>
      <dc:creator>iafg</dc:creator>
      <dc:date>2012-04-14T05:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60N512 OSJTAG stopped</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-OSJTAG-stopped/m-p/204805#M3125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &amp;nbsp;, i think i also have the same problem . i locked my flash and now whenever i program it says flash loader reported an error. Could someone please tell , how can we unlock it and make it working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 15:53:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60N512-OSJTAG-stopped/m-p/204805#M3125</guid>
      <dc:creator>mohwaqas12</dc:creator>
      <dc:date>2012-08-02T15:53:04Z</dc:date>
    </item>
  </channel>
</rss>

