<?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: Adding a new flash device in codewarrior in PowerQUICC Processors</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1345588#M3885</link>
    <description>&lt;P&gt;Hi Yipingwang,&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;Actually we are not using any clock for IFC. But still i will cross check this parameter once.&lt;/P&gt;&lt;P&gt;Also when i am trying to perform Erase command in NOR flash i am getting "Sector protection error" whereas in NAND flash i am getting "Device protection error".&lt;/P&gt;&lt;P&gt;I have given "0" as WP value in CPSR register, and i have performed unprotect command in NOR flash whereas in NAND flash unprotect command is not supported but still i am getting the above error.&lt;/P&gt;&lt;P&gt;Can you please suggest me what is the issue?&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Irfan&lt;/P&gt;</description>
    <pubDate>Fri, 24 Sep 2021 06:22:31 GMT</pubDate>
    <dc:creator>Irfan3</dc:creator>
    <dc:date>2021-09-24T06:22:31Z</dc:date>
    <item>
      <title>Adding a new flash device in codewarrior</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1339163#M3854</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am currently trying to add a new flash device in codewarrior. Based on the "Adding new device in codewarrior" document i have added the device but when i try to program through that device i am not able to successfully program it.&lt;/P&gt;&lt;P&gt;In codewarrior it is just running in loop as "executing the program..........".&lt;/P&gt;&lt;P&gt;for reference i am sharing the xml file in the form of image which i have created for adding new device.&lt;/P&gt;&lt;P&gt;Please can you suggest me what could be the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Irfan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 13:33:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1339163#M3854</guid>
      <dc:creator>Irfan3</dc:creator>
      <dc:date>2021-09-13T13:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new flash device in codewarrior</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1339557#M3858</link>
      <description>&lt;P&gt;I assume that you are using T series processor.&lt;/P&gt;
