<?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 what is the meaning difference between security byte define ? in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/what-is-the-meaning-difference-between-security-byte-define/m-p/714659#M7620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the difference between if security protect byte FSEC set to 0xFF &amp;amp; 0xFD ?&lt;BR /&gt;//FSEC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EQU&amp;nbsp; &amp;nbsp; &amp;nbsp;0xFE&lt;SPAN&gt; &lt;/SPAN&gt;; no security in flash&lt;/P&gt;&lt;P&gt;//FSEC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EQU&amp;nbsp; &amp;nbsp; &amp;nbsp;0xFF ; security protect&lt;BR /&gt;FSEC EQU 0xFD ; security protect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I set FSEC to 0xFD , my program execution have something difference with 0xFE(No security)when FSEC setting to 0xFD, the program can't execute correct ? I am very confusing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define&amp;nbsp;&lt;SPAN&gt;FLASH_TEMPERATURE_DELTA_ADDR 0x7C00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FlashAddr=(uint8_t *) FLASH_TEMPERATURE_DELTA_ADDR;&lt;BR /&gt; FlashHeader=*FlashAddr;&lt;BR /&gt; #if defined (DEBUG_SYATEM_STARTUP)&lt;BR /&gt; PRINTF("\r\n FlashHeader = %x , FlashAddr = %x\r\n",FlashHeader,FlashAddr);&lt;BR /&gt; #endif&lt;BR /&gt; if(FlashHeader!=FLUSHBUFFER_HEADER)&lt;BR /&gt; {&lt;BR /&gt; GPIO_DRV_ClearPinOutput(kGpioRedLED);&lt;BR /&gt; OSA_TimeDelay(2500);&lt;BR /&gt; GPIO_DRV_SetPinOutput(kGpioRedLED);&lt;BR /&gt; } else {&lt;BR /&gt; LED_toggle_red_led(1);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above program can't be executed correctly, I only read&amp;nbsp; 0x7c00 data &amp;amp; light LED , it is very simple.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Sep 2017 22:44:07 GMT</pubDate>
    <dc:creator>tigerlo</dc:creator>
    <dc:date>2017-09-26T22:44:07Z</dc:date>
    <item>
      <title>what is the meaning difference between security byte define ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/what-is-the-meaning-difference-between-security-byte-define/m-p/714659#M7620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the difference between if security protect byte FSEC set to 0xFF &amp;amp; 0xFD ?&lt;BR /&gt;//FSEC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EQU&amp;nbsp; &amp;nbsp; &amp;nbsp;0xFE&lt;SPAN&gt; &lt;/SPAN&gt;; no security in flash&lt;/P&gt;&lt;P&gt;//FSEC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EQU&amp;nbsp; &amp;nbsp; &amp;nbsp;0xFF ; security protect&lt;BR /&gt;FSEC EQU 0xFD ; security protect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I set FSEC to 0xFD , my program execution have something difference with 0xFE(No security)when FSEC setting to 0xFD, the program can't execute correct ? I am very confusing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define&amp;nbsp;&lt;SPAN&gt;FLASH_TEMPERATURE_DELTA_ADDR 0x7C00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FlashAddr=(uint8_t *) FLASH_TEMPERATURE_DELTA_ADDR;&lt;BR /&gt; FlashHeader=*FlashAddr;&lt;BR /&gt; #if defined (DEBUG_SYATEM_STARTUP)&lt;BR /&gt; PRINTF("\r\n FlashHeader = %x , FlashAddr = %x\r\n",FlashHeader,FlashAddr);&lt;BR /&gt; #endif&lt;BR /&gt; if(FlashHeader!=FLUSHBUFFER_HEADER)&lt;BR /&gt; {&lt;BR /&gt; GPIO_DRV_ClearPinOutput(kGpioRedLED);&lt;BR /&gt; OSA_TimeDelay(2500);&lt;BR /&gt; GPIO_DRV_SetPinOutput(kGpioRedLED);&lt;BR /&gt; } else {&lt;BR /&gt; LED_toggle_red_led(1);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above program can't be executed correctly, I only read&amp;nbsp; 0x7c00 data &amp;amp; light LED , it is very simple.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 22:44:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/what-is-the-meaning-difference-between-security-byte-define/m-p/714659#M7620</guid>
      <dc:creator>tigerlo</dc:creator>
      <dc:date>2017-09-26T22:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: what is the meaning difference between security byte define ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/what-is-the-meaning-difference-between-security-byte-define/m-p/714660#M7621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tiger Lo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0xFF and 0xFD in FSEC field represent the same MCU secured state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6448iCCF483889BD310C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information could help you.&lt;BR /&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 01:20:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/what-is-the-meaning-difference-between-security-byte-define/m-p/714660#M7621</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2017-09-29T01:20:32Z</dc:date>
    </item>
  </channel>
</rss>

