<?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>Other NXP ProductsのトピックRe: STMP3760 SigmaTel write to NAND Flash</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188737#M1593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Hello&lt;/FONT&gt; &lt;A href="http://forums.freescale.com/freescale/view_profile?user.id=11060" target="_blank"&gt;&lt;SPAN&gt;&lt;FONT face="Times New Roman" size="3"&gt;Jonathan&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Thank you very much for your help, I made one small step forward.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Here is a sample of the code I am using:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; int32_t iFileHandle;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbs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lt;SPAN&gt;;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;The values for DEBUG_15 is 2 and iFileHandle has the value 0xF0305014 meaning ERROR_OS_FILESYSTEM_INVALID_DIR_PATH.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;This code runs ~300 ms after power-on from a function called at the end of UI_Init(). I do not know if any other initializations have to be made before fopen is called (maybe in order to initialize the NAND module) …&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;The same results were noticed with and without the file in recordings/FM/Test.txt. Fopen was called with “r” and “w+” with same result.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;One more thing related to the initialization sequence: the function IsExternalDriveFsReady returns 0 meaning that “an external media and its drive are not present”.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;I see that in my project the FSDriveInit function is called only in the file updater\src\updater_live.c that I think updates the firmware.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;When I call FSDriveInit(0); the following error number is retuned:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;0xF0208000 meaning ERROR_DDI_LDL_GENERAL.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Does anybody know the reason for this error?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Thank you very much for your help,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Ioan Harna&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2008 14:50:13 GMT</pubDate>
    <dc:creator>ioan_harna</dc:creator>
    <dc:date>2008-10-06T14:50:13Z</dc:date>
    <item>
      <title>STMP3760 SigmaTel write to NAND Flash</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188734#M1590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT size="2"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am working with a SigmaTel STMP3760 and I need to read/write the values to an array to the NAND Flash. I have a NAND Flash Daughtercard (STMP36xx NAND Flash Rev. C).&lt;BR /&gt;I have the SDK Framework - SDK OS Media and the Nand Drivers in \drivers\media\nand. I've read the information in the developersguide_3700_1001_002.pdf about NAND and chapter 14 about GPMI from the datasheet.&lt;BR /&gt;&lt;BR /&gt;I found the files *nand*test.c like nand_media_test.c and nand_stress_test.c that are using the functions from the drivers but when I call the function NANDMediaInit or NandHalInit the system stops.&lt;BR /&gt;&lt;BR /&gt;Can anybody find give me a simple example that initialises the NAND flash communication and makes some read/write operations?&lt;BR /&gt;&lt;BR /&gt;Thank you for your help,&lt;BR /&gt;Ioan Harna&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2008 14:09:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188734#M1590</guid>
      <dc:creator>ioan_harna</dc:creator>
      <dc:date>2008-09-26T14:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: STMP3760 SigmaTel write to NAND Flash</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188735#M1591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;See fsapi.h to use the FS calls fcreate, fopen, fwrite, fread with data drive 0 which is the nand data drive. I assume you are initializing the file system as the SDK5 for STMP37xx does. You can search your code for something like fsinit. The init sequence done by the SDK involves calls such as NandMediaInit, nandMediaDiscover, NandDriveInit,&amp;nbsp; fsDriveInit.&lt;BR /&gt;-JLN, STMP3xxx SDK SW engineer since 2002&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 02:56:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188735#M1591</guid>
      <dc:creator>JonathanL_Nesbi</dc:creator>
      <dc:date>2008-10-03T02:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: STMP3760 SigmaTel write to NAND Flash</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188736#M1592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;And after before using the nand data drive at the fsapi level, a call to ComputeFreeCluster is needed but the SDK does that for you already if you use the SDK framework that includes SDK OS Media or beyond.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2008 02:59:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188736#M1592</guid>
      <dc:creator>JonathanL_Nesbi</dc:creator>
      <dc:date>2008-10-03T02:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: STMP3760 SigmaTel write to NAND Flash</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188737#M1593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Hello&lt;/FONT&gt; &lt;A href="http://forums.freescale.com/freescale/view_profile?user.id=11060" target="_blank"&gt;&lt;SPAN&gt;&lt;FONT face="Times New Roman" size="3"&gt;Jonathan&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Thank you very much for your help, I made one small step forward.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Here is a sample of the code I am using:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; int32_t iFileHandle;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;B&gt;&lt;SPAN&gt;const&lt;/SPAN&gt;&lt;/B&gt; &lt;SPAN&gt;uint8_t uHandle[]&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/B&gt; &lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;"A:/recordings/FM/Test.txt"&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; iFileHandle&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN&gt;Fopen&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;((uint8_t&lt;/SPAN&gt; &lt;B&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;)uHandle,&lt;/SPAN&gt;&lt;SPAN&gt;"w+"&lt;/SPAN&gt;&lt;SPAN&gt;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/&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; &lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; DEBUG_15&lt;/SPAN&gt; &lt;B&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;/B&gt; &lt;SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;The values for DEBUG_15 is 2 and iFileHandle has the value 0xF0305014 meaning ERROR_OS_FILESYSTEM_INVALID_DIR_PATH.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;This code runs ~300 ms after power-on from a function called at the end of UI_Init(). I do not know if any other initializations have to be made before fopen is called (maybe in order to initialize the NAND module) …&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;The same results were noticed with and without the file in recordings/FM/Test.txt. Fopen was called with “r” and “w+” with same result.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;One more thing related to the initialization sequence: the function IsExternalDriveFsReady returns 0 meaning that “an external media and its drive are not present”.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;I see that in my project the FSDriveInit function is called only in the file updater\src\updater_live.c that I think updates the firmware.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;When I call FSDriveInit(0); the following error number is retuned:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;0xF0208000 meaning ERROR_DDI_LDL_GENERAL.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Does anybody know the reason for this error?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Thank you very much for your help,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Ioan Harna&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 14:50:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188737#M1593</guid>
      <dc:creator>ioan_harna</dc:creator>
      <dc:date>2008-10-06T14:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: STMP3760 SigmaTel write to NAND Flash</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188738#M1594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Here are some further steps I made:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;The following functions are called prior to calling&lt;/SPAN&gt;&lt;/B&gt; &lt;SPAN&gt;&lt;FONT color="#000000"&gt;fopen:&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;InitialMediaInit&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;MediaInit&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;( DATA_DRIVE_ID_INTERNAL ) returned&lt;/SPAN&gt; &lt;SPAN&gt;&lt;FONT color="#000000"&gt;SUCCESS in&lt;/FONT&gt; &lt;SPAN&gt;sdk_os_media_init.c&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;MediaDiscoverAllocation&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;( DATA_DRIVE_ID_INTERNAL ) returned&lt;/SPAN&gt; &lt;SPAN&gt;&lt;FONT color="#000000"&gt;SUCCESS&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;MediaFindDriveWithTag&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;(DRIVE_TAG_BOOTMANAGER_S) returned 5 and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;DriveInit(5) returned&lt;/SPAN&gt;&lt;/B&gt; &lt;SPAN&gt;&lt;FONT color="#000000"&gt;SUCCESS&lt;B&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;MediaFindDriveWithTag&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;DRIVE_TAG_BOOTMANAGER2_S&lt;SPAN&gt;) returned 6 and&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;DriveInit(6) returned&lt;/SPAN&gt;&lt;/B&gt; &lt;SPAN&gt;&lt;FONT color="#000000"&gt;SUCCESS &lt;B&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;In the end the function &lt;B&gt;&lt;SPAN&gt;InitialMediaInit returns&lt;/SPAN&gt;&lt;/B&gt; SUCCESS and only afterwards&lt;/FONT&gt;&lt;/SPAN&gt; &lt;B&gt;&lt;SPAN&gt;Fopen is called.&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/B&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;Fopen returns error 0xf0305014 meaning&lt;/SPAN&gt;&lt;/B&gt; &lt;SPAN&gt;&lt;FONT color="#000000"&gt;INVALID_DIR_PATH.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 17:51:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188738#M1594</guid>
      <dc:creator>ioan_harna</dc:creator>
      <dc:date>2008-10-06T17:51:33Z</dc:date>
    </item>
    <item>
      <title>other information about my environmnet</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188739#M1595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;FSInit in&lt;/SPAN&gt;&lt;/B&gt; &lt;SPAN&gt;sdk_os_media_init.c is also called and returns&lt;/SPAN&gt; &lt;SPAN&gt;&lt;FONT color="#000000"&gt;SUCCESS&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;When calling&lt;/SPAN&gt;&lt;/B&gt; &lt;SPAN&gt;NandMediaInit(&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;g_MediaDescriptor&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN&gt;) just before calling&lt;/SPAN&gt; &lt;B&gt;&lt;SPAN&gt;Fopen the return result is also 0xf0305014 meaning&lt;/SPAN&gt;&lt;/B&gt; &lt;SPAN&gt;&lt;FONT color="#000000"&gt;INVALID_DIR_PATH.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;Do I need to define&lt;/SPAN&gt;&lt;/B&gt; &lt;SPAN&gt;&lt;FONT color="#000000"&gt;NAND_IMAGER_UTILITY or this has no impact on my sw?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;SPAN&gt;When calling FSDriveInit&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;(DATA_DRIVE_ID_INTERNAL);&lt;/SPAN&gt; &lt;SPAN&gt;just before calling&lt;/SPAN&gt; &lt;B&gt;&lt;SPAN&gt;Fopen&lt;/SPAN&gt;&lt;/B&gt; &lt;SPAN&gt;&lt;FONT color="#000000"&gt;it returns ERROR_DDI_LDL_LDRIVE_NOT_INITIALIZED.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;How do I initialize the drive? &lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt; Can I find somewhere these functions? (&lt;STRONG&gt;FSDriveInit...&lt;/STRONG&gt; ) in order to understand why they return these error messages?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;thank you in advance for your help,&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;Ioan Harna&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 19:02:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188739#M1595</guid>
      <dc:creator>ioan_harna</dc:creator>
      <dc:date>2008-10-06T19:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: other information about my environmnet</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188740#M1596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You shouldn't have to add a call to &lt;B&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;FsDriveInit since it is already called in specific sdk5 frameworks that include the file system. Which application framework directory are you using? Sdk os media player framework is used by most STMP37xx SDK5 customers.&lt;BR /&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 23:03:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188740#M1596</guid>
      <dc:creator>JonathanL_Nesbi</dc:creator>
      <dc:date>2008-10-06T23:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: other information about my environmnet</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188741#M1597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Refer to the STMP3xxx SDK developer's guide and contact the normal customer support channels for more info on file creation which varies depending on if your application includes our content management interface (CMI) library or not.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 23:06:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188741#M1597</guid>
      <dc:creator>JonathanL_Nesbi</dc:creator>
      <dc:date>2008-10-06T23:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: other information about my environmnet</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188742#M1598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Hello Mr. Nesbitt,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;I am using the framework sdk_os_media_player. I have made a service request on freescale’s technical support centre 10 days ago but I did not get an answer yet.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;In the directory components I have the folder CMI. Cmi_dai_* functions are called in my project. cmi_dai_GetProperty is called in &lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;sdk_os_media_player\player\src\asi\mediaengine_control_api.c and therefore I think that my project uses CMI.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;I will read the chapter 4. Media Management and take a close look at Content Management Interface.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;I think I should use cmi_dai_NewMediaHandle() in order to create a file instead of fopen.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Thank you very much for your help and have a nice evening,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Ioan Harna&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 23:48:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188742#M1598</guid>
      <dc:creator>ioan_harna</dc:creator>
      <dc:date>2008-10-06T23:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: STMP3760 SigmaTel write to NAND Flash</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188743#M1599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Hello everybody,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;The problem was that the storage media initialization was not complete at the time I tried to create the file.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;I was trying to create a file after ~300ms after power-up and at that point the function cmi_cm_StorMediaInitComp(CMI_INTERNAL_MEDIA) returns FALSE meaning that the storage media initialization was not yet complete. After waiting a little bit more one call to Mkdir creates a directory and one call to Fopen opens/creates a file.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="Times New Roman"&gt;Thank you Jonathan for being the only one who tried to help &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Please check your PM.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="3"&gt;&lt;FONT face="Times New Roman"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; If anybody will ever have questions related to this thread one can contact me at&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;A href="mailto:ioan.harna@gmail.com" rel="nofollow" target="_blank"&gt;&lt;FONT face="Times New Roman" size="3"&gt;ioan.harna@gmail.com&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2008 14:53:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188743#M1599</guid>
      <dc:creator>ioan_harna</dc:creator>
      <dc:date>2008-10-08T14:53:01Z</dc:date>
    </item>
    <item>
      <title>Same old problem</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188744#M1600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It appears that the problem is only half solved.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;I am using Fopen from fsapi.h.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;I am always able to create the files I need when this function is &lt;STRONG&gt;called from a widget&lt;/STRONG&gt;; meaning when I press a button and I treat this inside a widget similar with the about widget.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;The problem is that I &lt;STRONG&gt;am not able to&lt;/STRONG&gt; create files from a cyclic task (triggered by a timer).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;I would like to mention that cmi_cm_StorMediaInitComp(CMI_INTERNAL_MEDIA) returns true meaning that the nand media is initialized.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;I also tried to use cmi_dai_NewMediaHandle but this also does not work.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Does anybody know&amp;nbsp;if there is any difference between calling Fopen from a widget and from a timer?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="Times New Roman" size="3"&gt;Ioan Harna&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Oct 2008 16:03:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188744#M1600</guid>
      <dc:creator>ioan_harna</dc:creator>
      <dc:date>2008-10-09T16:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Same old problem</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188745#M1601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="navy" face="Arial" size="2"&gt;&lt;SPAN&gt;Ioan Harna, Here's some helpful info from our SW architect. It depends what kind of timer you use. If you mean either a TX_TIMER callback, or a IRQ handler for a timer, then neither of those can access OS objects (like wait on a semaphore), and hence the whole filesystem stack would fail if trying to use fsapi calls from one of those timer event handlers.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="navy" face="Arial" size="2"&gt;&lt;SPAN&gt;If you need something cyclic, and the UI is up, then you can put it in the widget heartbeat function.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 00:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188745#M1601</guid>
      <dc:creator>JonathanL_Nesbi</dc:creator>
      <dc:date>2008-10-10T00:08:14Z</dc:date>
    </item>
    <item>
      <title>Thank you !!!</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188746#M1602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;Thank you !!!&lt;DIV&gt;Thank you !!!&lt;DIV&gt;Thank you !!!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My last day in the company and the problem got solved&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you !!!&lt;DIV&gt;Thank you !!!&lt;DIV&gt;Thank you !!!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 20:12:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/STMP3760-SigmaTel-write-to-NAND-Flash/m-p/188746#M1602</guid>
      <dc:creator>ioan_harna</dc:creator>
      <dc:date>2008-10-10T20:12:57Z</dc:date>
    </item>
  </channel>
</rss>