&lt;P&gt;In CodeWarrior initialization file, you need to calculate and configure IFC NOR flash timing according the datasheet of your NOR flash.&lt;/P&gt;
&lt;P&gt;Please refer to the following document.&lt;/P&gt;
&lt;P&gt;&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;</description>
      <pubDate>Tue, 14 Sep 2021 06:40:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1339557#M3858</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-09-14T06:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new flash device in codewarrior</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1339559#M3859</link>
      <description>&lt;P&gt;Hi Yipingwang,&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try this and get back to you if i face any issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Irfan&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 06:43:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1339559#M3859</guid>
      <dc:creator>Irfan3</dc:creator>
      <dc:date>2021-09-14T06:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new flash device in codewarrior</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1339618#M3860</link>
      <description>&lt;P&gt;Hi Yipingwang,&lt;/P&gt;&lt;P&gt;Yes we are using QORIQ T-Series (T2081) based board as reference and created a custom board.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Irfan&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 07:33:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1339618#M3860</guid>
      <dc:creator>Irfan3</dc:creator>
      <dc:date>2021-09-14T07:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new flash device in codewarrior</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1339893#M3861</link>
      <description>&lt;P&gt;Hi Yipingwang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you had suggested me i tried to calculate and configure IFC but i have one query here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# NAND Flash, addr 0xFF800000, 1MB size, 8-bit NAND, ECC disable&lt;BR /&gt;# CSPR_EXT&lt;BR /&gt;mem [CCSR_ADDR [expr 0x12400C + $NAND_CS * 0x0C]] = 0x00000000&lt;BR /&gt;# CSPR&lt;BR /&gt;mem [CCSR_ADDR [expr 0x124010 + $NAND_CS * 0x0C]] = 0xFF800083&lt;BR /&gt;# AMASK&lt;BR /&gt;mem [CCSR_ADDR [expr 0x1240A0 + $NAND_CS * 0x0C]] = 0xFFFF0000&lt;BR /&gt;# CSOR&lt;BR /&gt;mem [CCSR_ADDR [expr 0x124130 + $NAND_CS * 0x0C]] = 0x01082100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the above code is from init_sram.tcl file .&lt;/P&gt;&lt;P&gt;can you please help me in understanding what are this values&lt;/P&gt;&lt;P&gt;1. 0x12400C&lt;/P&gt;&lt;P&gt;2. 0x0C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Irfan&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 15:10:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1339893#M3861</guid>
      <dc:creator>Irfan3</dc:creator>
      <dc:date>2021-09-14T15:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new flash device in codewarrior</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1340238#M3863</link>
      <description>&lt;P&gt;Please refer to "IFC memory map" in section "13.3 IFC memory map/register definition" in T2080RM.pdf.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 05:05:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1340238#M3863</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-09-15T05:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new flash device in codewarrior</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1340659#M3864</link>
      <description>&lt;P&gt;Hi Yipingwang,&lt;/P&gt;&lt;P&gt;Thanks for the support.&lt;/P&gt;&lt;P&gt;Actually i tried by modfying the init_sram.tcl file according to the documents you had shared. but i couldnt perform program action in NOR flash.&lt;/P&gt;&lt;P&gt;For reference i am sharing the logs, nor_device.xml file and datasheet of the nor device.&amp;nbsp;&lt;/P&gt;&lt;P&gt;this below data i have modified according to IFC memory map and flash timing calculation&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# NOR Flash, addr 0xE8000000, 128MB size, 16-bit NOR&lt;BR /&gt;# CSPR_EXT&lt;BR /&gt;mem [CCSR_ADDR [expr 0x12400C + $NOR_CS * 0x0C]] = 0x00000000&lt;BR /&gt;# CSPR&lt;BR /&gt;mem [CCSR_ADDR [expr 0x124010 + $NOR_CS * 0x0C]] = 0xE8000101&lt;BR /&gt;# AMASK&lt;BR /&gt;mem [CCSR_ADDR [expr 0x1240A0 + $NOR_CS * 0x0C]] = 0xF0000000&lt;BR /&gt;# CSOR&lt;BR /&gt;mem [CCSR_ADDR [expr 0x124130 + $NOR_CS * 0x0C]] = 0x00000000&lt;/P&gt;&lt;P&gt;# IFC_FTIM0&lt;BR /&gt;mem [CCSR_ADDR [expr 0x1241C0 + $NOR_CS * 0x30]] = 0x10010020&lt;BR /&gt;# IFC_FTIM1&lt;BR /&gt;mem [CCSR_ADDR [expr 0x1241C4 + $NOR_CS * 0x30]] = 0x38001302&lt;BR /&gt;# IFC_FTIM2&lt;BR /&gt;mem [CCSR_ADDR [expr 0x1241C8 + $NOR_CS * 0x30]] = 0x011C381C&lt;BR /&gt;# IFC_FTIM3&lt;BR /&gt;mem [CCSR_ADDR [expr 0x1241CC + $NOR_CS * 0x30]] = 0x00000000&lt;/P&gt;&lt;P&gt;can you please suggest me what could be wrong that it is not performing the operation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Irfan&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 13:55:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1340659#M3864</guid>
      <dc:creator>Irfan3</dc:creator>
      <dc:date>2021-09-15T13:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new flash device in codewarrior</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1345581#M3884</link>
      <description>&lt;P&gt;Please pay attention "Clock Frequency" setting in NorIFCParams sheet in the flash memory timing table, please fill it according to your target board.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 06:10:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1345581#M3884</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-09-24T06:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new flash device in codewarrior</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1345588#M3885</link>
      <description>&lt;P&gt;Hi Yipingwang,&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;Actually we are not using any clock for IFC. But still i will cross check this parameter once.&lt;/P&gt;&lt;P&gt;Also when i am trying to perform Erase command in NOR flash i am getting "Sector protection error" whereas in NAND flash i am getting "Device protection error".&lt;/P&gt;&lt;P&gt;I have given "0" as WP value in CPSR register, and i have performed unprotect command in NOR flash whereas in NAND flash unprotect command is not supported but still i am getting the above error.&lt;/P&gt;&lt;P&gt;Can you please suggest me what is the issue?&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Irfan&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 06:22:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1345588#M3885</guid>
      <dc:creator>Irfan3</dc:creator>
      <dc:date>2021-09-24T06:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new flash device in codewarrior</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1345760#M3886</link>
      <description>&lt;P&gt;Please specify proper clock for IFC modules.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 09:26:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1345760#M3886</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-09-24T09:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new flash device in codewarrior</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1345783#M3887</link>
      <description>&lt;P&gt;Hi Yipingwang,&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;&lt;P&gt;We are not using any Clock from IFC controller. Is it possible without IFC clock can we flash NOR and NAND connected to IFC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;irfan.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 10:00:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1345783#M3887</guid>
      <dc:creator>Irfan3</dc:creator>
      <dc:date>2021-09-24T10:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new flash device in codewarrior</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1346640#M3888</link>
      <description>&lt;P&gt;It's impossible to use CodeWarrior to program NOR/NAND flash&amp;nbsp;&lt;SPAN&gt;without IFC clock.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 08:49:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/Adding-a-new-flash-device-in-codewarrior/m-p/1346640#M3888</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-09-27T08:49:15Z</dc:date>
    </item>
  </channel>
</rss>

