<?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: Secure Device won't boot in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Secure-Device-won-t-boot/m-p/830504#M50211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally figured it out.&amp;nbsp; Bits FBSL of SIM_SOPT2 determine the FlexBus security level.&amp;nbsp; The reset default is 00 which does not allow off-chip accesses (instruction and data) via the FlexBus when the flash security is enabled.&amp;nbsp; I changed this value to 10 and now off-chip data access is allowed.&amp;nbsp; My LCD and some of my LEDs are on the FlexBus, so a lack of data access made it appear that the device wasn't even booting.&amp;nbsp; Now, everything seems to be working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2018 18:16:38 GMT</pubDate>
    <dc:creator>ivekengineer</dc:creator>
    <dc:date>2018-11-13T18:16:38Z</dc:date>
    <item>
      <title>Secure Device won't boot</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Secure-Device-won-t-boot/m-p/830503#M50210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to secure my flash memory (setting the FSEC to 0xFF) using my JTAG debugger. &amp;nbsp; I do seem to be modifying the proper location in flash memory.&amp;nbsp; When I try to re-attach my debugger after programming, it does indicate that the device is secure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is that my firmware does not seem to execute properly after securing the device.&amp;nbsp; It is either not booting up, or is hanging somewhere in the code.&amp;nbsp; Since I cannot attach my JTAG debugger, I can not easily figure out what is going on.&amp;nbsp; I do not see any such problem when the device is unsecure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I understand, securing the flash memory is only supposed to inhibit external access to flash memory from the JTAG debugger - so what else could possibly be going on here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a KV58F1M0VLQ24, a PE Multilink FX, and also trying a PE Cyclone Max.&amp;nbsp; I am also programming the FOPT bit to 0xFB to inhibit NMI interrupts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 16:42:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Secure-Device-won-t-boot/m-p/830503#M50210</guid>
      <dc:creator>ivekengineer</dc:creator>
      <dc:date>2018-11-13T16:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Secure Device won't boot</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Secure-Device-won-t-boot/m-p/830504#M50211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally figured it out.&amp;nbsp; Bits FBSL of SIM_SOPT2 determine the FlexBus security level.&amp;nbsp; The reset default is 00 which does not allow off-chip accesses (instruction and data) via the FlexBus when the flash security is enabled.&amp;nbsp; I changed this value to 10 and now off-chip data access is allowed.&amp;nbsp; My LCD and some of my LEDs are on the FlexBus, so a lack of data access made it appear that the device wasn't even booting.&amp;nbsp; Now, everything seems to be working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 18:16:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Secure-Device-won-t-boot/m-p/830504#M50211</guid>
      <dc:creator>ivekengineer</dc:creator>
      <dc:date>2018-11-13T18:16:38Z</dc:date>
    </item>
  </channel>
</rss>

