<?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中的主题 KL82 FRDM FPROT/FSEC Brick</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-FRDM-FPROT-FSEC-Brick/m-p/706738#M43367</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the FRDM Board, bootloader is stock, and I was using debugger w/ OpenOCD.&lt;/P&gt;&lt;P&gt;`openocd -c "interface cmsis-dap" -c "transport select jtag" -f "target/klx.cfg"`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked fine, but it always entered ROM after it executed a couple flash cycles and then went back to flash.&lt;/P&gt;&lt;P&gt;RCM_MR was equal to 0x04 pre-ROM (in the few flash cycles prior) and then 0x00 after it went back to flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to skip BCA to see how fast the KL82 would boot, so I made&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FSEC (0x40c) = 0xFE&lt;/P&gt;&lt;P&gt;FPROT (0x40d) = 0x3F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Operation became shaky for a couple of power cycles (seeming to RESET constantly), and then cmsis-dap started failing completely.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I just get a steady yellow blink on the D1 of a seemingly bricked device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice?&lt;BR /&gt;&lt;BR /&gt;Also, are there schematics for the kl82 available?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Sep 2017 17:39:12 GMT</pubDate>
    <dc:creator>apikul</dc:creator>
    <dc:date>2017-09-18T17:39:12Z</dc:date>
    <item>
      <title>KL82 FRDM FPROT/FSEC Brick</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-FRDM-FPROT-FSEC-Brick/m-p/706738#M43367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the FRDM Board, bootloader is stock, and I was using debugger w/ OpenOCD.&lt;/P&gt;&lt;P&gt;`openocd -c "interface cmsis-dap" -c "transport select jtag" -f "target/klx.cfg"`&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked fine, but it always entered ROM after it executed a couple flash cycles and then went back to flash.&lt;/P&gt;&lt;P&gt;RCM_MR was equal to 0x04 pre-ROM (in the few flash cycles prior) and then 0x00 after it went back to flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to skip BCA to see how fast the KL82 would boot, so I made&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FSEC (0x40c) = 0xFE&lt;/P&gt;&lt;P&gt;FPROT (0x40d) = 0x3F&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Operation became shaky for a couple of power cycles (seeming to RESET constantly), and then cmsis-dap started failing completely.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I just get a steady yellow blink on the D1 of a seemingly bricked device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice?&lt;BR /&gt;&lt;BR /&gt;Also, are there schematics for the kl82 available?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 17:39:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-FRDM-FPROT-FSEC-Brick/m-p/706738#M43367</guid>
      <dc:creator>apikul</dc:creator>
      <dc:date>2017-09-18T17:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: KL82 FRDM FPROT/FSEC Brick</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-FRDM-FPROT-FSEC-Brick/m-p/706739#M43368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wanted to add a comment because if I edit, my post will go back for moderation, I think:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't tell if it's my debugger or my target that's wonky.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add that I found:&amp;nbsp;&lt;A href="https://community.nxp.com/thread/444805"&gt;https://community.nxp.com/thread/444805&lt;/A&gt;&amp;nbsp;and that I have similar&amp;nbsp;issues as described here. The bootloader seems stuck in "bootloader" mode and, although I didn't mess up the linker script, I think my program is failing very early (all I changed was the FOPT).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I don't have an external programmer, unfortunately, but I do have extra uCs, so I think I might solder on a blank chip to the FRDM board and see if that works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 20:41:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-FRDM-FPROT-FSEC-Brick/m-p/706739#M43368</guid>
      <dc:creator>apikul</dc:creator>
      <dc:date>2017-09-18T20:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: KL82 FRDM FPROT/FSEC Brick</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-FRDM-FPROT-FSEC-Brick/m-p/706740#M43369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you may need to configure reset in OpenOCD (reset_config srst_only) and use kinetis mdm mass_erase to unlock the device. Please use OpenOCD mailing list for better support (and attach openocd -d3 log).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure about KL82, however a K82 I used (not L) seems to run some ROM code for BCA evaluation even if FOPT BOOTSRC_SEL is 00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 09:08:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-FRDM-FPROT-FSEC-Brick/m-p/706740#M43369</guid>
      <dc:creator>tomasvanek</dc:creator>
      <dc:date>2017-09-21T09:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: KL82 FRDM FPROT/FSEC Brick</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-FRDM-FPROT-FSEC-Brick/m-p/706741#M43370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Tomas-&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thank you so much for the informative reply. I recognize you as being the maintainer for the addition of KL82 to OpenOCD recently- thank you very much for that, it has been a great help in development. Unfortunately, I have trashed the board during my surgical SMD operations ( XD ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I think the problem there might have been quite tricky and unfortunately, I &amp;nbsp;do not have a malfunctioning device (and the new one I ordered I will not be able to sacrifice... yet). I will look into the OpenOCD mailing list as well.- AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 12:46:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-FRDM-FPROT-FSEC-Brick/m-p/706741#M43370</guid>
      <dc:creator>apikul</dc:creator>
      <dc:date>2017-09-21T12:46:53Z</dc:date>
    </item>
  </channel>
</rss>

