none
Use of Multiple partition in multiple flash regions RRS feed

  • Question

  • I have a Windows Embedded Compact 2013 device with NAND flash. I want to have multiple Flash file systems in different flash regions. How can I configure multiple files systems in different flash regions? How should the regions look like so that they can be mounted automatically. It works fine for one file system, but I am not able to mount a second file system in a different region automatically.

    Regards

    Norbert

    Tuesday, November 11, 2014 12:37 PM

Answers

All replies

  • I have changed my configuration. now I have two instances of my NAND driver and try to mount them, but the second Partition always failed to format with error 87 (invalid Parameter). Here is my Registry configuration:

    [HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
            "DriverPath"="Drivers\\BuiltIn\\NAND"
            "Order"=dword:0
            "BootPhase"=dword:0

    [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
       "PartitionDriver"="flashpart.dll"
      "MountAsBootable"=dword:1
      "AutoPart"=dword:1  
       "EnableCache"=dword:0
       "DriverPath"="Drivers\\BuiltIn\\NAND"
       "Name"="NAND"
       "AutoFormat"=dword:1
       "Flags"=dword:1000
       "LoadFlags"=dword:1
       "BootPhase"=dword:0          ; Make NAND available in BootPhase1, to load the persisted registry
       "DefaultFileSystem"="FATFS"  
       "FormatTFAT"=dword:1
       "CheckForFormat"=dword:1     ; Ask the OAL if we should format on boot (i.e. cold reset)
      "Dll"="exfat.dll"

    [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\PART00]
       "Folder"="Flash"
     "AutoMount"=dword:1
     "AutoFormat"=dword:1

    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NAND]
     "Flags"=dword:1000
        "Profile"="MSFlash"
        "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
        "Order"=dword:0
        "FriendlyName"="TI NAND FLASH Driver"
        "Dll"="flashmdd.dll"
        "FlashPddDll"="BSP_nand.dll"
        "Prefix"="DSK"
        "MemBase"=multi_sz:"50000000","08000000"
        "MemLen"=multi_sz:"00001000","00001000"
        "Prefetch"=dword:1
       "Index"=dword:1

    [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NAND2]
        "Profile"="HDProfile"
        "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
        "Order"=dword:1
        "FriendlyName"="TI NAND FLASH Driver2"
        "Dll"="flashmdd.dll"
        "FlashPddDll"="BSP_nand.dll"
        "Prefix"="DSK"
        "MemBase"=multi_sz:"50000000","08000000"
        "MemLen"=multi_sz:"00001000","00001000"
        "Prefetch"=dword:1
       "Index"=dword:2

    [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
       "MountAsBootable"=dword:0
       "AutoPart"=dword:1  
       "AutoFormat"=dword:1
        "EnableCache"=dword:0
        "DriverPath"="Drivers\\BuiltIn\\NAND2"
        "Name"="NAND2"
        "PartitionDriver"="flashpart.dll"
        "DefaultFileSystem"="FATFS"
       "FormatExfat"=dword:0
        "FormatTFAT"=dword:0
       "Dll"="exfat.dll"
       "CheckForFormat"=dword:1 
       "FullFormat"=dword:1
       "SecureWipe"=dword:1

    [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\PART00]
       "Folder"="SysLog"
      "AutoMount"=dword:1
      "AutoFormat"=dword:1

    Any Idea?

    Wednesday, November 26, 2014 8:16 AM
  • I have solved this manually in the flshpddfmdwrapper!
    Monday, January 5, 2015 12:05 PM