<?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 CodeWarrior NOR flash error - Sector Protection Error. in PowerQUICC Processors</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/CodeWarrior-NOR-flash-error-Sector-Protection-Error/m-p/1520337#M4249</link>
    <description>&lt;P&gt;&lt;SPAN&gt;We are designing a custom T2081 board which we are trying to program with Hardcoded RCW. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When going to flash programmer actions "Program and verify" are chosen it shows Erase fails: "Error: Erase failed. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Flash driver reports the following error(s): Sector Protection Error"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A few details related to the board:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) NOR flash device is "MT28FW02GBBA1HPC-0AAT TR (Micron)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) Created a bare board project in CodeWarrior and chose template target to init script as "T2081_init_sram.tcl"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) Added a flash device as "MT28FW02GBBA1HPC-0AAT TR (64Mx16x1)" with the base address and offsets as attached below screenshot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4)Checked the blank check from 'Add Action' showing error: "Blank check failed" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please find the log file (T2081_NOR_flash_log.txt) and NOR device setting with error screenshot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please advice/guide with your expertise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TASL Bangalore&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2022 06:24:42 GMT</pubDate>
    <dc:creator>taslblr</dc:creator>
    <dc:date>2022-09-12T06:24:42Z</dc:date>
    <item>
      <title>CodeWarrior NOR flash error - Sector Protection Error.</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/CodeWarrior-NOR-flash-error-Sector-Protection-Error/m-p/1520337#M4249</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We are designing a custom T2081 board which we are trying to program with Hardcoded RCW. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When going to flash programmer actions "Program and verify" are chosen it shows Erase fails: "Error: Erase failed. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Flash driver reports the following error(s): Sector Protection Error"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A few details related to the board:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) NOR flash device is "MT28FW02GBBA1HPC-0AAT TR (Micron)"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) Created a bare board project in CodeWarrior and chose template target to init script as "T2081_init_sram.tcl"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) Added a flash device as "MT28FW02GBBA1HPC-0AAT TR (64Mx16x1)" with the base address and offsets as attached below screenshot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4)Checked the blank check from 'Add Action' showing error: "Blank check failed" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please find the log file (T2081_NOR_flash_log.txt) and NOR device setting with error screenshot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please advice/guide with your expertise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TASL Bangalore&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 06:24:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/CodeWarrior-NOR-flash-error-Sector-Protection-Error/m-p/1520337#M4249</guid>
      <dc:creator>taslblr</dc:creator>
      <dc:date>2022-09-12T06:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior NOR flash error - Sector Protection Error.</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/CodeWarrior-NOR-flash-error-Sector-Protection-Error/m-p/1523503#M4256</link>
      <description>&lt;P&gt;In CodeWarrior initialization file, you need to modify the section "IFC Controller Setup" according to your NOR flash.&lt;/P&gt;
&lt;P&gt;You need to calculate IFC controller timing according to the NOR flash datasheet, please refer to document&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Layerscape-Knowledge-Base/IFC-Controller-Configuration-on-QorIQ-Custom-Boards/ta-p/1109156" target="_blank"&gt;https://community.nxp.com/t5/Layerscape-Knowledge-Base/IFC-Controller-Configuration-on-QorIQ-Custom-Boards/ta-p/1109156&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In addition, please add unprotection task and execute it first.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:38:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/CodeWarrior-NOR-flash-error-Sector-Protection-Error/m-p/1523503#M4256</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-09-16T08:38:07Z</dc:date>
    </item>
  </channel>
</rss>

