<?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>T-SeriesのトピックRe: Codewarrior flash error - Sector Protection Error.</title>
    <link>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1585214#M4567</link>
    <description>&lt;P&gt;If this error happens only on one PC and CodeWarrior correctly works on other PC, try to reinstall CodeWarrior on this PC.&lt;/P&gt;&lt;P&gt;It looks like that CodeWarrior incorrectly installed on this PC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rachel Gomez&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2023 06:13:21 GMT</pubDate>
    <dc:creator>RachelGomez123</dc:creator>
    <dc:date>2023-01-19T06:13:21Z</dc:date>
    <item>
      <title>Codewarrior flash error - Sector Protection Error.</title>
      <link>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1351872#M4242</link>
      <description>&lt;P&gt;&lt;BR /&gt;We have a T1023 based design board which we are trying to program for first time with Hardcoded RCW. When flash programmer actions "Program and verify" are chosen, Erase fails:&lt;BR /&gt;&lt;BR /&gt;"Error: Erase failed. Flash driver reports the following error(s): Sector Protection Error"&lt;BR /&gt;&lt;BR /&gt;The Dump flash appears to go well from logs and the saved file is all 0xFF's (Clean flash).&lt;BR /&gt;&lt;BR /&gt;Few details and background:&lt;BR /&gt;&lt;BR /&gt;1) NOR flash is device&amp;nbsp;S70GL02GT12FHBV20 (Cypress) - 256 MB.&lt;BR /&gt;2) Created a bareboard project in codewarrior and chose template target init script as "T1023RDB_init_sram.tcl" and Memory initialization one as "T1023RDB.mem".&amp;nbsp;These were modified for our design (For 256 MB flash). Attached.&lt;BR /&gt;3) Added a flash device as "&lt;SPAN&gt;S29GL01GP (64Mx16x1)" with base address and offsets as captured in console logs.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Please advice/guide with your expertise. If a support request is required let me know too.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 12:05:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1351872#M4242</guid>
      <dc:creator>Amit-Kumar</dc:creator>
      <dc:date>2021-10-07T12:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior flash error - Sector Protection Error.</title>
      <link>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1353639#M4244</link>
      <description>&lt;P&gt;Please add Unprotect Action for selected sectors.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 17:02:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1353639#M4244</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-10-11T17:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior flash error - Sector Protection Error.</title>
      <link>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1353889#M4245</link>
      <description>&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Yup tried that as well .. Doesn't work.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;fl::target -lc "T1023_Fresh_debug-core00_RAM_T1023_Connect"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;fl::target -b 0x0 0x10000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;fl::target -v on -l off&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;cmdwin::fl::device -d "S29GL01GP" -o "64Mx16x1" -a 0xe0000000 0xe7ffffff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;cmdwin::fl::protect all off&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;-------------------------&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;Downloading Flash Diagnostics Driver ...&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;Reading flash ID ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Unprotecting all sectors...&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Unprotecting ...&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Unprotecting ....&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Unprotecting .....&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Unprotecting ......&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;Unprotect Command Succeeded&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;fl::target -lc "T1023_Fresh_debug-core00_RAM_T1023_Connect"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;fl::target -b 0x0 0x10000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;fl::target -v on -l off&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;cmdwin::fl::device -d "S29GL01GP" -o "64Mx16x1" -a 0xe0000000 0xe7ffffff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;cmdwin::fl::image -f "&lt;/SPAN&gt;&lt;A title="" target="_blank" rel="noopener noreferrer"&gt;C:\\Users\\labuser\\qcvs\\NTK55952\\Generated_Code\\PBL.bin&lt;/A&gt;&lt;SPAN class="uiOutputText"&gt;" -t "Auto Detect" -re off -oe on -o 0xe3a20000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;cmdwin::fl::erase image&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;Beginning Operation ...&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;-------------------------&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Auto-detection is successful.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;File is of type Binary/Raw Format.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Performing target initialization ...&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;Downloading Flash Device Driver ...&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;Reading flash ID ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Erasing Sector 0xE3A20000 to 0xE3A3FFFF&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;Erasing ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Error:&amp;nbsp;Erase failed.&amp;nbsp;&amp;nbsp;Flash driver reports the following error(s):&amp;nbsp;Sector Protection Error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Error: Erase failed. Flash driver reports the following error(s):&amp;nbsp;Sector Protection Error&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Real assistance would be to verify the two codewarrior scripts we modified to suit our design with minor changes, please check them once, they are attached in this request:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;lt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="uiOutputText"&gt;T1023RDB_init_sram.tcl&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="uiOutputText"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;=&amp;gt; Expanded LAW window as (0xE000_0000 – 0x EFFF_FFFF) to accommodate 256 MB flash device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;=&amp;gt; IFC Controller setup for new space.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="uiOutputText"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;T1023RDB.mem&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="uiOutputText"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;=&amp;gt; TLB Entries and reserved range update for flash.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;Meanwhile we are also checking the addresses put on the address bus of the flash device, since there is one more device in between T1023 and Flash device.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 05:19:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1353889#M4245</guid>
      <dc:creator>Amit-Kumar</dc:creator>
      <dc:date>2021-10-12T05:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior flash error - Sector Protection Error.</title>
      <link>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1353927#M4246</link>
      <description>&lt;P&gt;".mem" file is not used during Flash Programmer operation.&lt;/P&gt;&lt;P&gt;In the modified "T1023RDB_init_sram.tcl" ADM_SHFT_MODE=0:&lt;/P&gt;&lt;P&gt;mem [CCSR_ADDR [expr {0x124130 + $NOR_CS * 0x0C}]] = 0x&lt;STRONG&gt;0&lt;/STRONG&gt;000000C&lt;/P&gt;&lt;P&gt;Why?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 06:18:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1353927#M4246</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-10-12T06:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior flash error - Sector Protection Error.</title>
      <link>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1354097#M4247</link>
      <description>&lt;P&gt;&lt;BR /&gt;This is alright, we have a CPLD device between T1023 and Flash.&lt;BR /&gt;&lt;BR /&gt;T1023 =&amp;gt;CPLD=&amp;gt; Flash.&lt;BR /&gt;&lt;BR /&gt;And is according to the expectation of CPLD device.&lt;BR /&gt;&lt;BR /&gt;We also use T1042 based system with &lt;STRONG&gt;same&lt;/STRONG&gt; flash and CPLD device which works perfectly...&lt;BR /&gt;This setting came from there (&lt;SPAN&gt;ADM_SHFT_MODE=0&lt;/SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;We are also verifying if CPLD device is putting correct addresses or not for flash.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 08:56:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1354097#M4247</guid>
      <dc:creator>Amit-Kumar</dc:creator>
      <dc:date>2021-10-12T08:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior flash error - Sector Protection Error.</title>
      <link>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1354361#M4248</link>
      <description>&lt;P&gt;Have you considered that IFC address bus is 32-bit-wide for T1042 and only 28-bit-wide for T1023?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 17:13:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1354361#M4248</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-10-12T17:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior flash error - Sector Protection Error.</title>
      <link>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1354650#M4249</link>
      <description>&lt;P&gt;Going through Reference manuals of T1042 and T1023 i see no differences between IFC block of both.&lt;BR /&gt;&lt;BR /&gt;I hope you are not taking about our design (Which uses 28 bit indeed)?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 05:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1354650#M4249</guid>
      <dc:creator>Amit-Kumar</dc:creator>
      <dc:date>2021-10-13T05:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior flash error - Sector Protection Error.</title>
      <link>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1354837#M4250</link>
      <description>&lt;P&gt;&lt;BR /&gt;Thanks Fedor this is a very good point. I&lt;SPAN class=""&gt;&amp;nbsp;get it now.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;I was running through "Integrated flash" section in Reference manual for T1023.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;lt;Table 23-1. Signal properties&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Which mentioned&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;IFC_AD[0:15]&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AD[0:15]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;IFC_A[16:31]&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ADDR[16:31]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Which led me to believe that its a 32 bit bus. But its not actually.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 09:15:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1354837#M4250</guid>
      <dc:creator>Amit-Kumar</dc:creator>
      <dc:date>2021-10-13T09:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior flash error - Sector Protection Error.</title>
      <link>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1359385#M4259</link>
      <description>&lt;P&gt;Considering switching "&lt;SPAN&gt;ADM_SHFT_MODE" and modification of CPLD logic to handle addresses straight. Thanks for assistance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Oct 2021 09:20:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1359385#M4259</guid>
      <dc:creator>Amit-Kumar</dc:creator>
      <dc:date>2021-10-21T09:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior flash error - Sector Protection Error.</title>
      <link>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1585214#M4567</link>
      <description>&lt;P&gt;If this error happens only on one PC and CodeWarrior correctly works on other PC, try to reinstall CodeWarrior on this PC.&lt;/P&gt;&lt;P&gt;It looks like that CodeWarrior incorrectly installed on this PC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rachel Gomez&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 06:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Codewarrior-flash-error-Sector-Protection-Error/m-p/1585214#M4567</guid>
      <dc:creator>RachelGomez123</dc:creator>
      <dc:date>2023-01-19T06:13:21Z</dc:date>
    </item>
  </channel>
</rss>

