<?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>Kinetis MicrocontrollersのトピックRe: Reading from Nand Flash in TWRK70F120M</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-from-Nand-Flash-in-TWRK70F120M/m-p/346987#M16898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I implemented my code using the sample code given. PFB the code which I have used to open the Nand Flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OOL CFlashMemory::OpenFlashMemory(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;   &lt;U&gt;int&lt;/U&gt;install_unexpected_isr();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   BOOL bStatus=FALSE;&lt;/P&gt;&lt;P&gt;   char_ptr name="nandflash:";&lt;/P&gt;&lt;P&gt;   mpFlashPtr=NULL;&lt;/P&gt;&lt;P&gt;   mpFlashPtr=fopen(name,NULL);&lt;/P&gt;&lt;P&gt;   if(mpFlashPtr!=NULL)&lt;/P&gt;&lt;P&gt;    {&lt;/P&gt;&lt;P&gt;      //Erasing the chip before writing&lt;/P&gt;&lt;P&gt;      //if(MQX_OK == ioctl(mpFlashPtr, NANDFLASH_IOCTL_ERASE_CHIP,NULL))&lt;/P&gt;&lt;P&gt;       //return;&lt;/P&gt;&lt;P&gt;      bStatus=TRUE;&lt;/P&gt;&lt;P&gt;      m_dwBlockSize=GetBlockSize();&lt;/P&gt;&lt;P&gt;      m_dwVirtPageSize=GetVirtPageSize();&lt;/P&gt;&lt;P&gt;      m_dwNumOfVirtPagesPerBlock=m_dwBlockSize/m_dwVirtPageSize;&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;   return bStatus;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if I am missing out on anything. Also I would like to know if I should call the install driver function before opening the Nand Flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sneha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2014 11:49:33 GMT</pubDate>
    <dc:creator>snehahegde</dc:creator>
    <dc:date>2014-08-11T11:49:33Z</dc:date>
    <item>
      <title>Reading from Nand Flash in TWRK70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-from-Nand-Flash-in-TWRK70F120M/m-p/346985#M16896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a set of below parameters which I am saving into the respective blocks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter1  : Block 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter 2: Block 1 to Block 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter 3: Block 111&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter 4: Block 156 into Block 161&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I am facing here is that only when I save the parameters starting from the 4th to 1st, I am able to read them correctly on start up, else it fails to read the parameters. Please suggest the probable reason and the way this problem could be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sneha Hegde&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 12:32:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-from-Nand-Flash-in-TWRK70F120M/m-p/346985#M16896</guid>
      <dc:creator>snehahegde</dc:creator>
      <dc:date>2014-08-08T12:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from Nand Flash in TWRK70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-from-Nand-Flash-in-TWRK70F120M/m-p/346986#M16897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you refer Freescale provides NFC demo for TWR-K70F120M board? The demo could be found at below link:&lt;/P&gt;&lt;P&gt;KINETIS_120MHZ_SC&amp;nbsp; : Kinetis 120MHz bare metal sample code&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K70F120M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K70F120M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K70F120M&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If it is available, could you post your NFC related code here?&amp;nbsp; I could do a test on my site.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;BR /&gt;best regards &lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 08:24:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-from-Nand-Flash-in-TWRK70F120M/m-p/346986#M16897</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2014-08-11T08:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reading from Nand Flash in TWRK70F120M</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-from-Nand-Flash-in-TWRK70F120M/m-p/346987#M16898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I implemented my code using the sample code given. PFB the code which I have used to open the Nand Flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OOL CFlashMemory::OpenFlashMemory(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;   &lt;U&gt;int&lt;/U&gt;install_unexpected_isr();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   BOOL bStatus=FALSE;&lt;/P&gt;&lt;P&gt;   char_ptr name="nandflash:";&lt;/P&gt;&lt;P&gt;   mpFlashPtr=NULL;&lt;/P&gt;&lt;P&gt;   mpFlashPtr=fopen(name,NULL);&lt;/P&gt;&lt;P&gt;   if(mpFlashPtr!=NULL)&lt;/P&gt;&lt;P&gt;    {&lt;/P&gt;&lt;P&gt;      //Erasing the chip before writing&lt;/P&gt;&lt;P&gt;      //if(MQX_OK == ioctl(mpFlashPtr, NANDFLASH_IOCTL_ERASE_CHIP,NULL))&lt;/P&gt;&lt;P&gt;       //return;&lt;/P&gt;&lt;P&gt;      bStatus=TRUE;&lt;/P&gt;&lt;P&gt;      m_dwBlockSize=GetBlockSize();&lt;/P&gt;&lt;P&gt;      m_dwVirtPageSize=GetVirtPageSize();&lt;/P&gt;&lt;P&gt;      m_dwNumOfVirtPagesPerBlock=m_dwBlockSize/m_dwVirtPageSize;&lt;/P&gt;&lt;P&gt;    }&lt;/P&gt;&lt;P&gt;   return bStatus;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if I am missing out on anything. Also I would like to know if I should call the install driver function before opening the Nand Flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sneha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 11:49:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reading-from-Nand-Flash-in-TWRK70F120M/m-p/346987#M16898</guid>
      <dc:creator>snehahegde</dc:creator>
      <dc:date>2014-08-11T11:49:33Z</dc:date>
    </item>
  </channel>
</rss>

