<?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: Sector Protection Error when program flash on t4240qds in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442395#M2552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This option will restrict actions on that memory zone. You don't have to use this option, just use Erase before programming and eventually the Address Offset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2015 06:02:50 GMT</pubDate>
    <dc:creator>addiyi</dc:creator>
    <dc:date>2015-08-18T06:02:50Z</dc:date>
    <item>
      <title>Sector Protection Error when program flash on t4240qds</title>
      <link>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442390#M2547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I tried to program nor flash on a t4240qds bareboard via &lt;SPAN style="line-height: 1.5;"&gt;CodeWarrior TAP, but got following error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I added an unprotect , an erase&amp;nbsp; and a program action. I'm sure the qds board is good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;fl::target -lc "test_RAM_T4240_Download"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;fl::target -b 0x0 0x180000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;fl::target -v off -l off&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;cmdwin::fl::device -d "S29GL01GP" -o "64Mx16x1" -a 0xe8000000 0xefffffff&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;cmdwin::fl::protect all off&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;------------------------- &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Downloading Flash Diagnostics Driver ...&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Reading flash ID ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Unprotecting all sectors...&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Unprotecting ...&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Unprotecting ....&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Unprotecting .....&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Unprotecting ......&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN style="color: #7ed529;"&gt; Unprotect Command Succeeded&lt;/SPAN&gt;&amp;nbsp; &lt;/STRONG&gt;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;cmdwin::fl::device -d "S29GL01GP" -o "64Mx16x1" -a 0xe8000000 0xefffffff&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;cmdwin::fl::device -sd all&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;cmdwin::fl::device -se 0&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;cmdwin::fl::erase list&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;------------------------- &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Downloading Flash Device Driver ...&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Reading flash ID ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Erasing Sector 0xE8000000 to 0xE801FFFF&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; Erasing ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="color: #e23d39;"&gt;Error:&amp;nbsp; Erase failed.&amp;nbsp;&amp;nbsp; Flash driver reports the following error(s):&amp;nbsp; Sector Protection Error&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG style="color: #e23d39;"&gt;Error: Erase failed. Flash driver reports the following error(s):&amp;nbsp; Sector Protection Error&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; Any help will be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; weiqiang&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 09:00:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442390#M2547</guid>
      <dc:creator>p4080ds</dc:creator>
      <dc:date>2015-08-14T09:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sector Protection Error when program flash on t4240qds</title>
      <link>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442391#M2548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of adding Erase action for sector, you must use Program Action with Erase sectors before program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 05:47:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442391#M2548</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2015-08-17T05:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sector Protection Error when program flash on t4240qds</title>
      <link>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442392#M2549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt;Thank&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt; you &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt;for&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt;your&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt;patience&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt; to &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt;answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I also tried the way which you metioned above, but still show me &lt;SPAN style="color: #e23d39;"&gt;Sector Protection Error&lt;/SPAN&gt;.&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt;This&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt;is&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt;very&lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt;confusing. Is there any other helpful tips I missed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'YaHei UI';"&gt; &lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="sectorerror.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52524iF038FCC4F1ABAB3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="sectorerror.png" alt="sectorerror.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weiqiang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 09:31:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442392#M2549</guid>
      <dc:creator>p4080ds</dc:creator>
      <dc:date>2015-08-17T09:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sector Protection Error when program flash on t4240qds</title>
      <link>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442393#M2550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check 'Restricted Addresses in this Range' option? Also, make sure you use the init when connecting to board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 11:26:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442393#M2550</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2015-08-17T11:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Sector Protection Error when program flash on t4240qds</title>
      <link>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442394#M2551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I checked this option.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="range.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52581i2CFDC9845ABE275A/image-size/large?v=v2&amp;amp;px=999" role="button" title="range.png" alt="range.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 02:18:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442394#M2551</guid>
      <dc:creator>p4080ds</dc:creator>
      <dc:date>2015-08-18T02:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sector Protection Error when program flash on t4240qds</title>
      <link>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442395#M2552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This option will restrict actions on that memory zone. You don't have to use this option, just use Erase before programming and eventually the Address Offset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2015 06:02:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442395#M2552</guid>
      <dc:creator>addiyi</dc:creator>
      <dc:date>2015-08-18T06:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sector Protection Error when program flash on t4240qds</title>
      <link>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442396#M2553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello, do you solved this problem? &amp;nbsp;what reason causes this error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2016 16:04:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442396#M2553</guid>
      <dc:creator>longqiluo</dc:creator>
      <dc:date>2016-11-13T16:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sector Protection Error when program flash on t4240qds</title>
      <link>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442397#M2554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem. How can i solve it? I can erase flash, but i cant write data.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114378i0FBBBF699F0C792E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 04:25:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/Sector-Protection-Error-when-program-flash-on-t4240qds/m-p/442397#M2554</guid>
      <dc:creator>uvmbox</dc:creator>
      <dc:date>2020-07-02T04:25:19Z</dc:date>
    </item>
  </channel>
</rss>

